mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
osxaudio: Fix configure check for osxaudio plugin
This commit is contained in:
parent
2b1f967101
commit
12601adbf0
1 changed files with 12 additions and 7 deletions
19
configure.ac
19
configure.ac
|
@ -462,19 +462,24 @@ AG_GST_CHECK_FEATURE(SUNAUDIO, [Sun Audio], sunaudio, [
|
||||||
|
|
||||||
dnl *** OSX Audio ***
|
dnl *** OSX Audio ***
|
||||||
translit(dnm, m, l) AM_CONDITIONAL(USE_OSX_AUDIO, true)
|
translit(dnm, m, l) AM_CONDITIONAL(USE_OSX_AUDIO, true)
|
||||||
have_ios="no"
|
HAVE_IOS="no"
|
||||||
AG_GST_CHECK_FEATURE(OSX_AUDIO, [OSX audio], osxaudio, [
|
AG_GST_CHECK_FEATURE(OSX_AUDIO, [OSX audio], osxaudio, [
|
||||||
AC_CHECK_HEADER(CoreAudio/CoreAudio.h,
|
AC_CHECK_HEADER(CoreAudio/CoreAudio.h,
|
||||||
HAVE_OSX_AUDIO="yes",
|
[HAVE_OSX_AUDIO="yes"],
|
||||||
dnl *** Check for the iOS headers ***
|
|
||||||
[AC_CHECK_HEADER(CoreAudio/CoreAudioTypes.h,
|
[AC_CHECK_HEADER(CoreAudio/CoreAudioTypes.h,
|
||||||
[HAVE_OSX_AUDIO="YES";have_ios="yes"], [HAVE_OSX_AUDIO="yes";have_ios="no"]
|
[
|
||||||
)])
|
HAVE_OSX_AUDIO="yes"
|
||||||
|
HAVE_IOS="yes"
|
||||||
|
], [
|
||||||
|
HAVE_OSX_AUDIO="no"
|
||||||
|
HAVE_IOS="no"
|
||||||
|
])]
|
||||||
|
)
|
||||||
])
|
])
|
||||||
if test "x$have_ios" = "xyes"; then
|
if test "x$HAVE_IOS" = "xyes"; then
|
||||||
AC_DEFINE(HAVE_IOS, 1, [building for iOS platofrm])
|
AC_DEFINE(HAVE_IOS, 1, [building for iOS platofrm])
|
||||||
fi
|
fi
|
||||||
AM_CONDITIONAL(HAVE_IOS, test "x$have_ios" = "xyes")
|
AM_CONDITIONAL(HAVE_IOS, test "x$HAVE_IOS" = "xyes")
|
||||||
|
|
||||||
dnl *** OS X video ***
|
dnl *** OS X video ***
|
||||||
translit(dnm, m, l) AM_CONDITIONAL(USE_OSX_VIDEO, true)
|
translit(dnm, m, l) AM_CONDITIONAL(USE_OSX_VIDEO, true)
|
||||||
|
|
Loading…
Reference in a new issue