527 |
|
AC_CHECK_FRAMEWORK(CoreAudio, [#include <CoreAudio/CoreAudio.h>]) |
528 |
|
AC_CHECK_FRAMEWORK(AudioUnit, [#include <AudioUnit/AudioUnit.h>]) |
529 |
|
AC_CHECK_FRAMEWORK(AudioToolbox, [#include <AudioToolbox/AudioToolbox.h>]) |
530 |
+ |
AC_CHECK_FRAMEWORK(AppKit, []) |
531 |
|
|
532 |
|
dnl Select system-dependant sources. |
533 |
|
SERIALSRC=serial_unix.cpp |
565 |
|
fi |
566 |
|
if [[ "x$ac_cv_framework_Carbon" = "xyes" ]]; then |
567 |
|
EXTFSSRC=../MacOSX/extfs_macosx.cpp |
568 |
< |
PREFSSRC="../MacOSX/prefs_macosx.mm ../MacOSX/PrefsEditor/PrefsEditor.mm" |
569 |
< |
CPPFLAGS="$CPPFLAGS -I../MacOSX/PrefsEditor" |
570 |
< |
fi |
571 |
< |
if [[ "x$ac_cv_framework_CoreAudio" = "xyes" ]]; then |
568 |
> |
if [[ "x$ac_cv_framework_AppKit" = "xyes" ]]; then |
569 |
> |
PREFSSRC="../MacOSX/prefs_macosx.mm ../MacOSX/PrefsEditor/PrefsEditor.mm" |
570 |
> |
CPPFLAGS="$CPPFLAGS -I../MacOSX/PrefsEditor" |
571 |
> |
fi |
572 |
> |
fi |
573 |
> |
if [[ "x$ac_cv_framework_CoreAudio" = "xyes" -a "x$WANT_SDL_AUDIO" = "xno" ]]; then |
574 |
|
AUDIOSRC="../MacOSX/audio_macosx.cpp ../MacOSX/AudioBackEnd.cpp ../MacOSX/AudioDevice.cpp ../MacOSX/MacOSX_sound_if.cpp" |
575 |
|
fi |
576 |
|
;; |