--- linuxsampler/trunk/configure.in 2008/12/07 01:26:46 1800 +++ linuxsampler/trunk/configure.in 2009/03/02 15:33:38 1855 @@ -5,7 +5,7 @@ LINUXSAMPLER_RELEASE_MAJOR=0 LINUXSAMPLER_RELEASE_MINOR=5 -LINUXSAMPLER_RELEASE_BUILD=1.8cvs +LINUXSAMPLER_RELEASE_BUILD=1.10cvs #------------------------------------------------------------------------------------ # The following is the libtool / shared library version. This doesn't have to @@ -415,6 +415,28 @@ AM_CONDITIONAL(HAVE_COREMIDI, test $have_coremidi = "1") AC_DEFINE_UNQUOTED(HAVE_COREMIDI,$have_coremidi,[Define to 1 if you have CoreMIDI installed.]) +# CoreAudio (OS X) +AC_ARG_ENABLE(coreaudio-driver, + [ --disable-coreaudio-driver + Disable support for the Apple CoreAudio system.], + [config_coreaudio_driver="$enableval"], + [config_coreaudio_driver="yes"] +) +have_coreaudio=0 +if test "$config_coreaudio_driver" = "yes"; then + AC_CHECK_HEADER(CoreAudio/CoreAudio.h, + have_coreaudio=1, + have_coreaudio=0 + ) + if test "$have_coreaudio" = "1"; then + have_audio_output_driver="true" + fi +else + echo "CoreAudio support disabled by configure script parameter" +fi +AM_CONDITIONAL(HAVE_COREAUDIO, test $have_coreaudio = "1") +AC_DEFINE_UNQUOTED(HAVE_COREAUDIO,$have_coreaudio,[Define to 1 if you have CoreAudio installed.]) + # MME MIDI (Win32) AC_ARG_ENABLE(mmemidi-driver, [ --disable-mmemidi-driver @@ -463,6 +485,13 @@ AC_SUBST(VSTSDK_DIR) AM_CONDITIONAL(HAVE_VST, test "x$VSTSDK_DIR" != "x") +# AU +AC_CHECK_HEADERS(AudioUnit/AudioUnit.h, + have_au=1, + have_au=0) +AM_CONDITIONAL(HAVE_AU, test $have_au = "1") +AM_CONDITIONAL(HAVE_AUFLAGS, test "$AUFLAGS" != "") + # have we found at least one MIDI input and one audio output driver ? if test "$have_midi_input_driver" = "false"; then @@ -1204,6 +1233,7 @@ src/hostplugins/dssi/Makefile \ src/hostplugins/lv2/Makefile \ src/hostplugins/vst/Makefile \ + src/hostplugins/au/Makefile \ linuxsampler.spec \ debian/Makefile \ Artwork/Makefile \