Browse Source

Updated configure with changes from configure.ac

Sam Lantinga 5 years ago
parent
commit
49501a9860
1 changed files with 3 additions and 0 deletions
  1. 3 0
      configure

+ 3 - 0
configure

@@ -25188,6 +25188,9 @@ $as_echo "#define SDL_JOYSTICK_MFI 1" >>confdefs.h
             SOURCES="$SOURCES $srcdir/src/joystick/iphoneos/*.m"
             SOURCES="$SOURCES $srcdir/src/joystick/iphoneos/*.m"
             SOURCES="$SOURCES $srcdir/src/joystick/steam/*.c"
             SOURCES="$SOURCES $srcdir/src/joystick/steam/*.c"
             have_joystick=yes
             have_joystick=yes
+        else
+            # Need this code for accelerometer as joystick support
+            SOURCES="$SOURCES $srcdir/src/joystick/iphoneos/*.m"
         fi
         fi
         # Set up files for the haptic library
         # Set up files for the haptic library
         #if test x$enable_haptic = xyes; then
         #if test x$enable_haptic = xyes; then