]> xenbits.xensource.com Git - qemu-xen-3.3-testing.git/commitdiff
Do not pass syntax errors to test if opengl is false.
authorIan Jackson <ian.jackson@eu.citrix.com>
Tue, 22 Jul 2008 15:28:57 +0000 (16:28 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Tue, 22 Jul 2008 15:28:57 +0000 (16:28 +0100)
Put the quotes around $opengl in   test "$opengl" = "yes"

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
configure

index 226a65e1630bfb45459d368b0fcc9b0f24fa68bb..a6ad0063b28bf367811981678ab23d0e9c82ef19 100755 (executable)
--- a/configure
+++ b/configure
@@ -1110,7 +1110,7 @@ if test "$sdl1" = "yes" ; then
     echo "SDL_CFLAGS=`$sdl_config --cflags`" >> $config_mak
   fi
 fi
-if test $opengl = "yes"
+if test "$opengl" = "yes"
 then
     echo "#define CONFIG_OPENGL 1" >> $config_h
     echo "CONFIG_OPENGL=yes" >> $config_mak
@@ -1118,7 +1118,7 @@ then
     echo "SDL_LIBS+=-lXext" >> $config_mak
     echo "SDL_LIBS+=-lGL" >> $config_mak
 fi
-if test $opengl = "yes"
+if test "$opengl" = "yes"
 then
     echo "#define CONFIG_OPENGL 1" >> $config_h
     echo "CONFIG_OPENGL=yes" >> $config_mak