# HG changeset patch # User Sam Lantinga # Date 1255152479 0 # Node ID 1164528004ffb828c0ade927e4aebee2760334f7 # Parent 2d19d10e24d5d8709319fd14d501eca067be9f5a Use test instead of [ because that's an m4 quote character diff -r 2d19d10e24d5 -r 1164528004ff configure.in --- a/configure.in Thu Oct 08 09:37:58 2009 +0000 +++ b/configure.in Sat Oct 10 05:27:59 2009 +0000 @@ -604,7 +604,7 @@ 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-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 @@ 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 @@ 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'`