aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2020-05-01 13:07:11 +0200
committerVincent Torri <vincent.torri@gmail.com>2020-05-01 13:07:11 +0200
commit65d07eece1daee6460bd2d4fcb85253ce9b05ea5 (patch)
tree8ae946cacd5b000a066d60f72bac747779d9dd9f /configure.ac
parentceeb3bb4f423db4fc29704aa5a4c577f08103194 (diff)
downloadportable-65d07eece1daee6460bd2d4fcb85253ce9b05ea5.tar.gz
portable-65d07eece1daee6460bd2d4fcb85253ce9b05ea5.tar.bz2
portable-65d07eece1daee6460bd2d4fcb85253ce9b05ea5.zip
Add configure option to disable tests
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index e584113..7b16ac5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -66,6 +66,10 @@ 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]))
67AM_CONDITIONAL([ENABLE_EXTRATESTS], [test "x$enable_extratests" = xyes]) 67AM_CONDITIONAL([ENABLE_EXTRATESTS], [test "x$enable_extratests" = xyes])
68 68
69AC_ARG_ENABLE([tests],
70 AS_HELP_STRING([--enable-tests], [Enable tests]))
71AM_CONDITIONAL([ENABLE_TESTS], [test "x$enable_tests" = xyes])
72
69# Add CPU-specific alignment flags 73# Add CPU-specific alignment flags
70old_cflags=$CFLAGS 74old_cflags=$CFLAGS
71CFLAGS="$CFLAGS -I$srcdir/include" 75CFLAGS="$CFLAGS -I$srcdir/include"