tSound libraries are now detected on Unix (esound) and Windows systems, and lin… | |
git clone git://src.adamsgaard.dk/vaccinewars | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 784aab29a0315f6177affbbe064b5fac22d8444a | |
parent 0dcb075f391d090216e4cefc52de43843359db50 | |
Author: Ben Webb <[email protected]> | |
Date: Sat, 4 May 2002 17:36:21 +0000 | |
Sound libraries are now detected on Unix (esound) and Windows systems, | |
and linked to by the Makefiles. | |
Diffstat: | |
M configure.in | 16 ++++++++++++++++ | |
1 file changed, 16 insertions(+), 0 deletions(-) | |
--- | |
diff --git a/configure.in b/configure.in | |
t@@ -77,6 +77,10 @@ if test "$CYGWIN" = "yes" ; then | |
WNDRES="dopewars.res" | |
AC_SUBST(WNDRES) | |
+ dnl Add support for the Windows multimedia system | |
+ SOUND_LIBS="$SOUND_LIBS -lwinmm" | |
+ AC_DEFINE(HAVE_WINMM, 1, [Do we have the Windows multimedia system?]) | |
+ | |
dnl The gtkport implementation works just fine | |
dnl for gtk_entry_set_visibility() | |
HAVE_FIXED_GTK="yes" | |
t@@ -159,6 +163,15 @@ else | |
fi | |
fi | |
+ dnl Add esound support if available | |
+ ESD=no | |
+ AM_PATH_ESD(0.0.20, ESD=yes) | |
+ if test "$ESD" = "yes"; then | |
+ SOUND_CFLAGS="$SOUND_CFLAGS $ESD_CFLAGS" | |
+ SOUND_LIBS="$SOUND_LIBS $ESD_LIBS" | |
+ AC_DEFINE(HAVE_ESD, 1, [Do we have the ESD sound library?]) | |
+ fi | |
+ | |
dnl Use console server by default | |
if test "$GUI_SERVER" = "probe"; then | |
GUI_SERVER="no" | |
t@@ -295,6 +308,9 @@ if test "$CURSES_CLIENT" = "yes" ; then | |
AC_SUBST(CURSESPORTLIB) | |
fi | |
+AC_SUBST(SOUND_CFLAGS) | |
+AC_SUBST(SOUND_LIBS) | |
+ | |
AC_OUTPUT([ | |
Makefile | |
src/Makefile |