comparison configure.in @ 3199:3e1bf2b8bd81

This check in updates SDL_atomic.h to reflect the new set of atomic operations in 32 and 64 bit form. It also update configure.in to compile the linux version of the library. The three versions are all dummies implementations that do nothing. They are being checked in as place holders. Mostly, I just wanted to get place holders and the configure.in checked in.
author Bob Pendleton <bob@pendleton.com>
date Wed, 24 Jun 2009 20:04:08 +0000
parents 77d6336711fc
children 5625ba0a1e25
comparison
equal deleted inserted replaced
3198:fefe74ca604d 3199:3e1bf2b8bd81
215 SOURCES="$SOURCES $srcdir/src/timer/*.c" 215 SOURCES="$SOURCES $srcdir/src/timer/*.c"
216 SOURCES="$SOURCES $srcdir/src/video/*.c" 216 SOURCES="$SOURCES $srcdir/src/video/*.c"
217 217
218 dnl Enable/disable various subsystems of the SDL library 218 dnl Enable/disable various subsystems of the SDL library
219 219
220 AC_ARG_ENABLE(atomic,
221 AC_HELP_STRING([--enable-atomic], [Enable the atomic operations subsystem [[default=yes]]]),
222 , enable_atomic=yes)
223 if test x$enable_atomic != xyes; then
224 AC_DEFINE(SDL_ATOMIC_DISABLED)
225 fi
220 AC_ARG_ENABLE(audio, 226 AC_ARG_ENABLE(audio,
221 AC_HELP_STRING([--enable-audio], [Enable the audio subsystem [[default=yes]]]), 227 AC_HELP_STRING([--enable-audio], [Enable the audio subsystem [[default=yes]]]),
222 , enable_audio=yes) 228 , enable_audio=yes)
223 if test x$enable_audio != xyes; then 229 if test x$enable_audio != xyes; then
224 AC_DEFINE(SDL_AUDIO_DISABLED) 230 AC_DEFINE(SDL_AUDIO_DISABLED)
2431 SOURCES="$SOURCES $srcdir/src/audio/paudio/*.c" 2437 SOURCES="$SOURCES $srcdir/src/audio/paudio/*.c"
2432 have_audio=yes 2438 have_audio=yes
2433 ;; 2439 ;;
2434 esac 2440 esac
2435 fi 2441 fi
2442 # Set up files for the atomic operations library
2443 if test x$enable_atomic = xyes; then
2444 case $ARCH in
2445 linux)
2446 AC_DEFINE(SDL_ATOMIC_LINUX)
2447 SOURCES="$SOURCES $srcdir/src/atomic/linux/*.c"
2448 have_atomic=yes
2449 ;;
2450 esac
2451 fi
2436 # Set up files for the joystick library 2452 # Set up files for the joystick library
2437 if test x$enable_joystick = xyes; then 2453 if test x$enable_joystick = xyes; then
2438 case $ARCH in 2454 case $ARCH in
2439 linux) 2455 linux)
2440 AC_DEFINE(SDL_JOYSTICK_LINUX) 2456 AC_DEFINE(SDL_JOYSTICK_LINUX)