From d3fb9ada324ede93d8dc789a621380c1c7828d21 Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Mon, 2 Apr 2012 09:25:13 -0500 Subject: Turns out we don't need the valgrind libs to use those macros, the pkgconfig file is over zealous. Thanks go to sewardj! --- configure.ac | 4 ++-- tests/Makefile.am | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index e397cb5..a46901f 100644 --- a/configure.ac +++ b/configure.ac @@ -118,10 +118,10 @@ AM_CONDITIONAL([WANT_TESTS], [test "x$enable_tests" != "xno"]) AS_IF([test "x$enable_tests" != "xno"],[ PKG_CHECK_MODULES(DBUSMENUTESTS, json-glib-1.0 >= $JSON_GLIB_REQUIRED_VERSION - gio-unix-2.0 >= $GIO_UNIX_REQUIRED_VERSION - valgrind, + gio-unix-2.0 >= $GIO_UNIX_REQUIRED_VERSION, [have_tests=yes] ) +PKG_CHECK_MODULES(DBUSMENUTESTSVALGRIND, valgrind) ]) AC_SUBST(DBUSMENUTESTS_CFLAGS) diff --git a/tests/Makefile.am b/tests/Makefile.am index 82f6a9d..805adb9 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -223,6 +223,7 @@ test_json_server_CFLAGS = \ -I $(srcdir) \ $(DBUSMENUGLIB_CFLAGS) \ $(DBUSMENUTESTS_CFLAGS) \ + $(DBUSMENUTESTSVALGRIND_CFLAGS) \ -Wall -Werror test_json_server_LDADD = \ -- cgit v1.2.3