Commit Graph

661 Commits

Author SHA1 Message Date
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
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
Benjamin Peterson 8b65054fea run autoconf 2010-02-27 00:11: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
Antoine Pitrou 30b3b35cba Issue #7333: The `posix` module gains an `initgroups()` function providing
access to the initgroups(3) C library call on Unix systems which implement
it.  Patch by Jean-Paul Calderone.
2009-12-02 20:37:54 +00:00
Mark Dickinson c63392c152 Multiprocessing configure checks don't need LIBM 2009-11-28 13:13:13 +00:00
Mark Dickinson 5afa6d4dcf Issue #7272, continued: don't re-use existing HAVE_BROKEN_POSIX_SEMAPHORES
to indicate that semaphores aren't available;  define a new variable
POSIX_SEMAPHORES_NOT_ENABLED instead.
2009-11-28 10:44:20 +00:00
Martin v. Löwis 50ea4565bd Issue #6508: Add posix.{getresuid,getresgid,setresuid,setresgid}. 2009-11-27 13:56:01 +00:00
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