m4/: properly give a no result manually when providing a not-found action to fix...
authorThomas Vander Stichele <thomas@apestaart.org>
Fri, 20 Jan 2006 14:28:44 +0000 (14:28 +0000)
committerThomas Vander Stichele <thomas@apestaart.org>
Fri, 20 Jan 2006 14:28:44 +0000 (14:28 +0000)
Original commit message from CVS:

* m4/gst-args.m4:
* m4/gst-valgrind.m4:
properly give a no result manually when providing a
not-found action to fix configure output

ChangeLog
m4/gst-args.m4
m4/gst-valgrind.m4

index 4e6f872..69aefd9 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 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
+         not-found action to fix configure output
+
+2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
+
        * m4/pkg.m4:
          update with a more recent version
 
index 9b7f612..4b7aacd 100644 (file)
@@ -57,7 +57,11 @@ AC_DEFUN([GST_ARG_VALGRIND],
   VALGRIND_REQ="2.1"
   if test "x$USE_VALGRIND" = xyes; then
     PKG_CHECK_MODULES(VALGRIND, valgrind > $VALGRIND_REQ,
-      USE_VALGRIND="yes", USE_VALGRIND="no")
+      USE_VALGRIND="yes",
+      [
+        USE_VALGRIND="no"
+        AC_MSG_RESULT([no])
+      ])
   fi
   if test "x$USE_VALGRIND" = xyes; then
     AC_DEFINE(HAVE_VALGRIND, 1, [Define if valgrind should be used])
index e6219d0..7faee96 100644 (file)
@@ -16,7 +16,11 @@ AC_DEFUN([GST_VALGRIND_CHECK],
   VALGRIND_REQ="2.1"
   if test "x$USE_VALGRIND" = xyes; then
     PKG_CHECK_MODULES(VALGRIND, valgrind > $VALGRIND_REQ,
-      USE_VALGRIND="yes", USE_VALGRIND="no")
+      USE_VALGRIND="yes",
+      [
+        USE_VALGRIND="no"
+        AC_MSG_RESULT([no])
+      ])
   fi
 
   if test "x$USE_VALGRIND" = xyes; then