diff options
author | Vincent Torri <vincent.torri@gmail.com> | 2020-05-01 21:03:06 +0200 |
---|---|---|
committer | Vincent Torri <vincent.torri@gmail.com> | 2020-05-01 21:03:06 +0200 |
commit | 0542dd27cac69093717144db334cf98a20779aed (patch) | |
tree | a7555d7109d293b72d5e11460156473a0c733ecc | |
parent | 1980c68e636f33e5e5addbd642b62e73ee2922b8 (diff) | |
download | portable-0542dd27cac69093717144db334cf98a20779aed.tar.gz portable-0542dd27cac69093717144db334cf98a20779aed.tar.bz2 portable-0542dd27cac69093717144db334cf98a20779aed.zip |
enable tests by default
-rw-r--r-- | configure.ac | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/configure.ac b/configure.ac index 367938a..0221351 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -67,12 +67,11 @@ AC_ARG_ENABLE([extratests], | |||
67 | AM_CONDITIONAL([ENABLE_EXTRATESTS], [test "x$enable_extratests" = xyes]) | 67 | AM_CONDITIONAL([ENABLE_EXTRATESTS], [test "x$enable_extratests" = xyes]) |
68 | 68 | ||
69 | AC_ARG_ENABLE([tests], | 69 | AC_ARG_ENABLE([tests], |
70 | [AS_HELP_STRING([--disable-tests], [Enable tests (default: yes)])], | 70 | [AS_HELP_STRING([--disable-tests], [Disable tests @<:@default=yes@:>@])], |
71 | [if test "x$enable-tests" = "xyes"; then | 71 | [ |
72 | have_tests="yes" | 72 | if ! test "x${enable_tests}" = "xyes"; then |
73 | else | 73 | enable_tests="no" |
74 | have_tests="no" | 74 | fi], |
75 | fi], | ||
76 | [have_tests="yes"]) | 75 | [have_tests="yes"]) |
77 | AM_CONDITIONAL([ENABLE_TESTS], [test "x$have_tests" = xyes]) | 76 | AM_CONDITIONAL([ENABLE_TESTS], [test "x$have_tests" = xyes]) |
78 | 77 | ||