diff configure.in @ 3934:f8cc7c7ccf95 SDL-1.2

Crap, put this patch in the wrong place. THIS fixes Bugzilla #403. :/
author Ryan C. Gordon <icculus@icculus.org>
date Wed, 04 Apr 2007 10:30:07 +0000
parents 3b5c90889156
children 00959c391aa6
line wrap: on
line diff
--- a/configure.in	Wed Apr 04 10:28:14 2007 +0000
+++ b/configure.in	Wed Apr 04 10:30:07 2007 +0000
@@ -214,8 +214,6 @@
               , enable_video=yes)
 if test x$enable_video != xyes; then
     AC_DEFINE(SDL_VIDEO_DISABLED)
-else
-    SOURCES="$SOURCES $srcdir/src/joystick/*.c"
 fi
 AC_ARG_ENABLE(events,
 AC_HELP_STRING([--enable-events], [Enable the events subsystem [[default=yes]]]),
@@ -228,6 +226,8 @@
               , enable_joystick=yes)
 if test x$enable_joystick != xyes; then
     AC_DEFINE(SDL_JOYSTICK_DISABLED)
+else
+    SOURCES="$SOURCES $srcdir/src/joystick/*.c"
 fi
 AC_ARG_ENABLE(cdrom,
 AC_HELP_STRING([--enable-cdrom], [Enable the cdrom subsystem [[default=yes]]]),