Use test instead of [ because that's an m4 quote character

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404000
This commit is contained in:
Sam Lantinga 2009-10-10 05:27:59 +00:00
parent 4b40e7c5a6
commit e1d8dd9b8a

View file

@ -604,7 +604,7 @@ AC_HELP_STRING([--enable-alsa-shared], [dynamically load ALSA audio support [[de
fi
fi
alsa_lib_spec=`echo $ALSA_LIBS | sed 's/.*-L\([[^ ]]*\).*/\1\/libasound.so.*/'`
if [ x$alsa_lib_spec = x ]; then
if test x$alsa_lib_spec = x; then
alsa_lib_spec="/usr/$base_libdir/libasound.so.*"
fi
alsa_lib=`ls -- $alsa_lib_spec | sed 's/.*\/\(.*\)/\1/; q'`
@ -703,7 +703,7 @@ AC_HELP_STRING([--enable-esd], [support the Enlightened Sound Daemon [[default=y
AC_HELP_STRING([--enable-esd-shared], [dynamically load ESD audio support [[default=yes]]]),
, enable_esd_shared=yes)
esd_lib_spec=`echo $ESD_LIBS | sed 's/.*-L\([[^ ]]*\).*/\1\/libesd.so.*/'`
if [ x$esd_lib_spec = x ]; then
if test x$esd_lib_spec = x; then
esd_lib_spec="/usr/$base_libdir/libesd.so.*"
fi
esd_lib=`ls -- $esd_lib_spec | sed 's/.*\/\(.*\)/\1/; q'`
@ -763,7 +763,7 @@ AC_HELP_STRING([--enable-pulseaudio-shared], [dynamically load PulseAudio suppor
fi
fi
pulseaudio_lib_spec=`echo $PULSEAUDIO_LIBS | sed 's/.*-L\([[^ ]]*\).*/\1\/libpulse-simple.so.*/'`
if [ x$pulse_lib_spec = x ]; then
if test x$pulse_lib_spec = x; then
pulse_lib_spec="/usr/$base_libdir/libpulse-simple.so.*"
fi
pulseaudio_lib=`ls -- $pulseaudio_lib_spec | sed 's/.*\/\(.*\)/\1/; q'`
@ -886,7 +886,7 @@ AC_HELP_STRING([--enable-nas-shared], [dynamically load NAS audio support [[defa
fi
fi
nas_lib_spec=`echo $NAS_LIBS | sed 's/.*-L\([[^ ]]*\).*/\1\/libaudio.so.*/'`
if [ x$nas_lib_spec = x ]; then
if test x$nas_lib_spec = x; then
nas_lib_spec="/usr/$base_libdir/libaudio.so.*"
fi
nas_lib=`ls -- $nas_lib_spec | sed 's/.*\/\(.*\)/\1/; q'`