m4/: properly give a no result manually when providing a not-found action to fix configure output

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
parent f8a28472
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:
......
......@@ -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])
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment