aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xconfigure5
-rw-r--r--dists/autogen/m4/fpc.m42
2 files changed, 4 insertions, 3 deletions
diff --git a/configure b/configure
index 385a5eb1..547bb569 100755
--- a/configure
+++ b/configure
@@ -2502,7 +2502,7 @@ fi
# valgrind
# Check whether --enable-valgrind was given.
if test "${enable_valgrind+set}" = set; then
- enableval=$enable_valgrind; test x$enableval = xyes && PFLAGS_EXTRA="$PFLAGS_EXTRA -pv"
+ enableval=$enable_valgrind; test x$enableval = xyes && PFLAGS_EXTRA="$PFLAGS_EXTRA -gv"
fi
@@ -6935,7 +6935,8 @@ $debug ||
if test -n "$CONFIG_FILES"; then
-ac_cr=' '
+ac_cr='
+'
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
ac_cs_awk_cr='\\r'
diff --git a/dists/autogen/m4/fpc.m4 b/dists/autogen/m4/fpc.m4
index f7bf9e20..740071cb 100644
--- a/dists/autogen/m4/fpc.m4
+++ b/dists/autogen/m4/fpc.m4
@@ -89,7 +89,7 @@ AC_ARG_ENABLE(gprof,
AC_ARG_ENABLE(valgrind,
[AS_HELP_STRING([--enable-valgrind],
[Enable debugging with valgrind @<:@default=no@:>@])],
- [test x$enableval = xyes && PFLAGS_EXTRA="$PFLAGS_EXTRA -pv"], [])
+ [test x$enableval = xyes && PFLAGS_EXTRA="$PFLAGS_EXTRA -gv"], [])
# heaptrace
AC_ARG_ENABLE(heaptrace,