summaryrefslogtreecommitdiffstats
path: root/gcc/configure
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/configure')
-rwxr-xr-xgcc/configure7
1 files changed, 4 insertions, 3 deletions
diff --git a/gcc/configure b/gcc/configure
index 817b3d6e88b..a457d3eb3ac 100755
--- a/gcc/configure
+++ b/gcc/configure
@@ -6986,11 +6986,12 @@ else
enable_gather_detailed_mem_stats=no
fi
-if test x$enable_gather_detailed_mem_stats = xyes ; then
+gather_stats=`if test $enable_gather_detailed_mem_stats != no; then echo 1; else echo 0; fi`
-$as_echo "#define GATHER_STATISTICS 1" >>confdefs.h
+cat >>confdefs.h <<_ACEOF
+#define GATHER_STATISTICS $gather_stats
+_ACEOF
-fi
# -------------------------------
# Miscenalleous configure options
OpenPOWER on IntegriCloud