Mercurial > sdl-ios-xcode
comparison configure.in @ 3214:5625ba0a1e25
Applied patch from bug id=762 provided by Pierre Phaneuf
this patch enables compilation of SDL_atomic stuff on the Mac.
author | Bob Pendleton <bob@pendleton.com> |
---|---|
date | Mon, 06 Jul 2009 21:56:38 +0000 |
parents | 3e1bf2b8bd81 |
children | 26ce0b98f2fb |
comparison
equal
deleted
inserted
replaced
3213:1f0f9172a1ff | 3214:5625ba0a1e25 |
---|---|
2879 SOURCES="$SOURCES $srcdir/src/audio/macosx/*.c" | 2879 SOURCES="$SOURCES $srcdir/src/audio/macosx/*.c" |
2880 AC_DEFINE(SDL_AUDIO_DRIVER_SNDMGR) | 2880 AC_DEFINE(SDL_AUDIO_DRIVER_SNDMGR) |
2881 SOURCES="$SOURCES $srcdir/src/audio/macrom/*.c" | 2881 SOURCES="$SOURCES $srcdir/src/audio/macrom/*.c" |
2882 have_audio=yes | 2882 have_audio=yes |
2883 fi | 2883 fi |
2884 # Set up files for the atomic operations library | |
2885 if test x$enable_atomic = xyes; then | |
2886 AC_DEFINE(SDL_ATOMIC_MACOSX) | |
2887 SOURCES="$SOURCES $srcdir/src/atomic/macosx/*.c" | |
2888 have_atomic=yes | |
2889 fi | |
2884 # Set up files for the joystick library | 2890 # Set up files for the joystick library |
2885 if test x$enable_joystick = xyes; then | 2891 if test x$enable_joystick = xyes; then |
2886 AC_DEFINE(SDL_JOYSTICK_IOKIT) | 2892 AC_DEFINE(SDL_JOYSTICK_IOKIT) |
2887 SOURCES="$SOURCES $srcdir/src/joystick/darwin/*.c" | 2893 SOURCES="$SOURCES $srcdir/src/joystick/darwin/*.c" |
2888 have_joystick=yes | 2894 have_joystick=yes |