define HAVE_SDL

This commit is contained in:
Glenn Maynard
2004-06-14 04:12:19 +00:00
parent 235935572e
commit 7fd8f3d3cc
+4 -1
View File
@@ -67,7 +67,10 @@ if test "$have_sdl" = "no"; then
echo "*** make sure that it is installed to continue the build process."
exit 1
fi
AM_CONDITIONAL(HAVE_SDL, true)
AM_CONDITIONAL(HAVE_SDL, test "$have_sdl" = "yes")
if test "$have_sdl" = "yes"; then
AC_DEFINE(HAVE_SDL, 1, [SDL is available])
fi
# sdl-config puts -L/usr/lib in the library search path, which reorders things
# in a way that breaks some configurations.