Search
lxdream.org :: lxdream/configure.in :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename configure.in
changeset 489:45c8ddcf52cb
prev487:b34abd796f5e
next503:36a668469e37
author nkeynes
date Sun Nov 04 05:07:49 2007 +0000 (12 years ago)
permissions -rw-r--r--
last change Test for presence of linux/cdrom.h at configure time, and only build the
linux driver if it's found successfully
file annotate diff log raw
1.1 --- a/configure.in Sat Nov 03 12:01:35 2007 +0000
1.2 +++ b/configure.in Sun Nov 04 05:07:49 2007 +0000
1.3 @@ -24,6 +24,11 @@
1.4 echo "The OpenGL library (libGL.so) could not be found, but is required."
1.5 exit 1])
1.6
1.7 +dnl Check for cdrom device support
1.8 +AC_CHECK_HEADER([linux/cdrom.h], [HAVE_LINUX_CDROM_H=yes], [
1.9 + echo "Linux CDROM support not found, building without it."] )
1.10 +AM_CONDITIONAL(CDROM_LINUX, [test "$HAVE_LINUX_CDROM_H" = "yes"])
1.11 +
1.12 GETTEXT_PACKAGE=dream
1.13 AC_SUBST(GETTEXT_PACKAGE)
1.14 AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE")
.