diff options
Diffstat (limited to '')
-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 |