434 Commits

Author SHA1 Message Date
Jack Jansen
904688b7bf Backport of fixes for #887242 and #1097739:
If $MACOSX_DEPLOYMENT_TARGET is set, and >= 10.3, during configure we
setup extensions to link with dynamic lookup. We also record the
value in the Makefile, and distutils uses the same value to build extension
modules. If MACOSX_DEPLOYMENT_TARGET is not set it defaults to the
current OSX version.

If we cannot use -undefined dynamic_lookup (such as on 10.2 or earlier)
we link extensions directly against the dynamic library in the framework in
stead of against the framework. This will fix building extensions for 2.3
after 2.4 has been installed too.
2005-01-11 13:49:02 +00:00
Martin v. Löwis
522b94f240 Make curses.h inclusion conditional as in the original patch #1012280. 2004-09-18 10:06:32 +00:00
Martin v. Löwis
727c5ffad0 Patch #1012280: Include curses.h for term.h check. Fixes #933795.
Update to autoconf 2.59.
2004-09-18 09:58:41 +00:00
Martin v. Löwis
0052fcdbba Define _BSD_TYPES. Fixes #1005308. 2004-08-12 13:44:45 +00:00
Martin v. Löwis
5ea315bbdd Record UnixWare 7.1.4 as broken. Fixes #929689. 2004-05-07 19:13:47 +00:00
Hye-Shik Chang
5c4a408031 Backport checkin>
Bug #934635: Fixed a bug where the configure script couldn't detect
getaddrinfo() properly if the KAME stack had SCTP support.
(Submitted by SUZUKI Shinsuke)
2004-04-14 08:11:31 +00:00
Nicholas Bastin
eeeca4ad07 Added check for broken poll on OSes where it exists but sets errno for
bad file descriptor.  Fixes SF Bug #850981
2004-03-22 20:20:33 +00:00
Martin v. Löwis
69d36ce9bb Patch #836434: Use dlopen/dlsym on AIX if available. Also disable
_XOPEN_SOURCE on AIX 4.
2003-11-18 19:59:39 +00:00
Martin v. Löwis
ede6ee8cd9 Patch #833710: Set INSTSONAME on Solaris. 2003-10-31 15:41:49 +00:00
Anthony Baxter
80ab182f9f FreeBSD 4.8 and MacOS X 10.2 have a broken ncurses.h - if you don't
define _XOPEN_EXTENDED_SOURCE, the bug isn't triggered. Testing on
FreeBSD shows that nothing is broken by this change.
2003-10-04 07:56:14 +00:00
Martin v. Löwis
2bbdd963ba Patch #814764: Undefine xopen_source on OpenBSD 3.4. 2003-10-03 13:48:28 +00:00
Anthony Baxter
9fe1720507 fix for bug #811160 - autoconf vs. hp/ux system header files. 2003-09-27 08:58:55 +00:00
Skip Montanaro
4f5d9d1906 backport of HAVE_FSYNC fix 2003-09-25 15:21:00 +00:00
Martin v. Löwis
5d3afac535 Check for declarations of fchdir and fsync. Fixes #800710. 2003-09-20 15:29:42 +00:00
Martin v. Löwis
80629907ee Patch #805604: Do not check for sem_init, do not use -Kthread,
if configured --without-threads.
2003-09-20 10:47:28 +00:00
Brett Cannon
95ef587507 Improve detection of broken implementations of tzset(). 2003-09-19 01:00:16 +00:00
Martin v. Löwis
e95fc573fb Patch #798202: detect redhat9 Tcl/Tk in configure script. 2003-09-04 18:52:07 +00:00
Martin v. Löwis
59f31be670 Patch #771998: Put braces around variables. 2003-08-09 09:07:56 +00:00
Jack Jansen
e004041e96 Bugfix for #775892: added -mno-fused-madd to BASECFLAGS on MacOSX.
This makes test_coercion pass on Panther.

Also added a note to NEWS that pythonw works again (it was broken in rc1).
2003-07-23 22:17:28 +00:00
Jason Tishler
fac083d14a Patch 775605: Cygwin pthread_sigmask() workaround patch
Cygwin's pthread_sigmask() implementation appears to be buggy. This
patch works around this problem by using sigprocmask() instead.

This patch is implemented in a general way so it could be used by other
platforms too. If this approach is deemed too risky, then I can work up
a patch that just hacks Python/thread_pthread.h for Cygwin.

Note that I tested this patch against 2.3c1 under Red Hat Linux 8.0 too.

[snip]
And finally, I need someone to regenerate pyconfig.h.in and configure
with the same versions of the autotools that are normally used by
Python.

Neal kindly regenerated pyconfig.h.in and configure for me.
2003-07-22 15:20:49 +00:00
Martin v. Löwis
f33222833c Treat irix64 like irix. Fixes #764560. Will backport to 2.2. 2003-07-13 09:46:13 +00:00
Skip Montanaro
d8d39a00c4 avoid testing for -Kthread or -pthread if the default build environment
supports pthreads
2003-07-10 20:44:10 +00:00
Martin v. Löwis
70fedcd583 Use -fno-strict-aliasing if available. Fixes #766696. Will backport to 2.2. 2003-07-07 21:26:19 +00:00
Martin v. Löwis
d6640d4bd0 Include grp.h in setgroups test. Fixes #765822. 2003-07-06 09:29:52 +00:00
Jack Jansen
66b8483247 Fixed two bugs in MacOSX framework handling spotted by Edward Moy:
- In the top level Makefile, the argument to -install_name should be
  prepended with /System/Library/Frameworks/, so it is an absolute path.
- In the top level Makefile, because of 2), RUNSHARED needs to be set to
  DYLD_FRAMEWORK_PATH=<path to local framework> and $(RUNSHARED) prepended
  to the $(MAKE) lines in the frameworkinstallmaclib and
  frameworkinstallapps targets.
2003-07-04 12:14:39 +00:00