Commit 60e9c3a7 authored by Derk-Jan Hartman's avatar Derk-Jan Hartman

* When building coreaudio module, also build auhal module

parent 844ac679
...@@ -3377,13 +3377,13 @@ if test "${enable_coreaudio}" != "no" && ...@@ -3377,13 +3377,13 @@ if test "${enable_coreaudio}" != "no" &&
(test "${SYS}" = "darwin" || test "${enable_coreaudio}" = "yes") (test "${SYS}" = "darwin" || test "${enable_coreaudio}" = "yes")
then then
AC_CHECK_HEADERS(CoreAudio/CoreAudio.h, AC_CHECK_HEADERS(CoreAudio/CoreAudio.h,
[ VLC_ADD_BUILTINS([coreaudio]) [ VLC_ADD_BUILTINS([coreaudio auhal])
VLC_ADD_LDFLAGS([coreaudio],[-framework CoreAudio]) VLC_ADD_LDFLAGS([coreaudio auhal],[-framework CoreAudio -framework AudioUnit])
AC_MSG_CHECKING(for kAudioConverterPrimeMethod in AudioToolbox/AudioConverter.h) AC_MSG_CHECKING(for kAudioConverterPrimeMethod in AudioToolbox/AudioConverter.h)
AC_EGREP_HEADER(kAudioConverterPrimeMethod,AudioToolbox/AudioConverter.h,[ AC_EGREP_HEADER(kAudioConverterPrimeMethod,AudioToolbox/AudioConverter.h,[
AC_MSG_RESULT(yes) AC_MSG_RESULT(yes)
VLC_ADD_PLUGINS([coreaudio_resampler]) VLC_ADD_PLUGINS([coreaudio_resampler])
VLC_ADD_LDFLAGS([coreaudio_resampler],[-framework AudioToolbox]) VLC_ADD_LDFLAGS([coreaudio_resampler auhal],[-framework AudioToolbox])
],[ AC_MSG_RESULT(no) ]) ],[ AC_MSG_RESULT(no) ])
], [ AC_MSG_ERROR([cannot find CoreAudio headers]) ]) ], [ AC_MSG_ERROR([cannot find CoreAudio headers]) ])
fi fi
......
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