configure.in
changeset 7307 5d6b7b9432d3
parent 7300 ee9c13257398
child 7367 d6eabafa8776
equal deleted inserted replaced
7306:1516fe08e6ec 7307:5d6b7b9432d3
   295 SOURCES="$SOURCES $srcdir/src/atomic/*.c"
   295 SOURCES="$SOURCES $srcdir/src/atomic/*.c"
   296 SOURCES="$SOURCES $srcdir/src/audio/*.c"
   296 SOURCES="$SOURCES $srcdir/src/audio/*.c"
   297 SOURCES="$SOURCES $srcdir/src/cpuinfo/*.c"
   297 SOURCES="$SOURCES $srcdir/src/cpuinfo/*.c"
   298 SOURCES="$SOURCES $srcdir/src/events/*.c"
   298 SOURCES="$SOURCES $srcdir/src/events/*.c"
   299 SOURCES="$SOURCES $srcdir/src/file/*.c"
   299 SOURCES="$SOURCES $srcdir/src/file/*.c"
       
   300 SOURCES="$SOURCES $srcdir/src/haptic/*.c"
       
   301 SOURCES="$SOURCES $srcdir/src/joystick/*.c"
   300 SOURCES="$SOURCES $srcdir/src/libm/*.c"
   302 SOURCES="$SOURCES $srcdir/src/libm/*.c"
       
   303 SOURCES="$SOURCES $srcdir/src/power/*.c"
   301 SOURCES="$SOURCES $srcdir/src/render/*.c"
   304 SOURCES="$SOURCES $srcdir/src/render/*.c"
   302 SOURCES="$SOURCES $srcdir/src/render/*/*.c"
   305 SOURCES="$SOURCES $srcdir/src/render/*/*.c"
   303 SOURCES="$SOURCES $srcdir/src/stdlib/*.c"
   306 SOURCES="$SOURCES $srcdir/src/stdlib/*.c"
   304 SOURCES="$SOURCES $srcdir/src/thread/*.c"
   307 SOURCES="$SOURCES $srcdir/src/thread/*.c"
   305 SOURCES="$SOURCES $srcdir/src/timer/*.c"
   308 SOURCES="$SOURCES $srcdir/src/timer/*.c"
   340 AC_ARG_ENABLE(joystick,
   343 AC_ARG_ENABLE(joystick,
   341 AC_HELP_STRING([--enable-joystick], [Enable the joystick subsystem [[default=yes]]]),
   344 AC_HELP_STRING([--enable-joystick], [Enable the joystick subsystem [[default=yes]]]),
   342               , enable_joystick=yes)
   345               , enable_joystick=yes)
   343 if test x$enable_joystick != xyes; then
   346 if test x$enable_joystick != xyes; then
   344     AC_DEFINE(SDL_JOYSTICK_DISABLED, 1, [ ])
   347     AC_DEFINE(SDL_JOYSTICK_DISABLED, 1, [ ])
   345 else
       
   346     SOURCES="$SOURCES $srcdir/src/joystick/*.c"
       
   347 fi
   348 fi
   348 AC_ARG_ENABLE(haptic,
   349 AC_ARG_ENABLE(haptic,
   349 AC_HELP_STRING([--enable-haptic], [Enable the haptic (force feedback) subsystem [[default=yes]]]),
   350 AC_HELP_STRING([--enable-haptic], [Enable the haptic (force feedback) subsystem [[default=yes]]]),
   350               , enable_haptic=yes)
   351               , enable_haptic=yes)
   351 if test x$enable_haptic != xyes; then
   352 if test x$enable_haptic != xyes; then
   352     AC_DEFINE(SDL_HAPTIC_DISABLED, 1, [ ])
   353     AC_DEFINE(SDL_HAPTIC_DISABLED, 1, [ ])
   353 else
       
   354     SOURCES="$SOURCES $srcdir/src/haptic/*.c"
       
   355 fi
   354 fi
   356 AC_ARG_ENABLE(power,
   355 AC_ARG_ENABLE(power,
   357 AC_HELP_STRING([--enable-power], [Enable the power subsystem [[default=yes]]]),
   356 AC_HELP_STRING([--enable-power], [Enable the power subsystem [[default=yes]]]),
   358               , enable_power=yes)
   357               , enable_power=yes)
   359 if test x$enable_power != xyes; then
   358 if test x$enable_power != xyes; then
   360     AC_DEFINE(SDL_POWER_DISABLED, 1, [ ])
   359     AC_DEFINE(SDL_POWER_DISABLED, 1, [ ])
   361 else
       
   362     SOURCES="$SOURCES $srcdir/src/power/*.c"
       
   363 fi
   360 fi
   364 AC_ARG_ENABLE(threads,
   361 AC_ARG_ENABLE(threads,
   365 AC_HELP_STRING([--enable-threads], [Enable the threading subsystem [[default=yes]]]),
   362 AC_HELP_STRING([--enable-threads], [Enable the threading subsystem [[default=yes]]]),
   366               , enable_threads=yes)
   363               , enable_threads=yes)
   367 if test x$enable_threads != xyes; then
   364 if test x$enable_threads != xyes; then