Commit Graph

620 Commits

Author SHA1 Message Date
Mark Dickinson c4920e86ef Issue #7272: Add configure test to detect whether sem_open works
properly, and use this to skip test_multiprocessing on platforms
where sem_open raises a signal.  This should fix some FreeBSD buildbot
failures for test_multiprocessing.
2009-11-20 19:30:22 +00:00
Mark Dickinson ab44226198 Regenerate configure with GNU autoconf 2.61. 2009-11-20 19:27:43 +00:00
Ronald Oussoren 315cd0c739 Fix for issue #7085
On MacOSX 10.6 the CoreFoundation framework must be initialized on the main
thread, the constructor function in that framework will cause an SIGABRT when
it is called on any other thread.

Because a number of extension link (indirectly) to CoreFoundation and the
Python core itself didn't the interpreter crashed when importing some
extensions, such as _locale, on a secondary thread.

This fix ensures that Python is linked to CoreFoundation on OSX, which results
in the CoreFoundation constructor being called when Python is loaded. This
does not require code changes.
2009-11-19 16:25:21 +00:00
Mark Dickinson 82864d1ab1 Issue #7228: Add '%lld' and '%llu' support to PyFormat_FromString,
PyFormat_FromStringV and PyErr_Format.
2009-11-15 16:18:58 +00:00
Mark Dickinson a548deeb29 Issue #5792: Extend short float repr support to x86 platforms using suncc or icc.
Many thanks Stefan Krah for help and OpenSolaris testing.
2009-11-15 13:12:43 +00:00
Gregory P. Smith c9ff3a7941 regenerated from r76052 2009-11-02 02:03:16 +00:00
Gregory P. Smith 49437c20fd build using r76050 2009-11-02 01:38:35 +00:00
Gregory P. Smith 373469a251 configure generated from r76028 2009-11-01 21:03:38 +00:00
Antoine Pitrou d9ff74e51d Some platforms have rl_completion_append_character but not rl_completion_suppress_append.
Reported by Mark D.
2009-10-26 19:16:46 +00:00
Mark Dickinson 99abd145dc Configure check for double rounding should take BASECFLAGS into account 2009-10-24 13:44:16 +00:00
Mark Dickinson 1d6e2e1833 Issue #7117 (backport py3k float repr) continued:
- add double endianness detection to configure script
 - add configure-time check to see whether we can use inline
   assembly to get and set x87 control word in configure script
 - add functions to get and set x87 control word in Python/pymath.c
 - add pyport.h logic to determine whether it's safe to use the
   short float repr or not
2009-10-24 13:28:38 +00:00
Ronald Oussoren 9ebd242fbb * Update the Mac/README file. Add the list of OSX-specific configure options
to that README file with some explanation.

* Be more strict in the configure script: complain loudly when the user has
  specified invalid combinations of OSX-specific configure arguments.

  The error message refers to the Mac/README file for more information.
2009-09-29 13:00:44 +00:00
Ronald Oussoren a9cfbded4b Fix typo in error message 2009-09-20 20:05:44 +00:00
Ronald Oussoren 84ddd72312 This is an update to r74701. How hard can it be to get a configure test right.
This patch has already been backported as part of the backport of r74701,
which is how I found this problem.
2009-09-08 07:17:10 +00:00
Ronald Oussoren 23d925311d Fix typo in configure.in 2009-09-07 06:12:00 +00:00
Ronald Oussoren 2596758cb4 Fix build issues on OSX 10.6 (issue 6802) 2009-09-06 10:00:26 +00:00
Mark Dickinson 65898e08a7 Add configure-time checks for gamma and error functions. 2009-09-05 10:27:00 +00:00
Georg Brandl fe18a11858 #5047: remove Monterey support from configure. 2009-09-04 07:55:14 +00:00
Alexandre Vassalotti 2ccefe1430 Regenerate configure script using autoconf 2.61. 2009-07-17 23:17:48 +00:00
Alexandre Vassalotti bd7569b4de Revert r74048. 2009-07-17 23:09:02 +00:00
Alexandre Vassalotti a2db687368 Regenerate configure script. 2009-07-17 07:46:46 +00:00
Ronald Oussoren 450d561028 This is a fix for Issue5809: you shouldn't specify both --enable-framework and
--enable-shared
2009-06-08 21:12:41 +00:00
Antoine Pitrou f2caeed9c6 Issue #3585: Add pkg-config support.
It creates a python-2.7.pc file and a python.pc symlink in the
$(LIBDIR)/pkgconfig directory. Patch by Clinton Roy.
2009-05-24 20:23:57 +00:00
Benjamin Peterson e5afa3b24b support building with subversion 1.7 #6094 2009-05-23 19:24:37 +00:00
Georg Brandl 464432d181 Update bug tracker URL. 2009-05-20 18:24:08 +00:00
Tarek Ziadé e2be83def8 Fixed Issue 5900: distutils.command.build_ext - Ensure RUNPATH is added to extension modules with RPATH if GNU ld is used 2009-05-09 08:28:53 +00:00
Tarek Ziadé 3a6e886f5e run autoconf (step forgotten in r72445) 2009-05-07 22:19:27 +00:00
Benjamin Peterson 867475c970 run autoconf 2009-04-29 20:36:25 +00:00
Mark Dickinson 8e5446f902 Backport r71704 (add configure check for C99 round function) to trunk. 2009-04-18 14:41:37 +00:00
Jesse Noller 355b1264b8 issue5545: Switch to Autoconf for multiprocessing; special thanks to Martin Lowis for help 2009-04-02 00:03:28 +00:00
Georg Brandl bcd64a3fc7 #1676135: remove trailing slashes from --prefix argument. 2009-03-31 21:45:18 +00:00
Ronald Oussoren bb8cb0e192 Fix issue where 'make altinstall' or 'make install' would install everything
that needs to be installed on OSX (depending on the configure flags)
2009-03-30 17:53:39 +00:00
Mark Dickinson efc82f7e8e Issue #4258: Use 30-bit digits for Python longs, on 64-bit platforms.
Backport of r70459.
2009-03-20 15:51:55 +00:00
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