Use test instead of [ because that's an m4 quote character
authorSam Lantinga <slouken@libsdl.org>
Sat, 10 Oct 2009 05:27:59 +0000
changeset 3358 1164528004ff
parent 3357 2d19d10e24d5
child 3359 aecbdf3362c3
Use test instead of [ because that's an m4 quote character
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'`