Commit Graph

737 Commits

Author SHA1 Message Date
Matthias Klose
d83be23689 merge 3.1 2012-03-14 23:14:35 +01:00
Matthias Klose
0f4c16e29c - rename configure.in to configure.ac
- change references from configure.in to configure.ac
2012-03-14 23:10:15 +01:00
Gregory P. Smith
df300d5062 Improve the test for dirfd(), some systems #define it rather than have
an actual function.
2012-01-21 18:20:15 -08:00
Gregory P. Smith
8facece99a Fixes issue #8052: The posix subprocess module's close_fds behavior was
suboptimal by closing all possible file descriptors rather than just
the open ones in the child process before exec().

It now closes only the open fds when it is possible to safely determine what
those are.
2012-01-21 14:01:08 -08:00
Gregory P. Smith
6914048088 regenerate configure using autoconf. includes the dirfd test. 2012-01-16 02:05:55 -08:00
Stefan Krah
af04ff2b97 Issue #11149: Also enable -fwrapv if $CC is a full path
or has a trailing version number.
2011-12-08 22:20:31 +01:00
Charles-François Natali
6613c18ea2 Issue #13415: Test in configure if unsetenv() has a return value or not. 2011-11-27 12:41:06 +01:00
Stefan Krah
962055d3c6 Issue #11149: recent versions of clang require the -fwrapv flag. 2011-09-14 15:14:08 +02:00
Victor Stinner
0c17d0d96e Issue #12326: sys.platform is now always 'linux2' on Linux
Even if Python is compiled on Linux 3.
2011-08-20 14:01:05 +02:00
Antoine Pitrou
5cd3e305e3 When testing for an hg repo, use a file that always exists, even with the "shared" extension 2011-07-27 01:16:18 +02:00
Charles-François Natali
749400a94d Issue #12560: Build libpython.so on OpenBSD. Patch by Stefan Sperling. 2011-07-24 22:41:18 +02:00
Charles-François Natali
beed47ec0e Issue #12592: Make Python build on OpenBSD 5 (and future major releases). 2011-07-22 23:48:44 +02:00
Charles-François Natali
996f606787 Issue #12372: POSIX semaphores are broken on AIX: don't use them. 2011-07-21 19:45:31 +02:00
Georg Brandl
187c111a55 Regenerate configure. 2011-07-03 09:23:20 +02:00
Ned Deily
3eb67d58d6 Issue #8746: Correct faulty configure checks so that os.chflags() and
os.lchflags() are once again built on systems that support these
functions (*BSD and OS X).  Also add new stat file flags for OS X
(UF_HIDDEN and UF_COMPRESSED).  Also add additional tests for
os.chflags() and os.lchflags(). (Tests by Garrett Cooper)
2011-06-28 00:00:28 -07:00
Martin v. Löwis
48e14d3fda Use --as-needed when linking libpython3.so. Closes #11347.
Patch by Arfrever Frehtes Taifersar Arahesis.
2011-05-09 07:37:45 +02:00
Jesus Cea
d3b7a55f54 Close Issue 11570: Lib/test/test_distutils.py tries to mix 32 and 64 bits object files, doesn't obey LDFLAGS 2011-03-16 20:37:54 +01:00
Georg Brandl
13039c87f1 Merge build identification to 3.2 branch. 2011-03-06 10:13:00 +01:00
Georg Brandl
1ca2e7965c Commit the hg build identification patch from the pymigr repo. 2011-03-05 20:51:24 +01:00
Georg Brandl
8f1598787f Merged revisions 88438,88440 via svnmerge from
svn+ssh://svn.python.org/python/branches/py3k

........
  r88438 | georg.brandl | 2011-02-19 09:44:47 +0100 (Sa, 19 Feb 2011) | 1 line

  #10709: add back an updated AIX-NOTES (as README.AIX).
........
  r88440 | georg.brandl | 2011-02-19 09:58:23 +0100 (Sa, 19 Feb 2011) | 1 line

  #11184: Fix large file support on AIX.
........
2011-02-25 10:26:14 +00:00
Georg Brandl
3f0df3bc51 Merged revisions 88430 via svnmerge from
svn+ssh://svn.python.org/python/branches/py3k

........
  r88430 | georg.brandl | 2011-02-15 20:48:59 +0100 (Di, 15 Feb 2011) | 1 line

  #730467: Another small AIX fix.
........
2011-02-25 10:22:44 +00:00
Georg Brandl
6baf117d88 Merged revisions 88426 via svnmerge from
svn+ssh://svn.python.org/python/branches/py3k

........
  r88426 | georg.brandl | 2011-02-15 16:44:51 +0100 (Di, 15 Feb 2011) | 1 line

  #941346: Fix broken shared library build on AIX. Patch by Sebastien Sable, review by Antoine Pitrou.
........
2011-02-25 10:20:45 +00:00
Georg Brandl
216e404bca #11184: Fix large file support on AIX. 2011-02-19 08:58:23 +00:00
Georg Brandl
59e87bd251 #730467: Another small AIX fix. 2011-02-15 19:48:59 +00:00
Georg Brandl
9a829bed97 #941346: Fix broken shared library build on AIX. Patch by Sebastien Sable, review by Antoine Pitrou. 2011-02-15 15:44:51 +00:00
Martin v. Löwis
9b142aaae8 Issue #11121: Fix building with --enable-shared. 2011-02-05 20:26:52 +00:00
Antoine Pitrou
a75c10526f Merged revisions 87698 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r87698 | antoine.pitrou | 2011-01-03 19:53:50 +0100 (lun., 03 janv. 2011) | 4 lines

  Issue #7716: Under Solaris, don't assume existence of /usr/xpg4/bin/grep in
  the configure script but use $GREP instead.  Patch by Fabian Groffen.
........
2011-01-03 18:56:50 +00:00
Antoine Pitrou
f3fcd9f163 Issue #7716: Under Solaris, don't assume existence of /usr/xpg4/bin/grep in
the configure script but use $GREP instead.  Patch by Fabian Groffen.
2011-01-03 18:53:50 +00:00
Antoine Pitrou
59dd7abc56 Merged revisions 87646 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r87646 | antoine.pitrou | 2011-01-02 21:45:21 +0100 (dim., 02 janv. 2011) | 3 lines

  Fix bad quoting in r87639. Caught by Arfrever.
........
2011-01-02 20:49:42 +00:00
Antoine Pitrou
ece919eb0f Fix bad quoting in r87639. Caught by Arfrever. 2011-01-02 20:45:21 +00:00
Antoine Pitrou
f1cc81a97d Merged revisions 87639 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r87639 | antoine.pitrou | 2011-01-02 20:34:03 +0100 (dim., 02 janv. 2011) | 4 lines

  Issue #10475: Don't hardcode compilers for LDSHARED/LDCXXSHARED on NetBSD
  and DragonFly BSD.  Patch by Nicolas Joly.
........
2011-01-02 19:38:30 +00:00
Antoine Pitrou
c224458ef6 Issue #10475: Don't hardcode compilers for LDSHARED/LDCXXSHARED on NetBSD
and DragonFly BSD.  Patch by Nicolas Joly.
2011-01-02 19:34:03 +00:00
Martin v. Löwis
d1fc34d563 Build and install libpython3.so. 2010-12-30 14:55:47 +00:00
Gregory P. Smith
138fa430e9 regenerate configure based on r87207. 2010-12-13 08:00:52 +00:00
Jesus Cea
436709cff2 Compile correctly under OpenIndiana (and possibly Solaris 11 Express) 2010-11-25 17:05:57 +00:00
Barry Warsaw
14d98ac31b Final patch for issue 9807. 2010-11-24 19:43:47 +00:00
Mark Dickinson
ec0d355836 Regenerated configure and pyconfig.h.in. 2010-11-20 10:29:12 +00:00
Benjamin Peterson
d4694ed1bb fix output for getaddrinfo bug check #7059 2010-11-01 01:44:30 +00:00
Benjamin Peterson
076ed00003 add --enable-loadable-sqlite-extensions #10268 2010-10-31 17:11:02 +00:00
Benjamin Peterson
bdf5effc6c add 'no' output to --with-system-ffi 2010-10-31 16:55:05 +00:00
Benjamin Peterson
79263252b1 add no output to with-system-ffi and with-system-expat 2010-10-31 16:50:44 +00:00
Barry Warsaw
f040d7de94 One more change for issue 9807, by Matthias Klose.
This adds $ABIFLAGS to the static library, since it should match the shared
library name.  Also, include the abiflags in python-config --libs.
2010-10-18 17:09:07 +00:00
Martin v. Löwis
c980ffde14 Drop OPT:Olimit, as it confuses SunPRO (and other compilers). 2010-10-17 19:36:54 +00:00
Barry Warsaw
8cf4eae522 First (uncontroversial) part of issue 9807.
* Expose the build flags to Python as sys.abiflags
* Shared library libpythonX.Y<abiflags>.so
* python-config --abiflags
* Make two distutils tests that failed with --enable-shared (even before this
  patch) succeed.
* Fix a few small style issues.
2010-10-16 01:04:07 +00:00
Benjamin Peterson
d8d835bd1d run autoconf 2010-10-15 23:14:46 +00:00
Barry Warsaw
278266f6f2 Run autoconf to update configure.in -> configure. 2010-10-14 17:38:46 +00:00
Antoine Pitrou
b1c5496738 Issue #7523: Add SOCK_CLOEXEC and SOCK_NONBLOCK to the socket module,
where supported by the system.  Patch by Nikita Vetoshkin.
2010-10-14 15:05:38 +00:00
Antoine Pitrou
d4958c2832 Followup to #9437: since LDFLAGS is now appended to LDSHARED in the Makefile,
don't do in configure as well.

Hopefully this will solve a Makefile parsing issue on the FreeBSD buildbots.
2010-10-13 17:01:10 +00:00
Antoine Pitrou
c15835437d Merged revisions 85349 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r85349 | antoine.pitrou | 2010-10-10 10:10:16 +0200 (dim., 10 oct. 2010) | 4 lines

  Some platforms provide uintptr_t in inttypes.h.  Patch by
  Akira Kitada.
........
2010-10-10 08:15:08 +00:00
Antoine Pitrou
1bf29b7da7 Some platforms provide uintptr_t in inttypes.h. Patch by
Akira Kitada.
2010-10-10 08:10:16 +00:00