aboutsummaryrefslogtreecommitdiff
path: root/test/linux-generic/m4/performance.m4
diff options
context:
space:
mode:
Diffstat (limited to 'test/linux-generic/m4/performance.m4')
-rw-r--r--test/linux-generic/m4/performance.m49
1 files changed, 4 insertions, 5 deletions
diff --git a/test/linux-generic/m4/performance.m4 b/test/linux-generic/m4/performance.m4
index 7f54b96d7..05b3a9905 100644
--- a/test/linux-generic/m4/performance.m4
+++ b/test/linux-generic/m4/performance.m4
@@ -1,9 +1,8 @@
##########################################################################
# Enable/disable test-perf-proc
##########################################################################
-test_perf_proc=no
AC_ARG_ENABLE([test-perf-proc],
- [ --enable-test-perf-proc run test in test/performance in process mode],
- [if test "x$enableval" = "xyes"; then
- test_perf_proc=yes
- fi])
+ [AS_HELP_STRING([--enable-test-perf-proc], [run test in test/performance in process mode])],
+ [test_perf_proc=$enableval],
+ [test_perf_proc=yes])
+AM_CONDITIONAL([test_perf_proc], [test x$test_perf_proc = xyes ])