diff configure.in @ 3358:1164528004ff

Use test instead of [ because that's an m4 quote character
author Sam Lantinga <slouken@libsdl.org>
date Sat, 10 Oct 2009 05:27:59 +0000
parents 98c5b421426e
children ca6f355e44b2
line wrap: on
line diff
--- 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'`