#! /bin/sh
-# From configure.in Revision: 45264 .
+# From configure.in Revision: 45278 .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.59 for python 2.5.
#
then
case $GCC in
yes)
+ if test "$CC" != 'g++' ; then
+ STRICT_PROTO="-Wstrict-prototypes"
+ fi
case $ac_cv_prog_cc_g in
yes)
if test "$Py_DEBUG" = 'true' ; then
# Optimization messes up debuggers, so turn it off for
# debug builds.
- OPT="-g -Wall -Wstrict-prototypes"
+ OPT="-g -Wall $STRICT_PROTO"
else
- OPT="-g -O3 -Wall -Wstrict-prototypes"
+ OPT="-g -O3 -Wall $STRICT_PROTO"
fi
;;
*)
- OPT="-O3 -Wall -Wstrict-prototypes"
+ OPT="-O3 -Wall $STRICT_PROTO"
;;
esac
case $ac_sys_system in
then
case $GCC in
yes)
+ if test "$CC" != 'g++' ; then
+ STRICT_PROTO="-Wstrict-prototypes"
+ fi
case $ac_cv_prog_cc_g in
yes)
if test "$Py_DEBUG" = 'true' ; then
# Optimization messes up debuggers, so turn it off for
# debug builds.
- OPT="-g -Wall -Wstrict-prototypes"
+ OPT="-g -Wall $STRICT_PROTO"
else
- OPT="-g -O3 -Wall -Wstrict-prototypes"
+ OPT="-g -O3 -Wall $STRICT_PROTO"
fi
;;
*)
- OPT="-O3 -Wall -Wstrict-prototypes"
+ OPT="-O3 -Wall $STRICT_PROTO"
;;
esac
case $ac_sys_system in