summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorJonathon Jongsma <jjongsma@gnome.org>2008-01-30 10:55:12 -0600
committerJonathon Jongsma <jjongsma@gnome.org>2008-01-30 10:55:12 -0600
commitbdf0c9c560f05df92a39edc6c3d5034faf56b63c (patch)
tree97c189ca78ff86f51bc48f649cf6d35d98ef6931 /configure.in
parent6a01afe2f703c4eb5300e417d8391f538bc25b81 (diff)
* configure.in: enable people with CAIROMM_DEVEL variable set to explicitly
deisable automated tests * m4/ax_boost_unit_test_framework.m4: update to slightly newer boost unittest checking scripts
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in13
1 files changed, 10 insertions, 3 deletions
diff --git a/configure.in b/configure.in
index 7163d3b..d03feca 100644
--- a/configure.in
+++ b/configure.in
@@ -108,9 +108,16 @@ AC_ARG_ENABLE(tests,
AC_HELP_STRING([--enable-tests=yes|no],
[enable automated tests (default is no)]),
ENABLE_TESTS=$enableval,
- ENABLE_TESTS=no)
-if test x$CAIROMM_DEVEL = xon ; then
- ENABLE_TESTS=yes
+ ENABLE_TESTS=auto)
+
+if test x$ENABLE_TESTS = xauto ; then
+ dnl unless explicitly disabled, attempt to enable tests for developers and
+ dnl disable it for others
+ if test x$CAIROMM_DEVEL = xon ; then
+ ENABLE_TESTS=yes
+ else
+ ENABLE_TESTS=no
+ fi
fi
if test x$ENABLE_TESTS = xyes ; then