diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index e584113..888ca19 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -66,6 +66,15 @@ AC_ARG_ENABLE([extratests], | |||
66 | AS_HELP_STRING([--enable-extratests], [Enable extra tests that may be unreliable on some platforms])) | 66 | AS_HELP_STRING([--enable-extratests], [Enable extra tests that may be unreliable on some platforms])) |
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], | ||
70 | [AS_HELP_STRING([--disable-tests], [Disable tests @<:@default=enabled@:>@])], | ||
71 | [ | ||
72 | if ! test "x${enable_tests}" = "xyes"; then | ||
73 | enable_tests="no" | ||
74 | fi], | ||
75 | [enable_tests="yes"]) | ||
76 | AM_CONDITIONAL([ENABLE_TESTS], [test "x$enable_tests" = xyes]) | ||
77 | |||
69 | # Add CPU-specific alignment flags | 78 | # Add CPU-specific alignment flags |
70 | old_cflags=$CFLAGS | 79 | old_cflags=$CFLAGS |
71 | CFLAGS="$CFLAGS -I$srcdir/include" | 80 | CFLAGS="$CFLAGS -I$srcdir/include" |