comparison configure.in @ 398:d219b0e02f5f

Added Atari audio support (thanks Patrice!)
author Sam Lantinga <slouken@libsdl.org>
date Mon, 10 Jun 2002 20:42:53 +0000
parents 469d5c0da01d
children cfcf6bf1640c
comparison
equal deleted inserted replaced
397:283d348cb624 398:d219b0e02f5f
433 AUDIO_SUBDIRS="$AUDIO_SUBDIRS disk" 433 AUDIO_SUBDIRS="$AUDIO_SUBDIRS disk"
434 AUDIO_DRIVERS="$AUDIO_DRIVERS disk/libaudio_disk.la" 434 AUDIO_DRIVERS="$AUDIO_DRIVERS disk/libaudio_disk.la"
435 fi 435 fi
436 } 436 }
437 437
438 dnl Set up the Atari Audio driver
439 CheckAtariAudio()
440 {
441 AC_ARG_ENABLE(mintaudio,
442 [ --enable-mintaudio support Atari audio driver [default=yes]],
443 , enable_mintaudio=yes)
444 if test x$enable_audio = xyes -a x$enable_mintaudio = xyes; then
445 mintaudio=no
446 AC_CHECK_HEADER(mint/falcon.h, have_mint_falcon_hdr=yes)
447 if test x$have_mint_falcon_hdr = xyes; then
448 mintaudio=yes
449 CFLAGS="$CFLAGS -DMINTAUDIO_SUPPORT"
450 AUDIO_SUBDIRS="$AUDIO_SUBDIRS mint"
451 AUDIO_DRIVERS="$AUDIO_DRIVERS mint/libaudio_mintaudio.la"
452 fi
453 fi
454 }
455
438 dnl See if we can use x86 assembly blitters 456 dnl See if we can use x86 assembly blitters
439 # NASM is available from: http://nasm.octium.net/ 457 # NASM is available from: http://nasm.octium.net/
440 CheckNASM() 458 CheckNASM()
441 { 459 {
442 dnl Make sure we are running on an x86 platform 460 dnl Make sure we are running on an x86 platform
2378 CheckDummyVideo 2396 CheckDummyVideo
2379 CheckDiskAudio 2397 CheckDiskAudio
2380 CheckAtariBiosEvent 2398 CheckAtariBiosEvent
2381 CheckAtariXbiosVideo 2399 CheckAtariXbiosVideo
2382 CheckAtariGemVideo 2400 CheckAtariGemVideo
2401 CheckAtariAudio
2383 CheckPTH 2402 CheckPTH
2384 # Set up files for the main() stub 2403 # Set up files for the main() stub
2385 COPY_ARCH_SRC(src/main, linux, SDL_main.c) 2404 COPY_ARCH_SRC(src/main, linux, SDL_main.c)
2386 # Set up files for the audio library 2405 # Set up files for the audio library
2387 if test x$enable_audio = xyes; then 2406 if test x$enable_threads = xyes -a x$enable_pth = xyes; then
2388 AUDIO_SUBDIRS="$AUDIO_SUBDIRS sun" 2407 if test x$enable_audio = xyes; then
2389 AUDIO_DRIVERS="$AUDIO_DRIVERS sun/libaudio_sun.la" 2408 CFLAGS="$CFLAGS -DSUNAUDIO_SUPPORT"
2409 AUDIO_SUBDIRS="$AUDIO_SUBDIRS sun"
2410 AUDIO_DRIVERS="$AUDIO_DRIVERS sun/libaudio_sun.la"
2411 fi
2390 fi 2412 fi
2391 # Set up files for the joystick library 2413 # Set up files for the joystick library
2392 if test x$enable_joystick = xyes; then 2414 if test x$enable_joystick = xyes; then
2393 JOYSTICK_SUBDIRS="$JOYSTICK_SUBDIRS mint" 2415 JOYSTICK_SUBDIRS="$JOYSTICK_SUBDIRS mint"
2394 JOYSTICK_DRIVERS="$JOYSTICK_DRIVERS mint/libjoystick_mint.la" 2416 JOYSTICK_DRIVERS="$JOYSTICK_DRIVERS mint/libjoystick_mint.la"
2573 src/audio/sun/Makefile 2595 src/audio/sun/Makefile
2574 src/audio/ums/Makefile 2596 src/audio/ums/Makefile
2575 src/audio/windib/Makefile 2597 src/audio/windib/Makefile
2576 src/audio/windx5/Makefile 2598 src/audio/windx5/Makefile
2577 src/audio/disk/Makefile 2599 src/audio/disk/Makefile
2600 src/audio/mint/Makefile
2578 src/video/Makefile 2601 src/video/Makefile
2579 src/video/XFree86/Makefile 2602 src/video/XFree86/Makefile
2580 src/video/XFree86/extensions/Makefile 2603 src/video/XFree86/extensions/Makefile
2581 src/video/XFree86/Xinerama/Makefile 2604 src/video/XFree86/Xinerama/Makefile
2582 src/video/XFree86/Xv/Makefile 2605 src/video/XFree86/Xv/Makefile