Mercurial > sdl-ios-xcode
comparison configure.in @ 2545:0e63e7e4a986 gsoc2008_force_feedback
Allow haptic subsystem to build on mac.
author | Edgar Simo <bobbens@gmail.com> |
---|---|
date | Tue, 22 Jul 2008 10:58:27 +0000 |
parents | 3b54b3a97046 |
children | d551e29f086b |
comparison
equal
deleted
inserted
replaced
2544:2a61a38dd138 | 2545:0e63e7e4a986 |
---|---|
2470 if test x$enable_joystick = xyes; then | 2470 if test x$enable_joystick = xyes; then |
2471 AC_DEFINE(SDL_JOYSTICK_IOKIT) | 2471 AC_DEFINE(SDL_JOYSTICK_IOKIT) |
2472 SOURCES="$SOURCES $srcdir/src/joystick/darwin/*.c" | 2472 SOURCES="$SOURCES $srcdir/src/joystick/darwin/*.c" |
2473 have_joystick=yes | 2473 have_joystick=yes |
2474 fi | 2474 fi |
2475 # Set up files for the haptic library | |
2476 if test x$enable_haptic = xyes; then | |
2477 AC_DEFINE(SDL_HAPTIC_IOKIT) | |
2478 SOURCES="$SOURCES $srcdir/src/haptic/darwin/*.c" | |
2479 have_haptic=yes | |
2480 EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,ForceFeedback" | |
2481 fi | |
2475 # Set up files for the cdrom library | 2482 # Set up files for the cdrom library |
2476 if test x$enable_cdrom = xyes; then | 2483 if test x$enable_cdrom = xyes; then |
2477 AC_DEFINE(SDL_CDROM_MACOSX) | 2484 AC_DEFINE(SDL_CDROM_MACOSX) |
2478 SOURCES="$SOURCES $srcdir/src/cdrom/macosx/*.c" | 2485 SOURCES="$SOURCES $srcdir/src/cdrom/macosx/*.c" |
2479 have_cdrom=yes | 2486 have_cdrom=yes |