Commit Graph

587 Commits

Author SHA1 Message Date
Mark Dickinson
1de3327015 It's wrong to use AC_REPLACE_FUNCS for hypot, since there's no longer any
Python/hypot.c replacement file.  Use AC_CHECK_FUNCS instead.  This change
should be backported to 2.6 and 3.0.
2009-01-04 20:19:41 +00:00
Mark Dickinson
d181e3a246 isinf and isnan are macros, not functions; fix configure script
to use AC_CHECK_DECLS instead of AC_CHECK_FUNCS for these.
(See discussion in issue #4506)
2009-01-04 13:57:26 +00:00
Mark Dickinson
04b272336d Add autoconf test to detect x87-style double rounding, as described in
issue #2937.  This information can be helpful for diagnosing platform-
specific problems in math and cmath.  The result of the test also
serves as a fairly reliable indicator of whether the x87 floating-point
instructions (as opposed to SSE2) are in use on Intel x86/x86_64 systems.
2009-01-04 12:29:36 +00:00
Ronald Oussoren
79f90498bc Fix for issue4472: "configure --enable-shared doesn't work on OSX" 2009-01-02 10:44:46 +00:00
Benjamin Peterson
eac68f425a run autoconf 2008-11-16 17:54:55 +00:00
Martin v. Löwis
bb86d83134 Issue #4204: Fixed module build errors on FreeBSD 4. 2008-11-04 20:40:09 +00:00
Martin v. Löwis
174440b5ec Bump version to 2.7. Regenerate. 2008-10-03 08:59:41 +00:00
Gregory P. Smith
e080cdf30a reran autoconf 2008-09-07 19:19:04 +00:00
Gregory P. Smith
cc023f1194 reran autoconf for r66283's checkin 2008-09-07 05:15:58 +00:00
Gregory P. Smith
ff7b2d5ac6 Fix issue 3645: OpenBSD required -lcurses when linking with readline
to get the correct completion_matches function to avoid crashes on
x86_64 (amd64).

I don't have OpenBSD to test myself.  I tested that it does not break
anything on linux.  It is simple.
2008-09-03 05:57:48 +00:00
Ronald Oussoren
a4cb472fb0 Fix typo in the arch commandline 2008-08-12 12:29:13 +00:00
Ronald Oussoren
5a849d4911 Fix buglet in fix for issue3381 2008-07-22 07:06:00 +00:00
Benjamin Peterson
4347c44f18 #3381 fix framework builds on 10.4 2008-07-17 15:59:24 +00:00
Benjamin Peterson
0e6ea5d715 fix framework install on Mac 10.4 2008-07-16 20:17:04 +00:00
Mark Dickinson
dc1688adbf Fix typo in configure.in, and propagate configure.in changes from r64002
to configure and pyconfig.h.in.
2008-06-27 22:20:14 +00:00
Ronald Oussoren
0d236eb05a Fix build issue on OSX 10.4 2008-06-06 21:31:33 +00:00
Neal Norwitz
2a3e3d0446 Aldo Cortesi confirmed this is still needed for OpenBSD 4.2 and 4.3.
(I didn't regen configure, since I don't have a working autoconf.)
2008-06-06 04:47:01 +00:00
Ronald Oussoren
5640ce2f1e MacOS X: Enable 4-way universal builds
This patch adds a new configure argument on OSX:
        --with-universal-archs=[32-bit|64-bit|all]

When used with the --enable-universalsdk option this controls which
CPU architectures are includes in the framework. The default is 32-bit,
meaning i386 and ppc. The most useful alternative is 'all', which includes
all 4 CPU architectures supported by MacOS X (i386, ppc, x86_64 and ppc64).

This includes limited support for the Carbon bindings in 64-bit mode as well,
limited because (a) I haven't done extensive testing and (b) a large portion
of the Carbon API's aren't available in 64-bit mode anyway.

I've also duplicated a feature of Apple's build of python: setting the
environment variable 'ARCHFLAGS' controls the '-arch' flags used for building
extensions using distutils.
2008-06-05 12:58:24 +00:00
Mark Dickinson
0b334a64f2 Revert temporary checkin in revision 63545. 2008-05-23 18:04:06 +00:00
Martin v. Löwis
8c255e4173 Patch #1722225: Support QNX 6. 2008-05-23 15:06:50 +00:00
Mark Dickinson
8f66a4a3db Temporary checkin to get configure to report more
information about the processor on the Debian/alpha
buildbot.  (I'm still trying to track down the cause
of the test_math failures for this machine.)  This
checkin will be reverted within the next 48 hours.
2008-05-23 04:22:50 +00:00
Ronald Oussoren
580c7fec67 Fix for issue #2573: Can't change the framework name on OS X builds
This introduces a new configure option: --with-framework-name=NAME
(defaulting to 'Python'). This allows you to install several copies
of the Python framework with different names (such as a normal build
and a debug build).
2008-05-02 19:45:11 +00:00
Mark Dickinson
6513466270 Issue #1496032. Add -mieee to BASECFLAGS on alpha, when gcc is
the compiler.  This should(?) help to fix failures in test_math
and test_cmath on Linux/alpha.

Also add configure message reporting the result of uname -m, as
a debugging aid.
2008-04-25 16:11:04 +00:00
Mark Dickinson
7a3d8641a9 Make configure test for tanh(-0.) == -0. committed in r62447 actually
work.  (The test wasn't properly linked with libm.  Sigh.)
2008-04-22 00:54:27 +00:00
Mark Dickinson
265d7384b9 test_math and test_cmath are failing on the FreeBSD 6.2 trunk buildbot,
apparently because tanh(-0.) loses the sign of zero on that platform.
If true, this is a bug in FreeBSD.

Added a configure test to verify this.  I still need to figure out
how best to deal with this failure.
2008-04-21 22:32:24 +00:00