mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 08:46:40 +00:00
configure: Fix AC_COMPILE_IFELSE usage
This commit is contained in:
parent
ae08e9a4cf
commit
fc99287472
1 changed files with 2 additions and 2 deletions
|
@ -490,11 +490,11 @@ AG_GST_CHECK_FEATURE(OSX_VIDEO, [OSX video], osxvideosink, [
|
||||||
dnl in case header OpenGL/gl.h is found on other platforms (or older, unsupported OS X)
|
dnl in case header OpenGL/gl.h is found on other platforms (or older, unsupported OS X)
|
||||||
dnl also require Snow Leopard or newer
|
dnl also require Snow Leopard or newer
|
||||||
|
|
||||||
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <faad.h>]], [[
|
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
|
||||||
#if MAC_OS_X_VERSION_MIN_REQUIRED < 1060
|
#if MAC_OS_X_VERSION_MIN_REQUIRED < 1060
|
||||||
#error Too old OSX version
|
#error Too old OSX version
|
||||||
#endif
|
#endif
|
||||||
]])],[HAVE_OSX_VIDEO="yes"],[HAVE_OSX_VIDEO="no"])
|
]], [[return 0;]])],[HAVE_OSX_VIDEO="yes"],[HAVE_OSX_VIDEO="no"])
|
||||||
])
|
])
|
||||||
|
|
||||||
dnl *** Video 4 Linux 2 ***
|
dnl *** Video 4 Linux 2 ***
|
||||||
|
|
Loading…
Reference in a new issue