configure.in
branchSDL-1.2
changeset 3933 3b5c90889156
parent 3917 8a3a0f1179f3
child 3934 f8cc7c7ccf95
     1.1 --- a/configure.in	Wed Apr 04 09:40:40 2007 +0000
     1.2 +++ b/configure.in	Wed Apr 04 10:28:14 2007 +0000
     1.3 @@ -196,7 +196,6 @@
     1.4  SOURCES="$SOURCES $srcdir/src/cpuinfo/*.c"
     1.5  SOURCES="$SOURCES $srcdir/src/events/*.c"
     1.6  SOURCES="$SOURCES $srcdir/src/file/*.c"
     1.7 -SOURCES="$SOURCES $srcdir/src/joystick/*.c"
     1.8  SOURCES="$SOURCES $srcdir/src/stdlib/*.c"
     1.9  SOURCES="$SOURCES $srcdir/src/thread/*.c"
    1.10  SOURCES="$SOURCES $srcdir/src/timer/*.c"
    1.11 @@ -215,6 +214,8 @@
    1.12                , enable_video=yes)
    1.13  if test x$enable_video != xyes; then
    1.14      AC_DEFINE(SDL_VIDEO_DISABLED)
    1.15 +else
    1.16 +    SOURCES="$SOURCES $srcdir/src/joystick/*.c"
    1.17  fi
    1.18  AC_ARG_ENABLE(events,
    1.19  AC_HELP_STRING([--enable-events], [Enable the events subsystem [[default=yes]]]),
    1.20 @@ -2576,6 +2577,7 @@
    1.21  if test x$enable_joystick = xyes; then
    1.22    if test x$have_joystick != xyes; then
    1.23      # Wants joystick subsystem, but doesn't have a platform-specific backend...
    1.24 +    AC_DEFINE(SDL_JOYSTICK_DUMMY)
    1.25      SOURCES="$SOURCES $srcdir/src/joystick/dummy/*.c"
    1.26    fi
    1.27  fi