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 --- bus/Makefile.am | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'bus') diff --git a/bus/Makefile.am b/bus/Makefile.am index 823d9cc4..9836ffd3 100644 --- a/bus/Makefile.am +++ b/bus/Makefile.am @@ -102,4 +102,12 @@ endif #### Extra dist -EXTRA_DIST=$(CONFIG_IN_FILES) $(SCRIPT_IN_FILES) \ No newline at end of file +EXTRA_DIST=$(CONFIG_IN_FILES) $(SCRIPT_IN_FILES) + +if DBUS_BUILD_TESTS +### nothing +else +check-local: + echo "You have to configure with --enable-tests to make check" ; \ + exit 1 +endif -- cgit