configure.in
changeset 936 84f930aebaeb
parent 935 f8d5ddc7aef1
child 939 c7c04f811994
     1.1 --- a/configure.in	Sat Aug 21 02:06:30 2004 +0000
     1.2 +++ b/configure.in	Sat Aug 21 03:21:44 2004 +0000
     1.3 @@ -490,29 +490,6 @@
     1.4      fi
     1.5  }
     1.6  
     1.7 -dnl Check whether we want to use CoreAudio
     1.8 -CheckCoreAudio()
     1.9 -{
    1.10 -    if test x$enable_audio = xyes; then
    1.11 -        AC_MSG_CHECKING(for CoreAudio audio support)
    1.12 -        have_coreaudio=no
    1.13 -        AC_TRY_COMPILE([
    1.14 -          #include <AudioUnit/AudioUnit.h>
    1.15 -        ],[
    1.16 -          AudioUnitInputCallback callback;
    1.17 -        ],[
    1.18 -        have_coreaudio=yes
    1.19 -        ])
    1.20 -        AC_MSG_RESULT($have_coreaudio)
    1.21 -        # Set up files for the audio library
    1.22 -        if test x$have_coreaudio = xyes; then
    1.23 -            CFLAGS="$CFLAGS -DCOREAUDIO_SUPPORT"
    1.24 -            AUDIO_SUBDIRS="$AUDIO_SUBDIRS macosx"
    1.25 -            AUDIO_DRIVERS="$AUDIO_DRIVERS macosx/libaudio_macosx.la"
    1.26 -        fi
    1.27 -    fi
    1.28 -}
    1.29 -
    1.30  dnl See if we can use x86 assembly blitters
    1.31  # NASM is available from: http://nasm.octium.net/
    1.32  CheckNASM()
    1.33 @@ -2531,7 +2508,6 @@
    1.34          ARCH=macosx
    1.35          CheckDummyVideo
    1.36          CheckDiskAudio
    1.37 -        CheckCoreAudio
    1.38          CheckQUARTZ
    1.39          CheckMacGL
    1.40          CheckPTHREAD
    1.41 @@ -2542,6 +2518,8 @@
    1.42          fi
    1.43          # Set up files for the audio library
    1.44          if test x$enable_audio = xyes; then
    1.45 +            AUDIO_SUBDIRS="$AUDIO_SUBDIRS macosx"
    1.46 +            AUDIO_DRIVERS="$AUDIO_DRIVERS macosx/libaudio_macosx.la"
    1.47              AUDIO_SUBDIRS="$AUDIO_SUBDIRS macrom"
    1.48              AUDIO_DRIVERS="$AUDIO_DRIVERS macrom/libaudio_macrom.la"
    1.49          fi