From: Max Kellermann Date: Tue, 20 Oct 2009 05:19:11 +0000 (+0200) Subject: configure.ac: added option --enable-test X-Git-Tag: release-0.16~72 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=fbf358df2b4830eb962a295f53351453c1ca849c;p=ncmpc.git configure.ac: added option --enable-test This will enable the test suite. --- 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