-n - not -z!
authorraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 24 Feb 2010 07:35:32 +0000 (07:35 +0000)
committerraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 24 Feb 2010 07:35:32 +0000 (07:35 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@46424 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

configure.ac

index 6bc5841..8ff36d5 100644 (file)
@@ -464,7 +464,7 @@ AC_ARG_WITH([sdl-config],
 
 AC_PATH_PROG([SDL_CONFIG], ["sdl-config"], [""], [$PATH])
 
-if test -z "$SDL_CONFIG" ; then
+if test -n "$SDL_CONFIG" ; then
    SDL_CFLAGS=`$SDL_CONFIG --cflags`
    SDL_LIBS=`$SDL_CONFIG --libs`
    AC_SUBST(SDL_CFLAGS)