configure.in
changeset 7307 5d6b7b9432d3
parent 7300 ee9c13257398
child 7367 d6eabafa8776
     1.1 --- a/configure.in	Tue Jun 11 08:37:03 2013 -0700
     1.2 +++ b/configure.in	Thu Jun 13 22:10:10 2013 -0700
     1.3 @@ -297,7 +297,10 @@
     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/haptic/*.c"
     1.8 +SOURCES="$SOURCES $srcdir/src/joystick/*.c"
     1.9  SOURCES="$SOURCES $srcdir/src/libm/*.c"
    1.10 +SOURCES="$SOURCES $srcdir/src/power/*.c"
    1.11  SOURCES="$SOURCES $srcdir/src/render/*.c"
    1.12  SOURCES="$SOURCES $srcdir/src/render/*/*.c"
    1.13  SOURCES="$SOURCES $srcdir/src/stdlib/*.c"
    1.14 @@ -342,24 +345,18 @@
    1.15                , enable_joystick=yes)
    1.16  if test x$enable_joystick != xyes; then
    1.17      AC_DEFINE(SDL_JOYSTICK_DISABLED, 1, [ ])
    1.18 -else
    1.19 -    SOURCES="$SOURCES $srcdir/src/joystick/*.c"
    1.20  fi
    1.21  AC_ARG_ENABLE(haptic,
    1.22  AC_HELP_STRING([--enable-haptic], [Enable the haptic (force feedback) subsystem [[default=yes]]]),
    1.23                , enable_haptic=yes)
    1.24  if test x$enable_haptic != xyes; then
    1.25      AC_DEFINE(SDL_HAPTIC_DISABLED, 1, [ ])
    1.26 -else
    1.27 -    SOURCES="$SOURCES $srcdir/src/haptic/*.c"
    1.28  fi
    1.29  AC_ARG_ENABLE(power,
    1.30  AC_HELP_STRING([--enable-power], [Enable the power subsystem [[default=yes]]]),
    1.31                , enable_power=yes)
    1.32  if test x$enable_power != xyes; then
    1.33      AC_DEFINE(SDL_POWER_DISABLED, 1, [ ])
    1.34 -else
    1.35 -    SOURCES="$SOURCES $srcdir/src/power/*.c"
    1.36  fi
    1.37  AC_ARG_ENABLE(threads,
    1.38  AC_HELP_STRING([--enable-threads], [Enable the threading subsystem [[default=yes]]]),