From 7be08409480899a95f5ee1b855d58abcd49882f4 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Wed, 18 Feb 2004 00:14:16 +0000 Subject: [PATCH] cleanup fix bailout if no libjpeg --- stepmania/configure.ac | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/stepmania/configure.ac b/stepmania/configure.ac index 5a8cb765a5..20e468bd1f 100644 --- a/stepmania/configure.ac +++ b/stepmania/configure.ac @@ -55,7 +55,7 @@ fi SM_OPENGL AM_PATH_SDL(1.2.6,enable_sdl=yes,enable_sdl=no) -AM_CONDITIONAL(NHAVE_SDL, test x$enable_sdl = xno ) +AM_CONDITIONAL(NHAVE_SDL, test "$enable_sdl" = "no" ) # sdl-config puts -L/usr/lib in the library search path, which reorders things # in a way that breaks some configurations. @@ -64,7 +64,7 @@ AM_CONDITIONAL(NHAVE_SDL, test x$enable_sdl = xno ) # SDL_LIBS="`echo $SDL_LIBS | sed 's_-L/usr/lib/\?[[ $]]__'`" AC_SEARCH_LIBS(IMG_Load, [SDL_image], have_SDL_image=yes, have_SDL_image=no) -if test "x$have_SDL_image" = "xno"; then +if test "$have_SDL_image" = "no"; then echo echo "*** SDL_image is required to build StepMania; please" echo "*** make sure that SDL_image is installed to continue" @@ -75,7 +75,7 @@ fi have_libjpeg=yes AC_SEARCH_LIBS(jpeg_read_scanlines, [jpeg], , have_libjpeg=no) AC_CHECK_HEADER(jpeglib.h, , have_libjpeg=no) -if test "x$have_SDL_image" = "xno"; then +if test "$have_libjpeg" = "no"; then echo echo "*** libjpeg is required to build StepMania; please" echo "*** make sure that libjpeg is installed to continue"