From 7fd8f3d3cc3eb0d07f94df5472bb314e4dadd576 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Mon, 14 Jun 2004 04:12:19 +0000 Subject: [PATCH] define HAVE_SDL --- stepmania/configure.ac | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/stepmania/configure.ac b/stepmania/configure.ac index 3fbf2743c0..946d64fb10 100644 --- a/stepmania/configure.ac +++ b/stepmania/configure.ac @@ -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.