m4/gst-check.m4: AC_SUBST CFLAGS and LIBS
authorThomas Vander Stichele <thomas@apestaart.org>
Fri, 20 Jan 2006 14:48:45 +0000 (14:48 +0000)
committerThomas Vander Stichele <thomas@apestaart.org>
Fri, 20 Jan 2006 14:48:45 +0000 (14:48 +0000)
Original commit message from CVS:

* m4/gst-check.m4:
AC_SUBST CFLAGS and LIBS

ChangeLog
m4/gst-check.m4

index 69aefd9..1bf4905 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
 
+       * m4/gst-check.m4:
+         AC_SUBST CFLAGS and LIBS
+
+2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
+
        * m4/gst-args.m4:
        * m4/gst-valgrind.m4:
          properly give a "no" result manually when providing a
index 6a5734f..39423b9 100644 (file)
@@ -29,6 +29,11 @@ AC_DEFUN([GST_CHECK_MODULES],
     else
       AC_MSG_NOTICE([no $module >= $minver ($name) found])
     fi
+  else
+    dnl PKG_CHECK_MODULES does not AC_SUBST our CFLAGS and LIBS;
+    dnl for convenience, we do
+    AC_SUBST([$module]_CFLAGS)
+    AC_SUBST([$module]_LIBS)
   fi
 ]))