configure
changeset 7391 a29895dc5e9a
parent 7388 058097637b4c
child 7433 8f118396264b
equal deleted inserted replaced
7390:e4b98404baa4 7391:a29895dc5e9a
  1509   --enable-mmx            use MMX assembly routines [[default=yes]]
  1509   --enable-mmx            use MMX assembly routines [[default=yes]]
  1510   --enable-3dnow          use 3DNow! assembly routines [[default=yes]]
  1510   --enable-3dnow          use 3DNow! assembly routines [[default=yes]]
  1511   --enable-sse            use SSE assembly routines [[default=yes]]
  1511   --enable-sse            use SSE assembly routines [[default=yes]]
  1512   --enable-sse2           use SSE2 assembly routines [[default=no]]
  1512   --enable-sse2           use SSE2 assembly routines [[default=no]]
  1513   --enable-altivec        use Altivec assembly routines [[default=yes]]
  1513   --enable-altivec        use Altivec assembly routines [[default=yes]]
  1514   --enable-oss            support the OSS audio API [[default=yes]]
  1514   --enable-oss            support the OSS audio API [[default=maybe]]
  1515   --enable-alsa           support the ALSA audio API [[default=yes]]
  1515   --enable-alsa           support the ALSA audio API [[default=yes]]
  1516   --disable-alsatest      Do not try to compile and run a test Alsa program
  1516   --disable-alsatest      Do not try to compile and run a test Alsa program
  1517   --enable-alsa-shared    dynamically load ALSA audio support [[default=yes]]
  1517   --enable-alsa-shared    dynamically load ALSA audio support [[default=yes]]
  1518   --enable-esd            support the Enlightened Sound Daemon [[default=yes]]
  1518   --enable-esd            support the Enlightened Sound Daemon [[default=yes]]
  1519   --disable-esdtest       Do not try to compile and run a test ESD program
  1519   --disable-esdtest       Do not try to compile and run a test ESD program
 17533 {
 17533 {
 17534     # Check whether --enable-oss was given.
 17534     # Check whether --enable-oss was given.
 17535 if test "${enable_oss+set}" = set; then :
 17535 if test "${enable_oss+set}" = set; then :
 17536   enableval=$enable_oss;
 17536   enableval=$enable_oss;
 17537 else
 17537 else
 17538   enable_oss=yes
 17538   enable_oss=maybe
 17539 fi
 17539 fi
       
 17540 
       
 17541 
       
 17542     # OpenBSD "has" OSS, but it's not really for app use. They want you to
       
 17543     #  use sndio instead. So on there, we default to disabled. You can force
       
 17544     #  it on if you really want, though.
       
 17545     if test x$enable_oss = xmaybe; then
       
 17546         enable_oss=yes
       
 17547         case "$host" in
       
 17548             *-*-openbsd*)
       
 17549                 enable_oss=no;;
       
 17550         esac
       
 17551     fi
 17540 
 17552 
 17541     if test x$enable_audio = xyes -a x$enable_oss = xyes; then
 17553     if test x$enable_audio = xyes -a x$enable_oss = xyes; then
 17542         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OSS audio support" >&5
 17554         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OSS audio support" >&5
 17543 $as_echo_n "checking for OSS audio support... " >&6; }
 17555 $as_echo_n "checking for OSS audio support... " >&6; }
 17544         have_oss=no
 17556         have_oss=no
 21421 
 21433 
 21422             # Condition variables
 21434             # Condition variables
 21423             # We can fake these with semaphores and mutexes if necessary
 21435             # We can fake these with semaphores and mutexes if necessary
 21424             SOURCES="$SOURCES $srcdir/src/thread/pthread/SDL_syscond.c"
 21436             SOURCES="$SOURCES $srcdir/src/thread/pthread/SDL_syscond.c"
 21425 
 21437 
       
 21438             # Thread local storage
       
 21439             SOURCES="$SOURCES $srcdir/src/thread/pthread/SDL_systls.c"
       
 21440 
 21426             have_threads=yes
 21441             have_threads=yes
 21427         fi
 21442         fi
 21428     fi
 21443     fi
 21429 }
 21444 }
 21430 
 21445 
 22204 $as_echo "#define SDL_AUDIO_DRIVER_SUNAUDIO 1" >>confdefs.h
 22219 $as_echo "#define SDL_AUDIO_DRIVER_SUNAUDIO 1" >>confdefs.h
 22205 
 22220 
 22206                 SOURCES="$SOURCES $srcdir/src/audio/sun/*.c"
 22221                 SOURCES="$SOURCES $srcdir/src/audio/sun/*.c"
 22207                 have_audio=yes
 22222                 have_audio=yes
 22208             ;;
 22223             ;;
 22209             netbsd|openbsd)
 22224             netbsd)  # Don't use this on OpenBSD, it's busted.
 22210 
 22225 
 22211 $as_echo "#define SDL_AUDIO_DRIVER_BSD 1" >>confdefs.h
 22226 $as_echo "#define SDL_AUDIO_DRIVER_BSD 1" >>confdefs.h
 22212 
 22227 
 22213                 SOURCES="$SOURCES $srcdir/src/audio/bsd/*.c"
 22228                 SOURCES="$SOURCES $srcdir/src/audio/bsd/*.c"
 22214                 have_audio=yes
 22229                 have_audio=yes
 22365         # Set up files for the thread library
 22380         # Set up files for the thread library
 22366         if test x$enable_threads = xyes; then
 22381         if test x$enable_threads = xyes; then
 22367 
 22382 
 22368 $as_echo "#define SDL_THREAD_WINDOWS 1" >>confdefs.h
 22383 $as_echo "#define SDL_THREAD_WINDOWS 1" >>confdefs.h
 22369 
 22384 
 22370             SOURCES="$SOURCES $srcdir/src/thread/windows/SDL_sysmutex.c"
 22385             SOURCES="$SOURCES $srcdir/src/thread/windows/*.c"
 22371             SOURCES="$SOURCES $srcdir/src/thread/windows/SDL_syssem.c"
       
 22372             SOURCES="$SOURCES $srcdir/src/thread/windows/SDL_systhread.c"
       
 22373             SOURCES="$SOURCES $srcdir/src/thread/generic/SDL_syscond.c"
 22386             SOURCES="$SOURCES $srcdir/src/thread/generic/SDL_syscond.c"
 22374             have_threads=yes
 22387             have_threads=yes
 22375         fi
 22388         fi
 22376         # Set up files for the timer library
 22389         # Set up files for the timer library
 22377         if test x$enable_timers = xyes; then
 22390         if test x$enable_timers = xyes; then