configure.in
branchgsoc2008_force_feedback
changeset 2545 0e63e7e4a986
parent 2509 3b54b3a97046
child 2567 d551e29f086b
     1.1 --- a/configure.in	Tue Jul 22 10:51:24 2008 +0000
     1.2 +++ b/configure.in	Tue Jul 22 10:58:27 2008 +0000
     1.3 @@ -2472,6 +2472,13 @@
     1.4              SOURCES="$SOURCES $srcdir/src/joystick/darwin/*.c"
     1.5              have_joystick=yes
     1.6          fi
     1.7 +        # Set up files for the haptic library
     1.8 +        if test x$enable_haptic = xyes; then
     1.9 +            AC_DEFINE(SDL_HAPTIC_IOKIT)
    1.10 +            SOURCES="$SOURCES $srcdir/src/haptic/darwin/*.c"
    1.11 +            have_haptic=yes
    1.12 +            EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,ForceFeedback"
    1.13 +        fi
    1.14          # Set up files for the cdrom library
    1.15          if test x$enable_cdrom = xyes; then
    1.16              AC_DEFINE(SDL_CDROM_MACOSX)