aboutsummaryrefslogtreecommitdiff
path: root/helper/m4/configure.m4
diff options
context:
space:
mode:
Diffstat (limited to 'helper/m4/configure.m4')
-rw-r--r--helper/m4/configure.m49
1 files changed, 4 insertions, 5 deletions
diff --git a/helper/m4/configure.m4 b/helper/m4/configure.m4
index 343f5e3cf..2e2943d14 100644
--- a/helper/m4/configure.m4
+++ b/helper/m4/configure.m4
@@ -1,12 +1,11 @@
##########################################################################
# Enable/disable test-helper
##########################################################################
-test_helper=no
AC_ARG_ENABLE([test-helper],
- [ --enable-test-helper run test in helper/test],
- [if test "x$enableval" = "xyes"; then
- test_helper=yes
- fi])
+ [AS_HELP_STRING([--enable-test-helper], [run test in helper/test])],
+ [test_helper=$enableval],
+ [test_helper=yes])
+AM_CONDITIONAL([test_helper], [test x$test_helper = xyes ])
##########################################################################
# Enable/disable helper-ext