From e674164a39dac3028205d3fe09c68c68a3c08a11 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Tue, 22 Jul 2008 16:28:57 +0100 Subject: [PATCH] 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 --- configure | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.5