From fc992874724b58d41e15463b5a81335182f9b061 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sebastian=20Dr=C3=B6ge?= Date: Wed, 8 Jan 2014 10:41:24 +0100 Subject: [PATCH] configure: Fix AC_COMPILE_IFELSE usage --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 7109ee8..bfccf6e 100644 --- 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 ]], [[ + 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 *** -- 2.7.4