summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2006-05-24 13:12:28 +0200
committerWerner Koch <wk@gnupg.org>2006-05-24 13:12:28 +0200
commitb61df862a7c9a8d85412b89965f5f814ab939180 (patch)
tree00a7b079e758030f618490700e3ae7b84b171776 /configure.ac
parentg10/ does build again. (diff)
downloadgnupg2-b61df862a7c9a8d85412b89965f5f814ab939180.tar.xz
gnupg2-b61df862a7c9a8d85412b89965f5f814ab939180.zip
Still making gpg2 work.
At least the keyids are now correctly computed again.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac14
1 files changed, 14 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 05882c2c9..b1b432a75 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1080,6 +1080,20 @@ if test "$GCC" = yes; then
fi
fi
+#
+# This is handy for debugging so the compiler doesn't rearrange
+# things and eliminate variables.
+#
+AC_ARG_ENABLE(optimization,
+ AC_HELP_STRING([--disable-optimization],
+ [disable compiler optimization]),
+ [if test $enableval = no ; then
+ CFLAGS=`echo $CFLAGS | sed 's/-O[[0-9]]//'`
+ fi])
+
+
+
+
AC_SUBST(NETLIBS)
AC_SUBST(W32LIBS)