aboutsummaryrefslogtreecommitdiff
path: root/test/common_plat/m4/miscellaneous.m4
diff options
context:
space:
mode:
Diffstat (limited to 'test/common_plat/m4/miscellaneous.m4')
-rw-r--r--test/common_plat/m4/miscellaneous.m49
1 files changed, 4 insertions, 5 deletions
diff --git a/test/common_plat/m4/miscellaneous.m4 b/test/common_plat/m4/miscellaneous.m4
index cc881edb7..dac236a67 100644
--- a/test/common_plat/m4/miscellaneous.m4
+++ b/test/common_plat/m4/miscellaneous.m4
@@ -1,9 +1,8 @@
##########################################################################
# Enable/disable test-cpp
##########################################################################
-test_cpp=no
AC_ARG_ENABLE([test-cpp],
- [ --enable-test-cpp run basic test aginast cpp],
- [if test "x$enableval" = "xyes"; then
- test_cpp=yes
- fi])
+ [AS_HELP_STRING([--disable-test-cpp], [run basic test aginast cpp])],
+ [test_cpp=$enableval],
+ [test_cpp=yes])
+AM_CONDITIONAL([test_cpp], [test x$test_cpp = xyes ])