Lines 3-9
Link Here
|
3 |
|
3 |
|
4 |
--- configure.in.orig |
4 |
--- configure.in.orig |
5 |
+++ configure.in |
5 |
+++ configure.in |
6 |
@@ -1167,39 +1167,10 @@ |
6 |
@@ -1169,39 +1169,10 @@ |
7 |
AC_CHECK_LIB(ossaudio, _oss_ioctl, LIBSOUND=-lossaudio, LIBSOUND=) |
7 |
AC_CHECK_LIB(ossaudio, _oss_ioctl, LIBSOUND=-lossaudio, LIBSOUND=) |
8 |
AC_SUBST(LIBSOUND) |
8 |
AC_SUBST(LIBSOUND) |
9 |
|
9 |
|
Lines 12-20
Link Here
|
12 |
- PKG_CHECK_MODULES(ALSA, $ALSA_MODULES, HAVE_ALSA=yes, HAVE_ALSA=no) |
12 |
- PKG_CHECK_MODULES(ALSA, $ALSA_MODULES, HAVE_ALSA=yes, HAVE_ALSA=no) |
13 |
- if test $HAVE_ALSA = yes; then |
13 |
- if test $HAVE_ALSA = yes; then |
14 |
- SAVE_CFLAGS="$CFLAGS" |
14 |
- SAVE_CFLAGS="$CFLAGS" |
15 |
- SAVE_LDFLAGS="$LDFLAGS" |
15 |
- SAVE_LIBS="$LIBS" |
16 |
- CFLAGS="$ALSA_CFLAGS $CFLAGS" |
16 |
- CFLAGS="$ALSA_CFLAGS $CFLAGS" |
17 |
- LDFLAGS="$ALSA_LIBS $LDFLAGS" |
17 |
- LIBS="$ALSA_LIBS $LIBS" |
18 |
- AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <asoundlib.h>]], [[snd_lib_error_set_handler (0);]])], |
18 |
- AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <asoundlib.h>]], [[snd_lib_error_set_handler (0);]])], |
19 |
- emacs_alsa_normal=yes, |
19 |
- emacs_alsa_normal=yes, |
20 |
- emacs_alsa_normal=no) |
20 |
- emacs_alsa_normal=no) |
Lines 30-36
Link Here
|
30 |
- fi |
30 |
- fi |
31 |
- |
31 |
- |
32 |
- CFLAGS="$SAVE_CFLAGS" |
32 |
- CFLAGS="$SAVE_CFLAGS" |
33 |
- LDFLAGS="$SAVE_LDFLAGS" |
33 |
- LIBS="$SAVE_LIBS" |
34 |
- LIBSOUND="$LIBSOUND $ALSA_LIBS" |
34 |
- LIBSOUND="$LIBSOUND $ALSA_LIBS" |
35 |
- CFLAGS_SOUND="$CFLAGS_SOUND $ALSA_CFLAGS" |
35 |
- CFLAGS_SOUND="$CFLAGS_SOUND $ALSA_CFLAGS" |
36 |
- AC_DEFINE(HAVE_ALSA, 1, [Define to 1 if ALSA is available.]) |
36 |
- AC_DEFINE(HAVE_ALSA, 1, [Define to 1 if ALSA is available.]) |
Lines 44-50
Link Here
|
44 |
case "$opsys" in |
44 |
case "$opsys" in |
45 |
dnl defined __FreeBSD__ || defined __NetBSD__ || defined __linux__ |
45 |
dnl defined __FreeBSD__ || defined __NetBSD__ || defined __linux__ |
46 |
gnu-linux|freebsd|netbsd) |
46 |
gnu-linux|freebsd|netbsd) |
47 |
@@ -1216,7 +1187,7 @@ |
47 |
@@ -1218,7 +1189,7 @@ |
48 |
linux/version.h sys/systeminfo.h \ |
48 |
linux/version.h sys/systeminfo.h \ |
49 |
stdio_ext.h fcntl.h coff.h pty.h sys/mman.h \ |
49 |
stdio_ext.h fcntl.h coff.h pty.h sys/mman.h \ |
50 |
sys/vlimit.h sys/resource.h locale.h sys/_mbstate_t.h \ |
50 |
sys/vlimit.h sys/resource.h locale.h sys/_mbstate_t.h \ |