gegl r2720 - trunk



Author: neo
Date: Mon Nov 10 20:32:12 2008
New Revision: 2720
URL: http://svn.gnome.org/viewvc/gegl?rev=2720&view=rev

Log:
2008-11-10  Sven Neumann  <sven gimp org>

	* configure.ac: test for the presence of avformat.h in the
	expected location.



Modified:
   trunk/ChangeLog
   trunk/configure.ac

Modified: trunk/configure.ac
==============================================================================
--- trunk/configure.ac	(original)
+++ trunk/configure.ac	Mon Nov 10 20:32:12 2008
@@ -775,6 +775,13 @@
   PKG_CHECK_MODULES(AVFORMAT, libavformat libavcodec,
     have_libavformat="yes",
     have_libavformat="no  (libavformat not found)")
+  if test "x$have_libavformat" = "xyes"; then
+    gegl_save_CPPFLAGS=$CPPFLAGS
+    CPPFLAGS="$AVFORMAT_CFLAGS $CPPFLAGS"
+    AC_CHECK_HEADER([libavformat/avformat.h], ,
+      [have_libavformat="no  (avformat.h not found where expected)"])
+    CPPFLAGS=$gegl_save_CPPFLAGS
+  fi
 else
   have_libavformat="no  (disabled)"
 fi



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]