Mercurial > sdl-ios-xcode
comparison configure.in @ 2472:3f73c88c9abb gsoc2008_force_feedback
First commit of the SDL_haptic subsystem.
Code compiles and works, very limited functionality (linux only).
author | Edgar Simo <bobbens@gmail.com> |
---|---|
date | Sun, 01 Jun 2008 11:44:25 +0000 |
parents | 33052794de27 |
children | 3f80bf1528b4 |
comparison
equal
deleted
inserted
replaced
2471:910af9032c73 | 2472:3f73c88c9abb |
---|---|
232 , enable_joystick=yes) | 232 , enable_joystick=yes) |
233 if test x$enable_joystick != xyes; then | 233 if test x$enable_joystick != xyes; then |
234 AC_DEFINE(SDL_JOYSTICK_DISABLED) | 234 AC_DEFINE(SDL_JOYSTICK_DISABLED) |
235 else | 235 else |
236 SOURCES="$SOURCES $srcdir/src/joystick/*.c" | 236 SOURCES="$SOURCES $srcdir/src/joystick/*.c" |
237 fi | |
238 AC_ARG_ENABLE(haptic, | |
239 AC_HELP_STRING([--enable-haptic], [Enable the haptic (force feedback) subsystem [[default=yes]]]), | |
240 , enable_haptic=yes) | |
241 if test x$enable_haptic != xyes; then | |
242 AC_DEFINE(SDL_HAPTIC_DISABLE) | |
243 else | |
244 SOURCES="$SOURCES $srcdir/src/haptic/*.c" | |
237 fi | 245 fi |
238 AC_ARG_ENABLE(cdrom, | 246 AC_ARG_ENABLE(cdrom, |
239 AC_HELP_STRING([--enable-cdrom], [Enable the cdrom subsystem [[default=yes]]]), | 247 AC_HELP_STRING([--enable-cdrom], [Enable the cdrom subsystem [[default=yes]]]), |
240 , enable_cdrom=yes) | 248 , enable_cdrom=yes) |
241 if test x$enable_cdrom != xyes; then | 249 if test x$enable_cdrom != xyes; then |
2174 SOURCES="$SOURCES $srcdir/src/joystick/linux/*.c" | 2182 SOURCES="$SOURCES $srcdir/src/joystick/linux/*.c" |
2175 have_joystick=yes | 2183 have_joystick=yes |
2176 ;; | 2184 ;; |
2177 esac | 2185 esac |
2178 fi | 2186 fi |
2187 # Set up files for the haptic library | |
2188 if test x$enable_haptic = xyes; then | |
2189 case $ARCH in | |
2190 linux) | |
2191 AC_DEFINE(SDL_HAPTIC_LINUX) | |
2192 SOURCES="$SOURCES $srcdir/src/haptic/linux/*.c" | |
2193 have_haptic=yes | |
2194 ;; | |
2195 esac | |
2196 fi | |
2179 # Set up files for the cdrom library | 2197 # Set up files for the cdrom library |
2180 if test x$enable_cdrom = xyes; then | 2198 if test x$enable_cdrom = xyes; then |
2181 case $ARCH in | 2199 case $ARCH in |
2182 linux|solaris) | 2200 linux|solaris) |
2183 AC_DEFINE(SDL_CDROM_LINUX) | 2201 AC_DEFINE(SDL_CDROM_LINUX) |