From f571d6337267a618ec8533fd5a72b79a19884868 Mon Sep 17 00:00:00 2001 From: Pekka Paalanen Date: Tue, 31 Jan 2012 16:35:19 +0200 Subject: [PATCH] configure: use --disable-tests, since default is enabled Add a nice help text, too. Signed-off-by: Pekka Paalanen --- configure.ac | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 84780971..7bc9881c 100644 --- a/configure.ac +++ b/configure.ac @@ -149,7 +149,10 @@ AC_ARG_ENABLE(tablet-shell, [ --enable-tablet-shell],, AM_CONDITIONAL(ENABLE_TABLET_SHELL, test x$enable_tablet_shell == xyes) -AC_ARG_ENABLE(tests, [ --enable-tests],,enable_tests=yes) +AC_ARG_ENABLE(tests, + AS_HELP_STRING([--disable-tests], + [do not build unit tests [default=enabled]]),, + enable_tests=yes) AM_CONDITIONAL(BUILD_TESTS, test x$enable_tests == xyes) if test "x$GCC" = "xyes"; then