Commit e1d8dd9b authored by Sam Lantinga's avatar Sam Lantinga

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

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404000
parent 4b40e7c5
...@@ -604,7 +604,7 @@ AC_HELP_STRING([--enable-alsa-shared], [dynamically load ALSA audio support [[de ...@@ -604,7 +604,7 @@ AC_HELP_STRING([--enable-alsa-shared], [dynamically load ALSA audio support [[de
fi fi
fi fi
alsa_lib_spec=`echo $ALSA_LIBS | sed 's/.*-L\([[^ ]]*\).*/\1\/libasound.so.*/'` 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.*" alsa_lib_spec="/usr/$base_libdir/libasound.so.*"
fi fi
alsa_lib=`ls -- $alsa_lib_spec | sed 's/.*\/\(.*\)/\1/; q'` 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 ...@@ -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]]]), AC_HELP_STRING([--enable-esd-shared], [dynamically load ESD audio support [[default=yes]]]),
, enable_esd_shared=yes) , enable_esd_shared=yes)
esd_lib_spec=`echo $ESD_LIBS | sed 's/.*-L\([[^ ]]*\).*/\1\/libesd.so.*/'` 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.*" esd_lib_spec="/usr/$base_libdir/libesd.so.*"
fi fi
esd_lib=`ls -- $esd_lib_spec | sed 's/.*\/\(.*\)/\1/; q'` esd_lib=`ls -- $esd_lib_spec | sed 's/.*\/\(.*\)/\1/; q'`
...@@ -763,7 +763,7 @@ AC_HELP_STRING([--enable-pulseaudio-shared], [dynamically load PulseAudio suppor ...@@ -763,7 +763,7 @@ AC_HELP_STRING([--enable-pulseaudio-shared], [dynamically load PulseAudio suppor
fi fi
fi fi
pulseaudio_lib_spec=`echo $PULSEAUDIO_LIBS | sed 's/.*-L\([[^ ]]*\).*/\1\/libpulse-simple.so.*/'` 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.*" pulse_lib_spec="/usr/$base_libdir/libpulse-simple.so.*"
fi fi
pulseaudio_lib=`ls -- $pulseaudio_lib_spec | sed 's/.*\/\(.*\)/\1/; q'` 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 ...@@ -886,7 +886,7 @@ AC_HELP_STRING([--enable-nas-shared], [dynamically load NAS audio support [[defa
fi fi
fi fi
nas_lib_spec=`echo $NAS_LIBS | sed 's/.*-L\([[^ ]]*\).*/\1\/libaudio.so.*/'` 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.*" nas_lib_spec="/usr/$base_libdir/libaudio.so.*"
fi fi
nas_lib=`ls -- $nas_lib_spec | sed 's/.*\/\(.*\)/\1/; q'` nas_lib=`ls -- $nas_lib_spec | sed 's/.*\/\(.*\)/\1/; q'`
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment