configure.in
branchSDL-1.2
changeset 3934 f8cc7c7ccf95
parent 3933 3b5c90889156
child 3935 00959c391aa6
equal deleted inserted replaced
3933:3b5c90889156 3934:f8cc7c7ccf95
   212 AC_ARG_ENABLE(video,
   212 AC_ARG_ENABLE(video,
   213 AC_HELP_STRING([--enable-video], [Enable the video subsystem [[default=yes]]]),
   213 AC_HELP_STRING([--enable-video], [Enable the video subsystem [[default=yes]]]),
   214               , enable_video=yes)
   214               , enable_video=yes)
   215 if test x$enable_video != xyes; then
   215 if test x$enable_video != xyes; then
   216     AC_DEFINE(SDL_VIDEO_DISABLED)
   216     AC_DEFINE(SDL_VIDEO_DISABLED)
   217 else
       
   218     SOURCES="$SOURCES $srcdir/src/joystick/*.c"
       
   219 fi
   217 fi
   220 AC_ARG_ENABLE(events,
   218 AC_ARG_ENABLE(events,
   221 AC_HELP_STRING([--enable-events], [Enable the events subsystem [[default=yes]]]),
   219 AC_HELP_STRING([--enable-events], [Enable the events subsystem [[default=yes]]]),
   222               , enable_events=yes)
   220               , enable_events=yes)
   223 if test x$enable_events != xyes; then
   221 if test x$enable_events != xyes; then
   226 AC_ARG_ENABLE(joystick,
   224 AC_ARG_ENABLE(joystick,
   227 AC_HELP_STRING([--enable-joystick], [Enable the joystick subsystem [[default=yes]]]),
   225 AC_HELP_STRING([--enable-joystick], [Enable the joystick subsystem [[default=yes]]]),
   228               , enable_joystick=yes)
   226               , enable_joystick=yes)
   229 if test x$enable_joystick != xyes; then
   227 if test x$enable_joystick != xyes; then
   230     AC_DEFINE(SDL_JOYSTICK_DISABLED)
   228     AC_DEFINE(SDL_JOYSTICK_DISABLED)
       
   229 else
       
   230     SOURCES="$SOURCES $srcdir/src/joystick/*.c"
   231 fi
   231 fi
   232 AC_ARG_ENABLE(cdrom,
   232 AC_ARG_ENABLE(cdrom,
   233 AC_HELP_STRING([--enable-cdrom], [Enable the cdrom subsystem [[default=yes]]]),
   233 AC_HELP_STRING([--enable-cdrom], [Enable the cdrom subsystem [[default=yes]]]),
   234               , enable_cdrom=yes)
   234               , enable_cdrom=yes)
   235 if test x$enable_cdrom != xyes; then
   235 if test x$enable_cdrom != xyes; then