Search
lxdream.org :: lxdream/configure.in :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename configure.in
changeset 529:06ffbecc7262
prev528:49cb007348aa
next537:d924be49e192
author nkeynes
date Mon Nov 19 08:45:00 2007 +0000 (12 years ago)
permissions -rw-r--r--
last change Make esound optional (only build driver if present)
file annotate diff log raw
1.1 --- a/configure.in Sun Nov 18 11:13:42 2007 +0000
1.2 +++ b/configure.in Mon Nov 19 08:45:00 2007 +0000
1.3 @@ -14,8 +14,13 @@
1.4
1.5 PKG_CHECK_MODULES(PACKAGE,
1.6 [ gtk+-2.0 dnl
1.7 - esound dnl
1.8 libpng ])
1.9 +PKG_CHECK_MODULES(ESOUND, [esound], [
1.10 + HAVE_ESOUND='yes'
1.11 + AC_DEFINE([HAVE_ESOUND],1,[Have esound support]) ],
1.12 + [ echo "Warning: esound not found - building without audio support" ])
1.13 +AM_CONDITIONAL( AUDIO_ESOUND, [test "$HAVE_ESOUND" = 'yes'] )
1.14 +
1.15 AC_CHECK_LIB(z, uncompress, [], [
1.16 echo "Zlib (libz.so) could not be found, but is required."
1.17 exit 1])
1.18 @@ -69,7 +74,7 @@
1.19
1.20 GETTEXT_PACKAGE=lxdream
1.21 AC_SUBST(GETTEXT_PACKAGE)
1.22 -AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE")
1.23 +AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE",[translation domain])
1.24 AC_SUBST(PACKAGE_CFLAGS)
1.25 AC_SUBST(PACKAGE_LIBS)
1.26
.