configure.in
changeset 6329 77dcb8c486e9
parent 6327 7c37af802e63
child 6340 eadb3790009f
equal deleted inserted replaced
6328:9a65b2bd4e01 6329:77dcb8c486e9
  2437         fi
  2437         fi
  2438         # The BeOS platform requires special setup.
  2438         # The BeOS platform requires special setup.
  2439         SOURCES="$srcdir/src/main/beos/*.cc $SOURCES"
  2439         SOURCES="$srcdir/src/main/beos/*.cc $SOURCES"
  2440         EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lroot -lbe -lmedia -lgame -ldevice -ltextencoding"
  2440         EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lroot -lbe -lmedia -lgame -ldevice -ltextencoding"
  2441         ;;
  2441         ;;
       
  2442     arm*-apple-darwin*)
       
  2443         # iOS - We are not writing anything to confdefs.h because you have to replace
       
  2444         # SDL_config.h for SDL_config_iphoneos.h anyway
       
  2445         ARCH=ios
       
  2446 
       
  2447         CheckVisibilityHidden
       
  2448         CheckDummyVideo
       
  2449         CheckDiskAudio
       
  2450         CheckDummyAudio
       
  2451         CheckDLOPEN
       
  2452         CheckCOCOA
       
  2453         CheckPTHREAD
       
  2454 
       
  2455 
       
  2456         # Set up files for the audio library
       
  2457         if test x$enable_audio = xyes; then
       
  2458             SOURCES="$SOURCES $srcdir/src/audio/coreaudio/*.c"
       
  2459             have_audio=yes
       
  2460         fi
       
  2461         # Set up files for the joystick library
       
  2462         if test x$enable_joystick = xyes; then
       
  2463             SOURCES="$SOURCES $srcdir/src/joystick/iphoneos/*.m"
       
  2464             have_joystick=yes
       
  2465         fi
       
  2466         # Set up files for the haptic library
       
  2467         #if test x$enable_haptic = xyes; then
       
  2468         #    SOURCES="$SOURCES $srcdir/src/haptic/darwin/*.c"
       
  2469         #    have_haptic=yes
       
  2470         #    EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,ForceFeedback"
       
  2471         #fi
       
  2472         # Set up files for the power library
       
  2473         if test x$enable_power = xyes; then
       
  2474             SOURCES="$SOURCES $srcdir/src/power/uikit/*.m"
       
  2475             have_power=yes
       
  2476         fi
       
  2477         # Set up files for the timer library
       
  2478         if test x$enable_timers = xyes; then
       
  2479             SOURCES="$SOURCES $srcdir/src/timer/unix/*.c"
       
  2480             have_timers=yes
       
  2481         fi
       
  2482         # Set up additional files for the file library
       
  2483         if test x$enable_file = xyes; then
       
  2484             SOURCES="$SOURCES $srcdir/src/file/cocoa/*.m"
       
  2485         fi
       
  2486         # The iOS platform requires special setup.
       
  2487         SOURCES="$SOURCES $srcdir/src/video/uikit/*.m"
       
  2488         SOURCES="$SOURCES $srcdir/src/video/uikit/*.c"
       
  2489         ;;
  2442     *-*-darwin* )
  2490     *-*-darwin* )
  2443         # This could be either full "Mac OS X", or plain "Darwin" which is
  2491         # This could be either full "Mac OS X", or plain "Darwin" which is
  2444         # just the OS X kernel sans upper layers like Carbon and Cocoa.
  2492         # just the OS X kernel sans upper layers like Carbon and Cocoa.
  2445         # Next line is broken, and a few files below require Mac OS X (full)
  2493         # Next line is broken, and a few files below require Mac OS X (full)
  2446         ARCH=macosx
  2494         ARCH=macosx