summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorThomas Heller <theller@ctypes.org>2007-12-13 21:20:29 (GMT)
committerThomas Heller <theller@ctypes.org>2007-12-13 21:20:29 (GMT)
commite552959184ff58bfdcd72a6cc8d1460aaf82537d (patch)
tree13fc0991e94f8512ea71cd2dc4b9e40a2ee4f8f7 /configure
parent7c862f8077e75bc841cbf1628c70f465831f2377 (diff)
downloadcpython-e552959184ff58bfdcd72a6cc8d1460aaf82537d.zip
cpython-e552959184ff58bfdcd72a6cc8d1460aaf82537d.tar.gz
cpython-e552959184ff58bfdcd72a6cc8d1460aaf82537d.tar.bz2
Ran autoconf.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure8
1 files changed, 6 insertions, 2 deletions
diff --git a/configure b/configure
index d03d798..4aa1730 100755
--- a/configure
+++ b/configure
@@ -1,5 +1,5 @@
#! /bin/sh
-# From configure.in Revision: 59242 .
+# From configure.in Revision: 59484 .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.61 for python 2.6.
#
@@ -4430,6 +4430,10 @@ then
if test "$CC" != 'g++' ; then
STRICT_PROTO="-Wstrict-prototypes"
fi
+ # For gcc 4.x we need to use -fwrapv so lets check if its supported
+ if "$CC" -v --help 2>/dev/null |grep -- -fwrapv > /dev/null; then
+ WRAP="-fwrapv"
+ fi
case $ac_cv_prog_cc_g in
yes)
if test "$Py_DEBUG" = 'true' ; then
@@ -4437,7 +4441,7 @@ then
# debug builds.
OPT="-g -Wall $STRICT_PROTO"
else
- OPT="-g -O3 -Wall $STRICT_PROTO"
+ OPT="-g $WRAP -O3 -Wall $STRICT_PROTO"
fi
;;
*)