diff options
author | Vincent Torri <vincent.torri@gmail.com> | 2020-05-01 16:15:14 +0200 |
---|---|---|
committer | Vincent Torri <vincent.torri@gmail.com> | 2020-05-01 16:15:14 +0200 |
commit | 1980c68e636f33e5e5addbd642b62e73ee2922b8 (patch) | |
tree | 5a2922cc800dc6f8eb6e4f6c98b288ba504c7e57 | |
parent | 65d07eece1daee6460bd2d4fcb85253ce9b05ea5 (diff) | |
download | portable-1980c68e636f33e5e5addbd642b62e73ee2922b8.tar.gz portable-1980c68e636f33e5e5addbd642b62e73ee2922b8.tar.bz2 portable-1980c68e636f33e5e5addbd642b62e73ee2922b8.zip |
enable tests by default
-rw-r--r-- | configure.ac | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 7b16ac5..367938a 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -67,8 +67,14 @@ 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([--enable-tests], [Enable tests])) | 70 | [AS_HELP_STRING([--disable-tests], [Enable tests (default: yes)])], |
71 | AM_CONDITIONAL([ENABLE_TESTS], [test "x$enable_tests" = xyes]) | 71 | [if test "x$enable-tests" = "xyes"; then |
72 | have_tests="yes" | ||
73 | else | ||
74 | have_tests="no" | ||
75 | fi], | ||
76 | [have_tests="yes"]) | ||
77 | AM_CONDITIONAL([ENABLE_TESTS], [test "x$have_tests" = xyes]) | ||
72 | 78 | ||
73 | # Add CPU-specific alignment flags | 79 | # Add CPU-specific alignment flags |
74 | old_cflags=$CFLAGS | 80 | old_cflags=$CFLAGS |