summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorXavier Roche <xroche@users.noreply.github.com>2013-06-04 19:11:38 +0000
committerXavier Roche <xroche@users.noreply.github.com>2013-06-04 19:11:38 +0000
commit73ced63e1fdafc67239b8b8c03eba7d8aa3ad1a5 (patch)
tree1c0aeaf603c882bb35a1333fce189bd46719b0e8 /configure.ac
parent832985d1517f9b7d45f2814b5069acec1ddf2512 (diff)
Added switchs to enable or disable online tests (currently enabled by default):
--enable-online-unit-tests --disable-online-unit-tests
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac8
1 files changed, 8 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index e21c618..a3175a4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -187,6 +187,14 @@ AC_DEFINE(SETUID, 1,[Check for setuid])], AC_MSG_RESULT([not found]))
### Check for snprintf
AC_FUNC_SNPRINTF()
+## Options
+AC_ARG_ENABLE([online-unit-tests],
+ [AC_HELP_STRING([--enable-online-unit-tests=@<:@yes/no@:>@],
+ [Enable online-unit-tests @<:@default=yes@:>@])],
+ [online_unit_tests=$enableval],
+ [online_unit_tests=maybe])
+AC_SUBST(ONLINE_UNIT_TESTS,$online_unit_tests)
+
AC_OUTPUT([ Makefile
src/Makefile
man/Makefile