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 11ce202..acf4598 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 @@
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 @@
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 56e3fae..3bdb667 100644
--- a/configure.in
+++ b/configure.in
@@ -398,7 +398,7 @@
esac
case $ac_sys_system in
Darwin*)
- OPT="$OPT -no-cpp-precomp";;
+ OPT="$OPT -Wno-long-double -no-cpp-precomp";;
esac
fi