1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00
freebsd-ports/audio/xmp/files/patch-configure.in
Pav Lucistnik 50df4f8e0e - Fix botched local patch which was breaking compilation with esound
PR:		ports/74128
Reported by:	Michael C. Shultz <ringworm@inbox.lv>
2004-11-21 14:53:51 +00:00

35 lines
1.0 KiB
Plaintext

--- configure.in.orig Sat Jan 20 02:06:28 2001
+++ configure.in Sun Nov 21 15:34:41 2004
@@ -142,7 +142,7 @@
sys/soundcard.h machine/soundcard.h \
sys/ultrasound.h linux/ultrasound.h machine/ultrasound.h \
awe_voice.h sys/awe_voice.h linux/awe_voice.h \
- sys/asoundlib.h esd.h)
+ sys/asoundlib.h)
dnl -----------------------------------------------------------------------
dnl Check OS/architecture independent drivers
@@ -173,15 +173,13 @@
fi])
fi
-if test "${ac_cv_header_esd_h}" = "yes"; then
- AC_CHECK_LIB(esd, esd_play_stream, [
- if test "${enable_esd}" != no; then
- if test "${enable_dynamic}" != "yes"; then
- LIBS="${LIBS} -lesd"
- fi
- DRIVERS="${DRIVERS} esd.o"
- AC_DEFINE(DRIVER_ESD)
- fi])
+if test "$enable_esd" = yes; then
+ AC_CHECK_LIB(esd, esd_play_stream)
+ if test "${enable_dynamic}" != "yes"; then
+ LIBS="${LIBS} ${LDFLAGS} -lesd"
+ fi
+ DRIVERS="${DRIVERS} esd.o"
+ AC_DEFINE(DRIVER_ESD)
fi
dnl -----------------------------------------------------------------------