Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Allow haptic subsystem to build on mac.

  • Loading branch information
bobbens committed Jul 22, 2008
1 parent 6a01f2e commit e5a46b4fd5353956e1534669a133b66310ca137b
Showing with 8 additions and 0 deletions.
  1. +7 −0 configure.in
  2. +1 −0 include/SDL_config.h.in
@@ -2472,6 +2472,13 @@ AC_HELP_STRING([--enable-render-d3d], [enable the Direct3D render driver [[defau
SOURCES="$SOURCES $srcdir/src/joystick/darwin/*.c"
have_joystick=yes
fi
# Set up files for the haptic library
if test x$enable_haptic = xyes; then
AC_DEFINE(SDL_HAPTIC_IOKIT)
SOURCES="$SOURCES $srcdir/src/haptic/darwin/*.c"
have_haptic=yes
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,ForceFeedback"
fi
# Set up files for the cdrom library
if test x$enable_cdrom = xyes; then
AC_DEFINE(SDL_CDROM_MACOSX)
@@ -218,6 +218,7 @@
#undef SDL_JOYSTICK_USBHID_MACHINE_JOYSTICK_H
#undef SDL_HAPTIC_DUMMY
#undef SDL_HAPTIC_LINUX
#undef SDL_HAPTIC_IOKIT

/* Enable various shared object loading systems */
#undef SDL_LOADSO_BEOS

0 comments on commit e5a46b4

Please sign in to comment.