summaryrefslogtreecommitdiffstats
path: root/indexlib/tests/configure.in.in
diff options
context:
space:
mode:
Diffstat (limited to 'indexlib/tests/configure.in.in')
-rw-r--r--indexlib/tests/configure.in.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/indexlib/tests/configure.in.in b/indexlib/tests/configure.in.in
new file mode 100644
index 000000000..5b1811045
--- /dev/null
+++ b/indexlib/tests/configure.in.in
@@ -0,0 +1,8 @@
+AC_ARG_ENABLE(indexlib-unittests,
+ [ --enable-indexlib-unittests Enables indexlib's unittests (used for debugging only, needs boost::unit_test)],
+ [case "${enableval}" in
+ yes) indexlib_unittests=true ;;
+ no) indexlib_unittests=false;;
+ *) AC_MSG_ERROR(bad value ${enableval} for --enable-indexlib-unittests) ;;
+ esac],[indexlib_unittests=false])
+ AM_CONDITIONAL(enable_indexlib_unittests, test x$indexlib_unittests = xtrue)