Commit 3ae01c4d authored by Sam Hocevar's avatar Sam Hocevar

* ./configure.ac.in: if CoreAudio is too old, disable the coreaudio_resampler

    module for the moment.
parent 406929a4
......@@ -2276,10 +2276,14 @@ if test "x${enable_coreaudio}" != "xno" &&
then
AC_CHECK_HEADERS(CoreAudio/CoreAudio.h,
[ BUILTINS="${BUILTINS} coreaudio"
PLUGINS="${PLUGINS} coreaudio_resampler"
LDFLAGS_coreaudio="${LDFLAGS_coreaudio} -framework CoreAudio"
LDFLAGS_coreaudio_resampler="${LDFLAGS_coreaudio_resampler} -framework AudioToolbox" ],
[ AC_MSG_ERROR([cannot find CoreAudio headers]) ])
AC_MSG_CHECKING(for kAudioConverterPrimeMethod in AudioToolbox/AudioConverter.h)
AC_EGREP_HEADER(kAudioConverterPrimeMethod,AudioToolbox/AudioConverter.h,[
AC_MSG_RESULT(yes)
PLUGINS="${PLUGINS} coreaudio_resampler"
LDFLAGS_coreaudio_resampler="${LDFLAGS_coreaudio_resampler} -framework AudioToolbox"
],[ AC_MSG_RESULT(no) ])
], [ AC_MSG_ERROR([cannot find CoreAudio headers]) ])
fi
dnl
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment