libmikmod/libmikmod-3.1.11-configure.patch

33 lines
1.1 KiB
Diff

diff -Nru libmikmod-3.1.11.orig/configure libmikmod-3.1.11/configure
--- libmikmod-3.1.11.orig/configure 2005-08-03 18:36:45.000000000 +0200
+++ libmikmod-3.1.11/configure 2005-08-03 18:36:50.000000000 +0200
@@ -6207,8 +6207,8 @@
# -----------------
if test "`uname`" = "Linux" && test $libmikmod_driver_alsa = yes
then
- libmikmod_driver_alsa=no
- for ac_hdr in sys/asoundlib.h
+ libmikmod_driver_alsa=yes
+ for ac_hdr in alsa/asoundlib.h
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
@@ -6248,7 +6248,7 @@
fi
done
- if test $ac_cv_header_sys_asoundlib_h = yes
+ if test $ac_cv_header_alsa_asoundlib_h = yes
then
echo $ac_n "checking for snd_cards in -lasound""... $ac_c" 1>&6
echo "configure:6255: checking for snd_cards in -lasound" >&5
@@ -8651,7 +8651,7 @@
# Print configuration.
# ====================
-libmikmod_driverlist=`echo $libmikmod_driverlist raw wav pipe stdout nosound|sed -e 's, , ,g'`
+libmikmod_driverlist=`echo $libmikmod_driverlist wav pipe stdout nosound|sed -e 's, , ,g'`
if test $libmikmod_dynload != no
then
libmikmod_dynload="yes, ${libmikmod_dynload} style"