From 42d47c5f805b61892456b17a0e5b2632d73745bd Mon Sep 17 00:00:00 2001 From: Havoc Pennington Date: Wed, 30 Apr 2003 21:15:44 +0000 Subject: 2003-04-30 Havoc Pennington * Makefile.am: add a check-local that complains if you didn't configure with --enable-tests --- Makefile.am | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 2bf9a509..91c976e8 100644 --- a/Makefile.am +++ b/Makefile.am @@ -24,6 +24,14 @@ EXTRA_DIST = \ all-local: Doxyfile +if DBUS_BUILD_TESTS +### nothing +else +check-local: + echo "You have to configure with --enable-tests to make check" ; \ + exit 1 +endif + if DBUS_GCOV_ENABLED clean-gcov: find -name "*.da" -o -name "*.gcov" | xargs rm || true -- cgit