From e6550ca982c1cf408475bbe51766c3a560832ae2 Mon Sep 17 00:00:00 2001 From: Alessandro Decina Date: Sun, 29 May 2011 13:16:21 +0200 Subject: [PATCH] configure.ac: fix avc check so that it tries to link to AVCVideoServices Avoids avc plugin from being built when AVCVideoServices is not installed --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index c99599c23b..617e07e6ba 100644 --- a/configure.ac +++ b/configure.ac @@ -544,7 +544,7 @@ AG_GST_CHECK_FEATURE(AVC, [AVC Video Services], avcsrc, [ CPPFLAGS="$CPPFLAGS -framework AVCVideoServices -framework CoreFoundation" save_LIBS="$LIBS" LIBS="$LIBS -framework AVCVideoServices -framework CoreFoundation" - AC_TRY_COMPILE([], [], [HAVE_AVC=yes], [HAVE_AVC=no]) + AC_TRY_LINK([], [], [HAVE_AVC=yes], [HAVE_AVC=no]) LIBS=$save_LIBS CPPFLAGS=$save_CPPFLAGS AC_LANG_POP([C++])