From: Jack Jansen Date: Tue, 12 Mar 2002 15:25:52 +0000 (+0000) Subject: Add a -Wno-long-double flag to the compile flags on Mac OS X. Fixes bug X-Git-Tag: v2.3c1~6517 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=524a098f544a7215c5fecf5fdb5b48d77e274a04;p=python Add a -Wno-long-double flag to the compile flags on Mac OS X. Fixes bug 525481. (Probably not a 2.2.1 candidate, unless the fix that introduced a long double into objimpl.h (rev. 2.44) is backported to 2.2.1). --- diff --git a/configure b/configure index 11ce202d5c..acf4598f94 100755 --- a/configure +++ b/configure @@ -1,6 +1,6 @@ #! /bin/sh -# From configure.in Revision: 1.293 +# From configure.in Revision: 1.295 # Guess values for system-dependent variables and create Makefiles. # Generated automatically using autoconf version 2.13 @@ -1428,7 +1428,7 @@ then fi case $ac_sys_system in AIX*) - LINKCC="\$(srcdir)/Modules/makexp_aix Modules/python.exp \"\" \$(LIBRARY); $(LINKCC)";; + LINKCC="\$(srcdir)/Modules/makexp_aix Modules/python.exp \"\" \$(LIBRARY); $LINKCC";; dgux*) LINKCC="LD_RUN_PATH=$libdir $(LINKCC)";; Monterey64*) @@ -1689,7 +1689,7 @@ then esac case $ac_sys_system in Darwin*) - OPT="$OPT -no-cpp-precomp";; + OPT="$OPT -Wno-long-double -no-cpp-precomp";; esac fi diff --git a/configure.in b/configure.in index 56e3faeb3a..3bdb667434 100644 --- a/configure.in +++ b/configure.in @@ -398,7 +398,7 @@ then esac case $ac_sys_system in Darwin*) - OPT="$OPT -no-cpp-precomp";; + OPT="$OPT -Wno-long-double -no-cpp-precomp";; esac fi