projects
/
platform
/
upstream
/
gst-plugins-good.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae08e9a
)
configure: Fix AC_COMPILE_IFELSE usage
author
Sebastian Dröge
<sebastian@centricular.com>
Wed, 8 Jan 2014 09:41:24 +0000
(10:41 +0100)
committer
Sebastian Dröge
<sebastian@centricular.com>
Wed, 8 Jan 2014 09:41:24 +0000
(10:41 +0100)
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index 7109ee8328d8fe9e5c086e922aa8025d4aa96d9a..bfccf6ef0f5cae29b81146845dc2ed32e35bd61c 100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-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 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
#error Too old OSX version
#endif
- ]])],[HAVE_OSX_VIDEO="yes"],[HAVE_OSX_VIDEO="no"])
+
]], [[return 0;
]])],[HAVE_OSX_VIDEO="yes"],[HAVE_OSX_VIDEO="no"])
])
dnl *** Video 4 Linux 2 ***