summaryrefslogtreecommitdiff
path: root/configure
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
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')
-rwxr-xr-xconfigure15
1 files changed, 15 insertions, 0 deletions
diff --git a/configure b/configure
index 4baa4aa..e87797e 100755
--- a/configure
+++ b/configure
@@ -633,6 +633,7 @@ ac_includes_default="\
#endif"
ac_subst_vars='LTLIBOBJS
+ONLINE_UNIT_TESTS
LIBOBJS
DL_LIBS
ICONV_LIBS
@@ -774,6 +775,7 @@ with_gnu_ld
with_sysroot
enable_libtool_lock
with_zlib
+enable_online_unit_tests
'
ac_precious_vars='build_alias
host_alias
@@ -1415,6 +1417,8 @@ Optional Features:
--enable-fast-install[=PKGS]
optimize for fast installation [default=yes]
--disable-libtool-lock avoid locking (might break parallel builds)
+ --enable-online-unit-tests=[yes/no]
+ Enable online-unit-tests [default=yes]
Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
@@ -16388,6 +16392,17 @@ $as_echo "#define PREFER_PORTABLE_SNPRINTF 1" >>confdefs.h
fi
+## Options
+# Check whether --enable-online-unit-tests was given.
+if test "${enable_online_unit_tests+set}" = set; then :
+ enableval=$enable_online_unit_tests; online_unit_tests=$enableval
+else
+ online_unit_tests=maybe
+fi
+
+ONLINE_UNIT_TESTS=$online_unit_tests
+
+
ac_config_files="$ac_config_files Makefile src/Makefile man/Makefile m4/Makefile templates/Makefile lang/Makefile html/Makefile libtest/Makefile tests/Makefile"
cat >confcache <<\_ACEOF