Commit Graph

364 Commits

Author SHA1 Message Date
Thomas Heller 001d3a1d8a Fis issue5504: ctypes does now work with systems where mmap can't be
PROT_WRITE and PROT_EXEC.
2010-08-08 17:56:41 +00:00
Stefan Krah 2e26e23d9d Issue #7384: On Gentoo, libreadline.so is a "fake library", so ldd fails.
In that case, do not attempt to parse stderr output.
2010-07-17 12:21:08 +00:00
Ronald Oussoren cd17213e8e Two small fixes for the support for SDKs on MacOSX:
1) The code that checks if an path should be located in the SDK
   explicitly excludes /usr/local. This fixes issue9046

2) The SDK variant for filtering "db_dirs_to_check" in setup.py
   was not doing anything because of a missing assignment.
2010-06-27 12:36:16 +00:00
Stefan Krah 4d32c9c114 Detect missing ldd on all systems. 2010-06-04 09:49:20 +00:00
Stefan Krah 23152ea5bd Use compiler rather than compiler_obj. Thanks Michael Foord for noticing. 2010-06-03 14:25:16 +00:00
Stefan Krah 449aa86bd6 Issue #7384: If the system readline library is linked against ncurses,
the curses module must be linked against ncurses as well. Otherwise it
is not safe to load both the readline and curses modules in an application.

Thanks Thomas Dickey for answering questions about ncurses/ncursesw
and readline!
2010-06-03 12:39:50 +00:00
Ronald Oussoren 593e4ca7a5 Fix for issue #7724: ensure that distutils and python's own setup.py
honor the MacOSX SDK when one is specified.

This is needed to be able to build using the 10.4u SDK while running
on OSX 10.6.

This is a fixed version of the patch in r80963, I've tested this patch
on OSX and Linux.
2010-06-03 09:47:21 +00:00
Antoine Pitrou dac6aeb43c Revert r80963 - it broke compilation everywhere 2010-05-08 15:23:57 +00:00
Ronald Oussoren d875d3c36e Fix for issue #7724: make it possible to build using
the OSX 10.4u SDK on MacOSX 10.6 by honoring the specified
SDK when looking for files.
2010-05-08 08:44:37 +00:00
Ronald Oussoren 9545a23c7f In a number of places code still revers
to "sys.platform == 'mac'" and that is
dead code because it refers to a platform
that is no longer supported (and hasn't been
supported for several releases).

Fixes issue #7908 for the trunk.
2010-05-05 19:09:31 +00:00
Matthias Klose 8a96d209f0 - Build the ossaudio extension on GNU/kFreeBSD. 2010-04-21 22:18:52 +00:00
Matthias Klose ca6d9e9225 setup.py: search ffi.h in include dirs, if LIBFFI_INCLUDEDIR is empty. 2010-04-21 21:45:30 +00:00
Jesus Cea 6557aac599 pybsddb 4.8.4 integration. Please, comment in issue #8156 2010-03-22 14:22:26 +00:00
Matthias Klose 54cc539a2b - Issue #6949: Allow the _bsddb extension to be built with db-4.8.x. 2010-03-15 12:46:18 +00:00
Ronald Oussoren 05b0d1d048 Fix for issue 8066: readline should not be linked against libedit when the
deployment target is 10.4, libedit on 10.4 is too broken.
2010-03-08 07:06:47 +00:00
Gerhard Häring 3bbb67273a Merged code from pysqlite 2.6.0. 2010-03-05 09:12:37 +00:00
Tarek Ziadé 35a3f57937 reverted the usage of compiler_obj in Python's setup.py 2010-03-05 00:29:38 +00:00
Tarek Ziadé 5633a8048f taking sysconfig out of distutils 2010-01-23 09:23:15 +00:00
Antoine Pitrou 1379b8404a Use `with` 2010-01-13 11:57:42 +00:00
Antoine Pitrou 8c510e704e Issue #7661: Allow ctypes to be built from a non-ASCII directory path.
Patch by Florent Xicluna.
2010-01-13 11:47:49 +00:00
Gregory P. Smith ffd5d886c2 make setup.py similar to py3k's when reporting on _hashlib as missing or not. 2010-01-03 00:43:02 +00:00
Gregory P. Smith c2fa18ca20 Always compile the all versions of the hashlib algorithm modules when Python
was compiled with Py_DEBUG defined.  Otherwise the builtins are not compiled by
default for many developers due to OpenSSL being present, making it easier for
bugs to slip by.  A future commit will add test code compare the behaviors of
all implementations when they are all available.
2010-01-02 22:25:29 +00:00
Benjamin Peterson edfe72f66f allow --with-dbmliborder to specify that no dbm modules will be built #6491 2010-01-01 15:21:13 +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
Benjamin Peterson 2fd2e86787 update expat comment 2009-12-31 16:28:24 +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
Benjamin Peterson eb74da8e67 wrap long line 2009-12-30 03:02:34 +00:00
Benjamin Peterson 500ce23384 only build the nis module when the headers are found #7589 2009-12-30 02:58:50 +00:00
Mark Dickinson 12748b003c Issue #7518: Move substitute definitions of C99 math functions from
pymath.c to Modules/_math.c.
2009-12-21 15:22:00 +00:00
Mark Dickinson 1c49828fa0 Add _math.h to math module dependencies in setup.py. 2009-12-17 08:33:56 +00:00
Mark Dickinson 9cae178f21 Issue #3366: Add expm1 function to math module. Thanks Eric Smith for
testing on Windows.
2009-12-16 20:13:40 +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
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
Ronald Oussoren a5b642c933 Ensure that _scproxy gets build even when --disable-toolbox-glue
is specified on OSX. Fixes a regression in 2.6.3.
2009-10-08 08:04:15 +00:00
Ronald Oussoren 9f20d9d0ee Issue 6877: this patch makes it possible to link the readline extension
to the libedit emulation of the readline API on OSX 10.5 or later.

This also adds a minimal testsuite for readline to check that the
history manipuation functions have the same interface with both
C libraries.
2009-09-20 14:18:15 +00:00
Ronald Oussoren 51f0633efd Fix for issue 6851: urllib.urlopen crashes in a thread on OSX 10.6 2009-09-20 10:31:22 +00:00
Ronald Oussoren 91a11a46c0 MacOSX: detect the architectures supported by
Tk.framework and build _tkinter only for those
architectures.

This replaces the hardcoded solution that is no
longer valid now that 64-bit capable versions of
Tk are available on OSX.
2009-09-15 18:33:33 +00:00
Guilherme Polo fb118351a1 Issue #6244: Allow detect_tkinter to look for Tcl/Tk 8.6. 2009-08-16 14:34:26 +00:00
Tarek Ziadé e670e5ad5b Fixed #6377: distutils compiler switch ignored (and added a deprecation warning if compiler is not used as supposed = a string option) 2009-07-06 12:50:46 +00:00
Antoine Pitrou 1969059327 Issue #6215: backport the 3.1 io lib 2009-06-12 20:14:08 +00:00
Matthias Klose 51c614e3bf - Issue #4587: Add configure option --with-dbmliborder=db1:db2:... to specify
the order that backends for the dbm extension are checked.
2009-04-29 19:52:49 +00:00
Matthias Klose 10cbe4886e - Issue #4587: Add configure option --with-dbmliborder=db1:db2:... to specify
the order that backends for the dbm extension are checked.
2009-04-29 17:18:19 +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
Jesse Noller 40a6164afa Apply patch for netbsd multiprocessing support 2009-03-31 18:12:35 +00:00
Ronald Oussoren cea1ddb4aa Change framework search order when looking for Tcl/Tk on OSX.
This is needed because the system linker looks in /Library/Framework before
it looks in /System/Library frameworks. Without this patch _tkinter will
be unusable when it is compiled on a system that has Tk 8.5 installed in
/Library/Frameworks (and the Apple 8.4 install in /System/Library/Frameworks)
2009-03-04 21:30:12 +00:00
Mark Dickinson d155bbfbb2 _testcapi depends on testcapi_long.h
Thanks Lisandro Dalcin.
2009-02-10 16:17:16 +00:00
Neil Schemenauer 0189ddc113 Distutils apparently requires an absolute path so provide one. 2009-02-06 00:21:55 +00:00
Neil Schemenauer 38870cb432 Oops, Mac build needs the 'incdirlist' variable so restore it. 2009-02-05 22:14:04 +00:00
Neil Schemenauer c59c5f3983 Make setup.py work when building in a directory other than the
source directory.  Mainly use 'srcdir' rather than os.getcwd() or
'.'.
2009-02-05 16:32:29 +00:00
Jesse Noller f6da8d1495 Issue 3807: multiprocessing fails to compile under --without-threads 2009-01-23 14:04:41 +00:00