Commit graph

491 commits

Author SHA1 Message Date
Jack Jansen 39fd231701 On OSX, use --arch_only arch in stead of --arch_only ppc, so things will
build for the current CPU.
2006-02-23 15:12:19 +00:00
Martin v. Löwis 86d662602d Patch #1432345: Make python compile on DragonFly. 2006-02-17 08:40:11 +00:00
Martin v. Löwis 18e165558b Merge ssize_t branch. 2006-02-15 17:27:45 +00:00
Martin v. Löwis 82bca63c2b Avoid linking python with readline. 2006-02-10 20:49:30 +00:00
Martin v. Löwis 4ddc78a6a1 Delete aclocal.m4, and require autoconf 2.59, fixing
#811160 in a different way.
2006-01-29 09:53:44 +00:00
Martin v. Löwis 11017b172d Patch #1103116: AF_NETLINK sockets basic support. 2006-01-14 18:12:57 +00:00
Neal Norwitz 671b9e34c6 Fix bugs #1244610, #1392915, fix build problem on OpenBSD 3.7 and 3.8.
configure would break checking curses.h.

Will backport.
2006-01-09 07:07:12 +00:00
Martin v. Löwis fd9a72ad89 Patch #881820: look for openpty and forkpty also in libbsd.
Will backport.
2006-01-08 10:07:33 +00:00
Neal Norwitz 020c46aa1f icc accepts -OPT... but generates a warning, so just disable the check 2006-01-07 21:39:28 +00:00
Neal Norwitz fe8e3d918e If there is no libtermcap all the readline tests failed.
This inappropriately disabled some capabilities which exist.

Now test for readline in -lreadline, if not found there, try it
in -ltermcap only if not in -lreadline.  If both libraries are
required, there will need to be more work, but I'm not sure
under what conditions both libraries would be required.
2006-01-07 21:07:20 +00:00
Martin v. Löwis c5bf5a00a3 Always set SVNVERSION to "exported" if it otherwise fails. 2006-01-05 10:33:59 +00:00
Martin v. Löwis dea59e5755 Stop maintaining the buildno file.
Also, stop determining Unicode sizes with PyString_GET_SIZE.
2006-01-05 10:00:36 +00:00
Martin v. Löwis d5845ec32e Use -xcode=pic32 for SunPro. Will backport to 2.4. 2005-12-30 12:31:38 +00:00
Neal Norwitz d24499dc53 Jack said we don't need the Mac/Python/ directory any more. 2005-12-18 21:36:39 +00:00
Neal Norwitz a716eabca7 Revert r41662 and the part of 41552 that originally caused the problem
(calling ftell(stdin) doesn't seem defined).  So we won't test errors
from ftell unless we can do it portably.
2005-12-15 05:25:09 +00:00
Hye-Shik Chang e237d50390 Add a workaround for file.ftell() to raise IOError for ttys.
ftell(3) on BSD doesn't set errno even for ttys and returns useless
values.
2005-12-13 16:44:02 +00:00
Martin v. Löwis 7dece6690e Patch #1227966: Do not defined _XOPEN_SOURCE_EXTENDED on Solaris 10.
Also set _XOPEN_SOURCE to 500.
Will backport to 2.4.
2005-11-26 11:38:24 +00:00
Martin v. Löwis ebd9d5ba1a Patch #1180695: Implement nanosecond stat resolution on FreeBSD,
add st_gen, st_birthtime.
2005-08-09 15:00:59 +00:00
Martin v. Löwis 147fbe5a55 Patch #1239112: Correct LINKCC C++ test. Fixes #1189330.
Backported to 2.4.
2005-08-07 21:09:30 +00:00
Hye-Shik Chang 5f937a7b8b Patch #1212117: Add optional attribute st_flags to os.stat_result
when the member is available on the platform. (Contributed by
Diego Petteno)
2005-06-02 13:09:30 +00:00
Bob Ippolito 7026a0aeef patch [1171735] - Darwin 8's headers disable functionality when
POSIX is enabled.  This prevents the toolbox glue, all of Carbon,
and various other non-POSIX features from compiling.  The POSIX
symbols are  still used by default, so turning off the #define
doesn't hurt.

Additionally, linker flags have changed for Darwin 8, and are
different for Darwin 8/gcc4 (default) and Darwin 8/gcc3.3.

Approved by Anthony
2005-03-28 23:23:47 +00:00
Martin v. Löwis 1d459061a0 Configure bug reporting address. 2005-03-14 21:23:33 +00:00
Brett Cannon 4380242580 Modified test for tzset to not rely on tm->tm_zone's existence. Also added
sanity checks on tzname if HAVE_TZNAME defined.

Closes bug #1096244.  Thanks Gregory Bond.
2005-02-10 20:48:03 +00:00
Martin v. Löwis c300175547 Patch #579435: Shadow Password Support Module 2005-01-23 09:27:24 +00:00
Jack Jansen da49e1981a Patch #1097739 by Bob Ippolito:
MacOSX: if we cannot use -undefined dynamic_lookup (such as on 10.2 or earlier)
we link extension 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-07 13:08:22 +00:00
Jack Jansen c110f8665f Always set CONFIGURE_MACOSX_DEPLOYMENT_TARGET otherwise it may be set
to an empty value and distutils will get confused lateron.
2005-01-07 10:49:32 +00:00
Jack Jansen be95462c1c After discussion on the PythonMac-SIG it was decided that it is better
to make using "-undefined dynamic_lookup" for linking extensions more
automatic on 10.3 and later. So if we're on that platform and
MACOSX_DEPLOYMENT_TARGET is not set we now set it to the current OSX
version during configure. Additionally, distutils will pick up the
configure-time value by default.

Will backport.
2004-12-26 23:07:48 +00:00
Matthias Klose 7dbeed7d2e Use = instead of == as operator to test 2004-12-24 08:22:17 +00:00
Martin v. Löwis fd1c69e7ef Bump version number to 2.5.
Fix term.h check so that HAVE_TERM_H is actually generated.
2004-11-30 22:09:37 +00:00
Brett Cannon c601e0fa0b Move the AC_MSG_RESULT function call for checking for pthread options up into
the 'if' statement that performed the test.  Not all platforms run the test and
on those tests configure outputted a rogue 'no' line.
2004-11-07 01:24:12 +00:00
Anthony Baxter eef2d3b2c5 regenerated configure from configure.in 2004-11-06 04:45:33 +00:00
Hye-Shik Chang 337614993e Patch #1044395: Allow configure option --enable-shared in FreeBSD.
(Submitted by James William Pye, Patch revised by Jiwon Seo)
2004-10-26 09:53:46 +00:00
Anthony Baxter 8a560dee72 Patch 977343, Solaris likes sys/loadavg.h. Added support for sys/loadavg.h
detection to configure &c.
2004-10-13 15:30:56 +00:00
Martin v. Löwis 5d52e781d9 Make curses.h inclusion conditional as in the original patch #1012280.
Backported to 2.3.
2004-09-18 10:07:03 +00:00
Martin v. Löwis ae2830c55c Patch #1012280: Include curses.h for term.h check. Fixes #933795.
Will backport to 2.3.
2004-09-18 09:54:52 +00:00
Martin v. Löwis 9996828caa Patch #1026986: Add OpenBSD 3.5 and 3.6 to list of broken systems. 2004-09-15 06:02:54 +00:00
Trent Mick c5625bac68 Re-generate configure with recent configure.in change (for patch #1016224). 2004-08-25 23:59:39 +00:00
Matthias Klose a2542bee59 The attached patch fixes FTBFS on GNU/k*BSD. The problem happens on GNU/k*BSD
because GNU/k*BSD uses gnu pth to provide pthreads, but will also happen on any
system that does the same.

python fails to build because it doesn't detect gnu pth in pthread
emulation. See C comments in patch for details.

patch taken from http://bugs.debian.org/264315
2004-08-16 11:35:51 +00:00
Skip Montanaro f0d5f7917e Match the def'n of _XOPEN_SOURCE on Solaris 8/9 to suppress redefinition
warning from GCC.  Closes patch #1006629.
2004-08-15 14:08:23 +00:00
Martin v. Löwis d632050d1d Define _BSD_TYPES. Fixes #1005308. Backported to 2.3. 2004-08-12 13:45:08 +00:00
Jack Jansen b36687a483 Don't hardcode "Python" as the framework name, we have a variable for it:
$PYTHONFRAMEWORK.
2004-07-16 08:43:47 +00:00
Michael W. Hudson 30ea2f223f This closes patch:
[ 960406 ] unblock signals in threads

although the changes do not correspond exactly to any patch attached to
that report.

Non-main threads no longer have all signals masked.

A different interface to readline is used.

The handling of signals inside calls to PyOS_Readline is now rather
different.

These changes are all a bit scary!  Review and cross-platform testing
much appreciated.
2004-07-07 17:44:12 +00:00
Nicholas Bastin d858a7763a Massive performance improvement for C extension and builtin tracing code 2004-06-25 23:31:06 +00:00
Nicholas Bastin 4c70b69fb1 Making C profiling a configure option (at least temporarily) 2004-06-22 03:51:38 +00:00
Skip Montanaro 56f6a4f225 allow developers to more easily build a profiling version of the interpreter
and modules by configuring with the --enable-profiling flag.
2004-06-18 02:47:22 +00:00
Martin v. Löwis f30d60edbc Patch #510695: Add TSC profiling for the VM. 2004-06-08 08:17:44 +00:00
Jack Jansen 6b08a40442 Partial fix for #887242 (link extensions with dynamic_lookup in stead
of hard linking against the framework).

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.

Distutils checks whether a value for MACOSX_DEPLOYMENT_TARGET was
recorded in the Makefile, and if it was insists that the current
value matches.

This is only a partial fix because it only applies to 2.4, and the
"two python problem" exists with Python 2.3 shipped with MacOSX 10.3,
which we have no influence over.
2004-06-03 12:41:45 +00:00
Martin v. Löwis 253d1f445b Record UnixWare 7.1.4 as broken. Fixes #929689.
Backported to 2.3.
2004-05-07 19:14:14 +00:00
Hye-Shik Chang 54f9439b7c Bug #934635: Fix 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 07:55:31 +00:00
Nicholas Bastin e62c5c88f1 Added configure check for broken poll() on some unix systems (MacOS X 10.3)
Fixes SF Bug #850981
2004-03-21 23:45:42 +00:00