diff options
author | Lennart Poettering <lennart@poettering.net> | 2009-01-20 00:55:36 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2009-01-20 00:55:36 +0100 |
commit | 47a2f9e3da9a66a308f311340410640f2f4cb28f (patch) | |
tree | 991dbb317db801c8e02c8b372f6ddba8079a9916 /configure.ac | |
parent | d5e895d5cbf9a9a658c66347cb034f1c97133280 (diff) | |
parent | bc41fdb20d04ad7f42d5ff28f32a9b3ff3ca52f3 (diff) |
Merge commit 'flameeyes/buildfixes-2'
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 8586dcdd..411a14d6 100644 --- a/configure.ac +++ b/configure.ac @@ -101,6 +101,12 @@ for flag in $DESIRED_FLAGS ; do CC_CHECK_CFLAGS([$flag], [CFLAGS="$CFLAGS $flag"]) done +dnl Check whether to build tests by default (as compile-test) or not +AC_ARG_ENABLE([default-build-tests], + AS_HELP_STRING([--disable-default-build-tests], [Build test programs only during make check])) + +AM_CONDITIONAL([BUILD_TESTS_DEFAULT], [test "x$enable_default_build_tests" = "xno"]) + # Native atomic operation support AC_ARG_ENABLE([atomic-arm-linux-helpers], AS_HELP_STRING([--disable-atomic-arm-linux-helpers],[use inline asm or libatomic_ops instead]), |