Mercurial > emacs
comparison configure.in @ 44433:e40ab7c8d219
Add --with-sound.
author | Pavel Janík <Pavel@Janik.cz> |
---|---|
date | Mon, 08 Apr 2002 06:16:19 +0000 |
parents | d1a70dae12aa |
children | 5eb5e6c99de4 |
comparison
equal
deleted
inserted
replaced
44432:da9e7a123138 | 44433:e40ab7c8d219 |
---|---|
61 fi | 61 fi |
62 AC_DEFINE(KERBEROS5)]) | 62 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. |
69 AC_ARG_WITH(x-toolkit, | 73 AC_ARG_WITH(x-toolkit, |
70 [ --with-x-toolkit=KIT use an X toolkit (KIT = yes/lucid/athena/motif/no)], | 74 [ --with-x-toolkit=KIT use an X toolkit (KIT = yes/lucid/athena/motif/no)], |
1346 fi | 1350 fi |
1347 | 1351 |
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 \ |
1359 linux/version.h sys/systeminfo.h termios.h limits.h string.h stdlib.h \ | 1365 linux/version.h sys/systeminfo.h termios.h limits.h string.h stdlib.h \ |
1360 termcap.h stdio_ext.h fcntl.h term.h strings.h coff.h) | 1366 termcap.h stdio_ext.h fcntl.h term.h strings.h coff.h) |