summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
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