configure: add missing AC_LANG_PROGRAM call to DirectShow tests
authorBrian Pepple <bpepple@fedoraproject.org>
Wed, 15 Aug 2012 22:28:09 +0000 (18:28 -0400)
committerTim-Philipp Müller <tim@centricular.net>
Thu, 16 Aug 2012 21:56:17 +0000 (22:56 +0100)
https://bugzilla.gnome.org/show_bug.cgi?id=681952

configure.ac

index 62c926e..c2419a7 100644 (file)
@@ -567,7 +567,7 @@ AG_GST_CHECK_FEATURE(DIRECTSHOW, [DirectShow plug-in], winks, [
   LDFLAGS="$LDFLAGS $DIRECTX_LDFLAGS"
   LIBS="$LIBS -lole32 -luuid -lstrmiids"
   AC_MSG_CHECKING(for DirectShow LDFLAGS)
-  AC_LINK_IFELSE([
+  AC_LINK_IFELSE([AC_LANG_PROGRAM([[
 #include <windows.h>
 #include <strmif.h>
 #include <uuids.h>
@@ -580,7 +580,7 @@ int main () {
 
   return 0;
 }
-],
+]])],
     [HAVE_DIRECTSHOW="yes"],
     [HAVE_DIRECTSHOW="no"])
   AC_MSG_RESULT($HAVE_DIRECTSHOW)