Mercurial > sdl-ios-xcode
comparison configure.in @ 3298:94f22808d19e
Whoops, this breaks building on Mac OS X 10.4
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Tue, 22 Sep 2009 02:20:56 +0000 |
parents | 0d60bdebed39 |
children | 047c8dcf0eb0 |
comparison
equal
deleted
inserted
replaced
3297:d430982cd5cc | 3298:94f22808d19e |
---|---|
1642 AC_DEFINE(SDL_VIDEO_OPENGL_CGL) | 1642 AC_DEFINE(SDL_VIDEO_OPENGL_CGL) |
1643 AC_DEFINE(SDL_VIDEO_RENDER_OGL) | 1643 AC_DEFINE(SDL_VIDEO_RENDER_OGL) |
1644 case "$host" in | 1644 case "$host" in |
1645 *-*-darwin*) | 1645 *-*-darwin*) |
1646 if test x$enable_video_cocoa = xyes; then | 1646 if test x$enable_video_cocoa = xyes; then |
1647 EXTRA_LDFLAGS="$EXTRA_LDFLAGS -framework OpenGL" | 1647 EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,OpenGL" |
1648 fi | 1648 fi |
1649 esac | 1649 esac |
1650 fi | 1650 fi |
1651 } | 1651 } |
1652 | 1652 |
2655 # Set up files for the haptic library | 2655 # Set up files for the haptic library |
2656 if test x$enable_haptic = xyes; then | 2656 if test x$enable_haptic = xyes; then |
2657 AC_DEFINE(SDL_HAPTIC_IOKIT) | 2657 AC_DEFINE(SDL_HAPTIC_IOKIT) |
2658 SOURCES="$SOURCES $srcdir/src/haptic/darwin/*.c" | 2658 SOURCES="$SOURCES $srcdir/src/haptic/darwin/*.c" |
2659 have_haptic=yes | 2659 have_haptic=yes |
2660 EXTRA_LDFLAGS="$EXTRA_LDFLAGS -framework ForceFeedback" | 2660 EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,ForceFeedback" |
2661 fi | 2661 fi |
2662 # Set up files for the power library | 2662 # Set up files for the power library |
2663 if test x$enable_power = xyes; then | 2663 if test x$enable_power = xyes; then |
2664 AC_DEFINE(SDL_POWER_MACOSX) | 2664 AC_DEFINE(SDL_POWER_MACOSX) |
2665 SOURCES="$SOURCES $srcdir/src/power/macosx/*.c" | 2665 SOURCES="$SOURCES $srcdir/src/power/macosx/*.c" |
2672 have_timers=yes | 2672 have_timers=yes |
2673 fi | 2673 fi |
2674 # The Mac OS X platform requires special setup. | 2674 # The Mac OS X platform requires special setup. |
2675 EXTRA_CFLAGS="$EXTRA_CFLAGS -fpascal-strings" | 2675 EXTRA_CFLAGS="$EXTRA_CFLAGS -fpascal-strings" |
2676 EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lobjc" | 2676 EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lobjc" |
2677 EXTRA_LDFLAGS="$EXTRA_LDFLAGS -framework Cocoa" | 2677 EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,Cocoa" |
2678 EXTRA_LDFLAGS="$EXTRA_LDFLAGS -framework Carbon" | 2678 EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,Carbon" |
2679 EXTRA_LDFLAGS="$EXTRA_LDFLAGS -framework IOKit" | 2679 EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,IOKit" |
2680 # If either the audio or CD driver is used, add the AudioUnit framework | 2680 # If either the audio or CD driver is used, add the AudioUnit framework |
2681 if test x$enable_audio = xyes; then | 2681 if test x$enable_audio = xyes; then |
2682 EXTRA_LDFLAGS="$EXTRA_LDFLAGS -framework CoreAudio -framework AudioToolbox -framework AudioUnit" | 2682 EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,CoreAudio -Wl,-framework,AudioToolbox -Wl,-framework,AudioUnit" |
2683 fi | 2683 fi |
2684 ;; | 2684 ;; |
2685 *-riscos) | 2685 *-riscos) |
2686 ARCH=riscos | 2686 ARCH=riscos |
2687 CheckOSS | 2687 CheckOSS |