From fbf358df2b4830eb962a295f53351453c1ca849c Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 20 Oct 2009 07:19:11 +0200 Subject: [PATCH] configure.ac: added option --enable-test This will enable the test suite. --- configure.ac | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/configure.ac b/configure.ac index 85642ca..1b615d9 100644 --- a/configure.ac +++ b/configure.ac @@ -375,6 +375,13 @@ if test "x$enable_debug" = xno; then AM_CFLAGS="$AM_CFLAGS -DNDEBUG" fi +AC_ARG_ENABLE(test, + AS_HELP_STRING([--enable-test], + [build the test programs @<:@default=no@:>@]),, + enable_test=$enable_debug) + +AM_CONDITIONAL(ENABLE_TEST, test "x$enable_test" = xyes) + dnl dnl CFLAGS -- 2.30.2