Commit Graph

698 Commits

Author SHA1 Message Date
Antoine Pitrou cb40277ea4 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:51:34 +00:00
Antoine Pitrou f11d1832ec 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:37:45 +00:00
Stefan Krah 3a3e20311d Merged revisions 85422 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r85422 | antoine.pitrou | 2010-10-13 19:01:10 +0200 (Wed, 13 Oct 2010) | 6 lines

  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-11-28 15:30:05 +00:00
Benjamin Peterson 75fed81c75 Merged revisions 86075 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r86075 | benjamin.peterson | 2010-10-31 20:44:30 -0500 (Sun, 31 Oct 2010) | 1 line

  fix output for getaddrinfo bug check #7059
........
2010-11-01 01:47:19 +00:00
Benjamin Peterson f2d1b2a619 Merged revisions 86042 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r86042 | benjamin.peterson | 2010-10-31 11:50:44 -0500 (Sun, 31 Oct 2010) | 1 line

  add no output to with-system-ffi and with-system-expat
........
2010-10-31 16:53:53 +00:00
R. David Murray 1d9d16e827 Merged revisions 85554 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r85554 | r.david.murray | 2010-10-15 19:12:57 -0400 (Fri, 15 Oct 2010) | 4 lines

  #9862: On AIX PIPE_BUF is broken.  Make it 512.

  Patch by Sébastien Sablé.
........
2010-10-16 00:43:13 +00:00
Antoine Pitrou 7be5a65acd 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:14:41 +00:00
Antoine Pitrou 285cd1609d Merged revisions 84946 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r84946 | antoine.pitrou | 2010-09-21 17:19:14 +0200 (mar., 21 sept. 2010) | 4 lines

  Issue #1633863: Don't ignore $CC under AIX.
........
2010-09-21 15:23:17 +00:00
Antoine Pitrou aabdceba51 Merged revisions 84680 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r84680 | antoine.pitrou | 2010-09-10 21:44:44 +0200 (ven., 10 sept. 2010) | 4 lines

  Issue #941346: Improve the build process under AIX and allow Python to
  be built as a shared library.  Patch by Sébastien Sablé.
........
2010-09-10 20:03:17 +00:00
Antoine Pitrou b170f17bac Merged revisions 84674 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r84674 | antoine.pitrou | 2010-09-10 20:39:00 +0200 (ven., 10 sept. 2010) | 3 lines

  Followup to #4026: better patch for flock detection.
........
2010-09-10 18:47:36 +00:00
Antoine Pitrou 857298100b Merged revisions 84584 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r84584 | antoine.pitrou | 2010-09-07 16:52:42 +0200 (mar., 07 sept. 2010) | 4 lines

  Issue #4026: Make the fcntl extension build under AIX.
  Patch by Sébastien Sablé.
........
2010-09-07 14:55:24 +00:00
Antoine Pitrou b41947b660 Merged revisions 84366 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r84366 | antoine.pitrou | 2010-08-30 16:52:00 +0200 (lun., 30 août 2010) | 5 lines

  Issue #9700: define HAVE_BROKEN_POSIX_SEMAPHORES under AIX 6.x.  Patch by
  Sébastien Sablé.
........
2010-08-30 14:55:30 +00:00
Martin v. Löwis b41afb5544 Issue #1759169: Drop _XOPEN_SOURCE on Solaris. 2010-05-28 15:28:47 +00:00
Benjamin Peterson 66556b0fb7 correct default docs 2010-05-25 02:23:32 +00:00
Mark Dickinson 5e13e291e0 Issue #8510: Remove nested 'main' functions (causing failure) in 3 configure tests;
remove some unnecessary '#include "confdefs.h"' lines.  Thanks Roumen Petrov.
2010-05-11 08:55:06 +00:00
Mark Dickinson 0712b5651a Fix configure bug that was misreporting availability of MacOS X 10.5 SDK as available on Linux but not on OS X. 2010-05-08 19:13:21 +00:00
Matthias Klose cbf54b1e7e configure.in: Avoid autoconf warning: Assume C89 semantics that
RETSIGTYPE is always void (issue #8510).
pyconfig.h: Regenerate
2010-05-08 11:04:18 +00:00
Matthias Klose c511b47fb6 configure.in: convert all obsolete AC_TRY_* macros to AC_*_IFELSE,
only whitespace changes in generated configure (diff -uEwB).
2010-05-08 11:01:39 +00:00
Matthias Klose 9f8e0c11f0 configure.in: s/AC_AIX/AC_USE_SYSTEM_EXTENSIONS/ 2010-05-08 10:17:27 +00:00
Matthias Klose 22520ea354 - configure.in: Replace AC_HELP_STRING with AS_HELP_STRING 2010-05-08 10:14:46 +00:00
Matthias Klose a0bea5d5a2 - Issue #8510: Update to autoconf2.65. 2010-05-08 10:00:28 +00:00
Mark Dickinson d2f3e3fc1d Issue #8625: Turn off gcc optimization in debug builds. 2010-05-05 22:23:58 +00:00
Marc-André Lemburg 6d5e579cc5 [issue8211] configure: ignore AC_PROG_CC hardcoded CFLAGS
Only override the AC_PROG_CC determined CFLAGS if they were set by the user.
This restores the default behavior in the common case of not having CFLAGS
defined when running configure.
2010-04-30 17:20:14 +00:00
Ronald Oussoren 01d149fc1f Fix for issue #3646: with this patch it is possible to do a
framework install of Python in your home directory (on OSX):

   $ configure --enable-framework=${HOME}/Library/Frameworks
   $ make && make install

Without this patch the framework would get installed just fine,
but 'make install' would try to install the application bundles
and command-line tools outside the user's home, which doesn't work
for non-admin users (and is bad form anyway).
2010-04-30 11:20:14 +00:00
Jesus Cea 616de77779 Issue #3928: Support 'os.mknod()' in Solaris 2010-04-28 10:32:30 +00:00
Matthias Klose 5183ebdaa7 - Issue #8509: Fix quoting in help strings and code snippets in configure.in. 2010-04-24 16:38:36 +00:00
Ronald Oussoren 974eb5eace Add the OSX universal binary related options
to CFLAGS instead of BASECFLAGS.

This fixes issue 8366 and is needed due to
changes introduced in the fix for issue 1628484.
2010-04-18 17:59:37 +00:00
Ronald Oussoren 7591285fc3 This check-in fixes two problems:
1) A non-critical off-by-one error in pythonw

2) A problem in the configure script that caused
   builds with '--enable-framework --enable-universalsdk=/'
   to fail on OSX 10.6.
2010-04-08 08:13:31 +00:00
Tarek Ziadé 0000295fe3 Issue #1222585: Added LDCXXSHARED for C++ support 2010-04-03 08:37:59 +00:00
Victor Stinner 6cbf90fc0f Issue #8211: Save/restore CFLAGS around AC_PROG_CC in configure.in, compiler
optimizations are disabled when --with-pydebug is used.
2010-03-25 00:21:53 +00:00
Benjamin Peterson d4b721bc00 the == test doesn't work on Solaris #8210 2010-03-23 20:58:37 +00:00
Benjamin Peterson 3b2abe95e5 fix quotes 2010-03-14 15:06:14 +00:00
Benjamin Peterson 11d932372b fix freebsd linking #7705 2010-03-14 14:24:31 +00:00
Benjamin Peterson e9e07bf5c9 fix ugly configure output (follow up to #6943) 2010-03-09 21:46:54 +00:00
Benjamin Peterson 3281067e09 handle an empty OPT variable correctly #8100 2010-03-09 21:43:36 +00:00
Ezio Melotti 5820efb5c3 Show an error when the value passed to --enable-unicode is not ucs2 or ucs4 (lowercase). 2010-02-27 00:05:42 +00:00
Martin v. Löwis 7875ef67cd Issue #7903: Define _BSD_SOURCE through OpenBSD 4.9. 2010-02-15 21:41:12 +00:00
Martin v. Löwis 5e2dd866a8 Issue #3920: Define _BSD_SOURCE on OpenBSD 4.4. 2010-02-15 08:32:00 +00:00
Ronald Oussoren bc0e83c2b9 Finish fix for issue 7715, after explicit search for calls to `arch` 2010-02-11 13:26:54 +00:00
Ronald Oussoren 9922f178d3 Fix copy&paste error in the definition of ARCH_RUN_32BIT for a 3-way universal
build (all other definition where correct).
2010-02-11 13:19:34 +00:00
Ronald Oussoren 92397ce93f Explicitly use /usr/bin/arch on OSX, fixes issue 7715 2010-01-17 19:32:00 +00:00
Ronald Oussoren 3c0a1265c1 This patch ensures that the configure-script mentions checking for --enable-universalsdk
and that it doesn't default to the 10.4u SDK when that SDK does not exist.

(This affects OSX)

This patch should fix most of issue 4834, although I haven't gotten enough
information from the user to be sure.
2010-01-17 19:27:57 +00:00
Ronald Oussoren a55af9a9db - Issue #7658: Ensure that the new pythonw executable works on OSX 10.4
- Issue #7714: Use ``gcc -dumpversion`` to detect the version of GCC on
  MacOSX.

- Make configure look for util.h as well as libutil.h. The former
  is the header file that on OSX contains the defition of openpty.

  (Needed to compile for OSX 10.4 on OSX 10.6)

- Use the correct definition of CC to compile the pythonw executable
2010-01-17 16:25:57 +00:00
Benjamin Peterson 1c335e63c9 use pkg-config to find the libffi headers when --with-system-ffi is used #6943 2010-01-01 15:16:29 +00:00
Mark Dickinson 0ef0b910ce More configure fixes: avoid sh 'integer argument expected' error when 'long long' type doesn't exist. 2009-12-31 21:11:48 +00:00
Mark Dickinson 5ce8474cc7 Add missing quotes. 2009-12-31 20:48:04 +00:00
Benjamin Peterson 2c19674b51 add a --with-system-expat option to build pyexpat against the system's lib #7609 2009-12-31 03:17:18 +00:00
Ronald Oussoren 92919a66d2 Issue #6834: replace the implementation for the 'python' and 'pythonw' executables on OSX.
The previous implementation used execv(2) to run the real interpreter, which means that
you cannot use the arch(1) tool to select the architecture you want to use for a
universal build because that only affects the python/pythonw wrapper and not the actual
interpreter.

The new version uses posix_spawnv with a number of OSX-specific options that ensure that
the real interpreter is started using the same CPU architecture as the wrapper, and that
means that 'arch -ppc python' now actually works.

I've also changed the way that the wrapper looks for the framework: it is now linked to
the framework rather than hardcoding the framework path. This should make it easier to
provide pythonw support in tools like virtualenv.
2009-12-24 13:30:58 +00:00
Mark Dickinson 59dc89e87d Issue #7492: Autoconf tests were leaving semaphore files behind. Add
sem_unlink calls to delete those semaphore files.
2009-12-13 21:06:06 +00:00
Benjamin Peterson 91c12ebc3d disable pymalloc tricks with the --with-valgrind option #2422
Patch from James Henstridge.
2009-12-03 02:52:39 +00:00