63 |
AC_ARG_WITH(hesiod, |
AC_ARG_WITH(hesiod, |
64 |
[ --with-hesiod support Hesiod to get the POP server host], |
[ --with-hesiod support Hesiod to get the POP server host], |
65 |
[AC_DEFINE(HESIOD)]) |
[AC_DEFINE(HESIOD)]) |
66 |
|
|
67 |
|
AC_ARG_WITH(sound, |
68 |
|
[ --without-sound don't compile with sound support]) |
69 |
|
|
70 |
dnl This should be the last --with option, because --with-x is |
dnl This should be the last --with option, because --with-x is |
71 |
dnl added later on when we find the path of X, and it's best to |
dnl added later on when we find the path of X, and it's best to |
72 |
dnl keep them together visually. |
dnl keep them together visually. |
1352 |
dnl Do this early because it can frob feature test macros for Unix-98 &c. |
dnl Do this early because it can frob feature test macros for Unix-98 &c. |
1353 |
AC_SYS_LARGEFILE |
AC_SYS_LARGEFILE |
1354 |
|
|
1355 |
# Sound support for GNU/Linux and the free BSDs. |
if test "${with_sound}" != "no"; then |
1356 |
AC_CHECK_HEADERS(machine/soundcard.h sys/soundcard.h soundcard.h) |
# Sound support for GNU/Linux and the free BSDs. |
1357 |
# Emulation library used on NetBSD. |
AC_CHECK_HEADERS(machine/soundcard.h sys/soundcard.h soundcard.h) |
1358 |
AC_CHECK_LIB(ossaudio, _oss_ioctl, LIBSOUND=-lossaudio, LIBSOUND=) |
# Emulation library used on NetBSD. |
1359 |
AC_SUBST(LIBSOUND) |
AC_CHECK_LIB(ossaudio, _oss_ioctl, LIBSOUND=-lossaudio, LIBSOUND=) |
1360 |
|
AC_SUBST(LIBSOUND) |
1361 |
|
fi |
1362 |
|
|
1363 |
dnl checks for header files |
dnl checks for header files |
1364 |
AC_CHECK_HEADERS(sys/select.h sys/timeb.h sys/time.h unistd.h utime.h \ |
AC_CHECK_HEADERS(sys/select.h sys/timeb.h sys/time.h unistd.h utime.h \ |