diff options
| author | Pavel Janík | 2002-04-08 06:16:33 +0000 |
|---|---|---|
| committer | Pavel Janík | 2002-04-08 06:16:33 +0000 |
| commit | 3d9830e59fb5067e4cd79272192b5c324db0b74e (patch) | |
| tree | 0d03f3b22f33a3bb5c20962fc52e29fcf6ccb2be | |
| parent | 553fd1032a4a9a2755da8484870657e910532fdf (diff) | |
| download | emacs-3d9830e59fb5067e4cd79272192b5c324db0b74e.tar.gz emacs-3d9830e59fb5067e4cd79272192b5c324db0b74e.zip | |
Add --with-sound.
| -rw-r--r-- | ChangeLog | 4 | ||||
| -rw-r--r-- | configure.in | 16 |
2 files changed, 15 insertions, 5 deletions
| @@ -1,3 +1,7 @@ | |||
| 1 | 2002-04-08 Pavel Jan,Bm(Bk <Pavel@Janik.cz> | ||
| 2 | |||
| 3 | * configure.in: Add --with-sound. | ||
| 4 | |||
| 1 | 2002-03-18 Kim F. Storm <storm@cua.dk> | 5 | 2002-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)]) | |||
| 63 | AC_ARG_WITH(hesiod, | 63 | AC_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 | |||
| 67 | AC_ARG_WITH(sound, | ||
| 68 | [ --without-sound don't compile with sound support]) | ||
| 69 | |||
| 66 | dnl This should be the last --with option, because --with-x is | 70 | dnl This should be the last --with option, because --with-x is |
| 67 | dnl added later on when we find the path of X, and it's best to | 71 | dnl added later on when we find the path of X, and it's best to |
| 68 | dnl keep them together visually. | 72 | dnl keep them together visually. |
| @@ -1348,11 +1352,13 @@ fi | |||
| 1348 | dnl Do this early because it can frob feature test macros for Unix-98 &c. | 1352 | dnl Do this early because it can frob feature test macros for Unix-98 &c. |
| 1349 | AC_SYS_LARGEFILE | 1353 | AC_SYS_LARGEFILE |
| 1350 | 1354 | ||
| 1351 | # Sound support for GNU/Linux and the free BSDs. | 1355 | if test "${with_sound}" != "no"; then |
| 1352 | AC_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) |
| 1354 | AC_CHECK_LIB(ossaudio, _oss_ioctl, LIBSOUND=-lossaudio, LIBSOUND=) | 1358 | # Emulation library used on NetBSD. |
| 1355 | AC_SUBST(LIBSOUND) | 1359 | AC_CHECK_LIB(ossaudio, _oss_ioctl, LIBSOUND=-lossaudio, LIBSOUND=) |
| 1360 | AC_SUBST(LIBSOUND) | ||
| 1361 | fi | ||
| 1356 | 1362 | ||
| 1357 | dnl checks for header files | 1363 | dnl checks for header files |
| 1358 | AC_CHECK_HEADERS(sys/select.h sys/timeb.h sys/time.h unistd.h utime.h \ | 1364 | AC_CHECK_HEADERS(sys/select.h sys/timeb.h sys/time.h unistd.h utime.h \ |