summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--INSTALL4
-rw-r--r--configure.in2
2 files changed, 2 insertions, 4 deletions
diff --git a/INSTALL b/INSTALL
index e91622ad..c6bd647c 100644
--- a/INSTALL
+++ b/INSTALL
@@ -21,9 +21,7 @@ Configure options for GNUPG
option "--debug 128" displays a memory statistic after
the program run.
---disable-m-guard Disable the integrated malloc checking code. As a
- side-effect, this removes all debugging code and uses
- the -O2 flag for all C files.
+--enable-m-guard Enable the integrated malloc checking code.
--disable-dynload If you have problems with dynamic loading, this option
disables all dynamic loading stuff.
diff --git a/configure.in b/configure.in
index 0bd463e5..e1695436 100644
--- a/configure.in
+++ b/configure.in
@@ -92,7 +92,7 @@ MPI_OPT_FLAGS=""
if test "$GCC" = yes; then
CFLAGS="$CFLAGS -Wall"
dnl Always enable optimazation in MPI
- if echo "$CFLAGS" | grep "-O" >/dev/null ; then
+ if echo "$CFLAGS" | grep "[-]O" >/dev/null ; then
:
else
MPI_OPT_FLAGS=-O2