aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Janík2002-04-08 06:16:33 +0000
committerPavel Janík2002-04-08 06:16:33 +0000
commit3d9830e59fb5067e4cd79272192b5c324db0b74e (patch)
tree0d03f3b22f33a3bb5c20962fc52e29fcf6ccb2be
parent553fd1032a4a9a2755da8484870657e910532fdf (diff)
downloademacs-3d9830e59fb5067e4cd79272192b5c324db0b74e.tar.gz
emacs-3d9830e59fb5067e4cd79272192b5c324db0b74e.zip
Add --with-sound.
-rw-r--r--ChangeLog4
-rw-r--r--configure.in16
2 files changed, 15 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index 91eae74d668..751db7b3121 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
12002-04-08 Pavel Jan,Bm(Bk <Pavel@Janik.cz>
2
3 * configure.in: Add --with-sound.
4
12002-03-18 Kim F. Storm <storm@cua.dk> 52002-03-18 Kim F. Storm <storm@cua.dk>
2 6
3 * configure.in: Test for sendto, recvfrom, getsockopt, setsockopt, 7 * configure.in: Test for sendto, recvfrom, getsockopt, setsockopt,
diff --git a/configure.in b/configure.in
index 9ab76e187bf..28c419d7141 100644
--- a/configure.in
+++ b/configure.in
@@ -63,6 +63,10 @@ AC_DEFINE(KERBEROS5)])
63AC_ARG_WITH(hesiod, 63AC_ARG_WITH(hesiod,
64[ --with-hesiod support Hesiod to get the POP server host], 64[ --with-hesiod support Hesiod to get the POP server host],
65[AC_DEFINE(HESIOD)]) 65[AC_DEFINE(HESIOD)])
66
67AC_ARG_WITH(sound,
68[ --without-sound don't compile with sound support])
69
66dnl This should be the last --with option, because --with-x is 70dnl This should be the last --with option, because --with-x is
67dnl added later on when we find the path of X, and it's best to 71dnl added later on when we find the path of X, and it's best to
68dnl keep them together visually. 72dnl keep them together visually.
@@ -1348,11 +1352,13 @@ fi
1348dnl Do this early because it can frob feature test macros for Unix-98 &c. 1352dnl Do this early because it can frob feature test macros for Unix-98 &c.
1349AC_SYS_LARGEFILE 1353AC_SYS_LARGEFILE
1350 1354
1351# Sound support for GNU/Linux and the free BSDs. 1355if test "${with_sound}" != "no"; then
1352AC_CHECK_HEADERS(machine/soundcard.h sys/soundcard.h soundcard.h) 1356 # Sound support for GNU/Linux and the free BSDs.
1353# Emulation library used on NetBSD. 1357 AC_CHECK_HEADERS(machine/soundcard.h sys/soundcard.h soundcard.h)
1354AC_CHECK_LIB(ossaudio, _oss_ioctl, LIBSOUND=-lossaudio, LIBSOUND=) 1358 # Emulation library used on NetBSD.
1355AC_SUBST(LIBSOUND) 1359 AC_CHECK_LIB(ossaudio, _oss_ioctl, LIBSOUND=-lossaudio, LIBSOUND=)
1360 AC_SUBST(LIBSOUND)
1361fi
1356 1362
1357dnl checks for header files 1363dnl checks for header files
1358AC_CHECK_HEADERS(sys/select.h sys/timeb.h sys/time.h unistd.h utime.h \ 1364AC_CHECK_HEADERS(sys/select.h sys/timeb.h sys/time.h unistd.h utime.h \