diff options
author | Ted Gould <ted@gould.cx> | 2012-04-02 09:25:13 -0500 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2012-04-02 09:25:13 -0500 |
commit | d3fb9ada324ede93d8dc789a621380c1c7828d21 (patch) | |
tree | a87926900366d88b12884046a39e96de06afccdb | |
parent | 86df02fa5a703cacd492db1b999f9449c3247c6b (diff) | |
download | libdbusmenu-d3fb9ada324ede93d8dc789a621380c1c7828d21.tar.gz libdbusmenu-d3fb9ada324ede93d8dc789a621380c1c7828d21.tar.bz2 libdbusmenu-d3fb9ada324ede93d8dc789a621380c1c7828d21.zip |
Turns out we don't need the valgrind libs to use those macros, the pkgconfig file is over zealous. Thanks go to sewardj!
-rw-r--r-- | configure.ac | 4 | ||||
-rw-r--r-- | 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 = \ |