From: Ian Jackson Date: Tue, 22 Jul 2008 15:28:57 +0000 (+0100) Subject: Do not pass syntax errors to test if opengl is false. X-Git-Tag: xen-3.3.0-rc1~11 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=e674164a39dac3028205d3fe09c68c68a3c08a11;p=qemu-xen-4.0-testing.git Do not pass syntax errors to test if opengl is false. Put the quotes around $opengl in test "$opengl" = "yes" Signed-off-by: Ian Jackson --- diff --git a/configure b/configure index 226a65e1..a6ad0063 100755 --- 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