aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xconfigure4
-rw-r--r--configure.ac4
2 files changed, 2 insertions, 6 deletions
diff --git a/configure b/configure
index eff3888..82ec447 100755
--- a/configure
+++ b/configure
@@ -12947,9 +12947,7 @@ fi
# Check if enable profiling
# Check whether --enable-profiling was given.
if test "${enable_profiling+set}" = set; then :
- enableval=$enable_profiling; enable_profiling=yes
-else
- :
+ enableval=$enable_profiling;
fi
if test x$enable_profiling = xyes; then
diff --git a/configure.ac b/configure.ac
index 8778a03..b2656e7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -58,9 +58,7 @@ fi
# Check if enable profiling
AC_ARG_ENABLE([profiling],
- AS_HELP_STRING([--enable-profiling], [Enable iperf3 profiling binary]),
- [enable_profiling=yes],
- [:])
+ AS_HELP_STRING([--enable-profiling], [Enable iperf3 profiling binary]))
AM_CONDITIONAL([ENABLE_PROFILING], [test x$enable_profiling = xyes])
# Checks for header files.