Christian Heimes
951cc0f474
Fixed bug #1983 : Return from fork() is pid_t, not int
2008-01-31 23:08:23 +00:00
Christian Heimes
cba36bbe65
Bug #1234 : Fixed semaphore errors on AIX 5.2
2008-01-30 22:54:18 +00:00
Christian Heimes
487235109b
Fixed a wrong assumption in configure.in and Include/pyport.h. The is finite function is not called isfinite() but finite(). Sorry, my fault. :)
2008-01-20 14:28:28 +00:00
Christian Heimes
fb2d25a154
Issue #1646 : Make socket support TIPC. The socket module now has support
...
for TIPC under Linux, see http://tipc.sf.net/ for more information.
Thanks to Alberto Bertogli for the patch
2008-01-07 16:12:44 +00:00
Martin v. Löwis
cb78de6d25
Bug #1699 : Define _BSD_SOURCE only on OpenBSD.
2007-12-29 18:49:21 +00:00
Christian Heimes
0a8143f646
Applied patch #1635 : Float patch for inf and nan on Windows (and other platforms).
...
The patch unifies float("inf") and repr(float("inf")) on all platforms.
2007-12-18 23:22:54 +00:00
Christian Heimes
db3d6cbce0
Fixed #1638 : %zd configure test fails on Linux
2007-12-16 21:39:43 +00:00
Thomas Heller
e552959184
Ran autoconf.
2007-12-13 21:20:29 +00:00
Martin v. Löwis
a51d5c8c15
Fix chflags issue on Tru64, from #1490190 .
2007-12-04 08:37:59 +00:00
Christian Heimes
3628187b66
Fix for feature request #1528 Add os.fchmod
...
Georg Brandl has added fchmod() and fchown(). I've contributed lchown but I'm not able to test it on Linux. However it should be available on Mac and some other flavors of Unix.
I've made a quick test of fchmod() and fchown() on my system. They are working as expected.
2007-11-30 21:11:28 +00:00
Thomas Heller
486b1b0268
Issue #1292 : On alpha, arm, ppc, and s390 linux systems the
...
--with-system-ffi configure option defaults to "yes" because the
bundled libffi sources are too old.
2007-11-02 19:10:24 +00:00
Matthias Klose
6e183f8f44
- Build using system ffi library on arm*-linux*, pass --with-system-ffi to CONFIG_ARGS
2007-10-25 06:37:24 +00:00
Matthias Klose
9afb9850f2
- Build using system ffi library on arm*-linux*.
2007-10-24 20:00:44 +00:00
Martin v. Löwis
58bd49f5fe
Patch #1388440 : Add set_completion_display_matches_hook and
...
get_completion_type to readline.
2007-09-04 13:13:14 +00:00
Ronald Oussoren
38f1b98cc3
Macosx: this patch ensures that the value of MACOSX_DEPLOYMENT_TARGET used
...
by the Makefile is also used at configure-time.
2007-09-02 09:46:07 +00:00
Martin v. Löwis
eba40650b5
Bump autoconf minimum version to 2.61.
2007-08-30 20:10:57 +00:00
Skip Montanaro
89e975fc74
whoops - need to check in configure as well
2007-08-22 19:05:21 +00:00
Martin v. Löwis
76760b0e8f
Define _BSD_SOURCE, to get access to POSIX extensions on OpenBSD 4.1+.
2007-07-31 19:57:56 +00:00
Brett Cannon
19fab761b7
Have configure raise an error when building on AtheOS. Code specific to AtheOS
...
will be removed in Python 2.7.
2007-06-02 03:02:29 +00:00
Martin v. Löwis
eb62357a2e
Bug #1675511 : Use -Kpic instead of -xcode=pic32 on Solaris/x86.
2007-03-12 10:50:39 +00:00
Martin v. Löwis
382abeff0f
Patch #1490190 : posixmodule now includes os.chflags() and os.lchflags()
...
functions on platforms where the underlying system calls are available.
2007-02-19 10:55:19 +00:00
Martin v. Löwis
aef4c6bc00
Patch #1610575 : Add support for _Bool to struct.
2007-01-21 09:33:07 +00:00
Martin v. Löwis
4d542ec13c
Disable _XOPEN_SOURCE on NetBSD 1.x.
...
Will backport to 2.5
2006-11-25 15:39:19 +00:00
Martin v. Löwis
0347a9a491
Get DBL_MAX from float.h not values.h. Will backport.
2006-10-27 07:06:52 +00:00
Martin v. Löwis
443ccc73f3
Check for values.h. Will backport.
2006-10-27 06:42:27 +00:00
Martin v. Löwis
c1d7597b1d
Restore CFLAGS after checking for __attribute__
2006-10-19 16:01:37 +00:00
Martin v. Löwis
aac1316222
Add check for the PyArg_ParseTuple format, and declare
...
it if it is supported.
2006-10-19 10:58:46 +00:00
Martin v. Löwis
fefbc2029c
Forward-port r52358:
...
- Bug #1578513 : Cross compilation was broken by a change to configure.
Repair so that it's back to how it was in 2.4.3.
2006-10-17 18:59:23 +00:00
Martin v. Löwis
40e9aed050
Guard uintptr_t test with HAVE_STDINT_H, test for
...
stdint.h. Will backport.
2006-10-02 15:20:37 +00:00
Martin v. Löwis
ebe26709d2
Fix test for uintptr_t. Fixes #1568842 .
...
Will backport.
2006-10-02 14:55:51 +00:00
Neal Norwitz
4a8fbdb1b2
Fix %zd string formatting on Mac OS X so it prints negative numbers.
...
In addition to testing positive numbers, verify negative numbers work in configure.
In order to avoid compiler warnings on OS X 10.4, also change the order of the check
for the format character to use (PY_FORMAT_SIZE_T) in the sprintf format
for Py_ssize_t. This patch changes PY_FORMAT_SIZE_T from "" to "l" if it wasn't
defined at configure time. Need to verify the buildbot results.
Backport candidate (if everyone thinks this patch can't be improved).
2006-09-22 08:16:26 +00:00
Neal Norwitz
4bc2c0919b
Patch #1540470 , for OpenBSD 4.0. Backport candidate for 2.[34].
2006-09-05 02:57:01 +00:00
Neal Norwitz
9be573201e
Try to get Unix bots install working again.
2006-08-18 05:39:20 +00:00
Ronald Oussoren
c95f7569e8
It's unlikely that future versions will require _POSIX_C_SOURCE
2006-08-09 14:56:33 +00:00
Martin v. Löwis
0907f4dc5b
Drop usage of test -e in configure as it is not portable.
...
Fixes #1439538
Will backport to 2.4
Also regenerate pyconfig.h.in.
2006-07-30 14:09:47 +00:00
Ronald Oussoren
f875264278
This patch solves the problem Skip was seeing with zlib, this patch ensures that
...
configure uses similar compiler flags as setup.py when doing the zlib test.
Without this patch configure would use the first shared library on the linker
path, with this patch it uses the first shared or static library on that path
just like setup.py.
2006-07-06 10:13:35 +00:00
Walter Dörwald
4994d9546c
Patch #1506645 : add Python wrappers for the curses functions
...
is_term_resized, resize_term and resizeterm. This uses three
separate configure checks (one for each function).
2006-06-19 08:07:50 +00:00
Neal Norwitz
6e73aaab47
Patch #1503046 , Conditional compilation of zlib.(de)compressobj.copy
...
copy is only in newer versions of zlib. This should allow zlibmodule
to work with older versions like the Tru64 buildbot.
2006-06-12 03:33:09 +00:00
Neal Norwitz
7659f0fc26
Fix typo. Backport if anyone cares. :-)
2006-06-12 02:09:03 +00:00
Martin v. Löwis
0e8bd7e1cc
Patch #1495999 : Part two of Windows CE changes.
...
- update header checks, using autoconf
- provide dummies for getenv, environ, and GetVersion
- adjust MSC_VER check in socketmodule.c
2006-06-10 12:23:46 +00:00
Ronald Oussoren
2db3a8f73e
And the last bit: move IDLE one level up and adjust makefiles
2006-06-07 19:06:01 +00:00
Ronald Oussoren
5b78732a20
* Ensure that "make altinstall" works when the tree was configured
...
with --enable-framework
* Also for --enable-framework: allow users to use --prefix to specify
the location of the compatibility symlinks (such as /usr/local/bin/python)
2006-06-06 19:50:24 +00:00
Martin v. Löwis
222c515493
Port to OpenBSD 3.9. Patch from Aldo Cortesi.
2006-06-03 07:37:13 +00:00
Ronald Oussoren
567a8ffd09
Integrate installing a framework in the 'make install'
...
target. Until now users had to use 'make frameworkinstall'
to install python when it is configured with '--enable-framework'.
This tends to confuse users that don't hunt for readme files
hidden in platform specific directories :-)
2006-05-26 11:43:26 +00:00
Neal Norwitz
58e28887d5
Bug/Patch #1481770 : Use .so extension for shared libraries on HP-UX for ia64.
...
I suppose this could be backported if anyone cares.
2006-05-19 07:00:58 +00:00
Martin v. Löwis
5f5d99c215
- Test for sys/statvfs.h before including it, as statvfs is present
...
on some OSX installation, but its header file is not.
Will backport to 2.4
2006-05-16 07:05:37 +00:00
Ronald Oussoren
836b039b7c
Rework the build system for osx applications:
...
* Don't use xcodebuild for building PythonLauncher, but use a normal unix
makefile. This makes it a lot easier to use the same build flags as for the
rest of python (e.g. make a universal version of python launcher)
* Convert the mac makefile-s to makefile.in-s and use configure to set makefile
variables instead of forwarding them as command-line arguments
* Add a C version of pythonw, that we you can use '#!/usr/local/bin/pythonw'
* Build IDLE.app using bundlebuilder instead of BuildApplet, that will allow
easier modification of the bundle contents later on.
2006-05-14 19:56:34 +00:00
Brett Cannon
09d1236b89
Detect if %zd is supported by printf() during configure and sets
...
PY_FORMAT_SIZE_T appropriately. Removes warnings on
OS X under gcc 4.0.1 when PY_FORMAT_SIZE_T is set to "" instead of "z" as is
needed.
2006-05-11 05:11:33 +00:00
Ronald Oussoren
988117fd63
Patch 1471883: --enable-universalsdk on Mac OS X
2006-04-29 11:31:35 +00:00
Martin v. Löwis
f7afe958ed
Patch #1045620 : Prepend Modules/ before Setup in stdout.
2006-04-14 15:16:15 +00:00
Martin v. Löwis
0f48d98b74
Patch #1324762 : Change --with-cxx to --with-cxx-main.
2006-04-14 14:34:26 +00:00
Skip Montanaro
288a5be5ad
If compiling with g++ don't use -Wstrict-prototpes.
2006-04-13 02:00:56 +00:00
Martin v. Löwis
9176fc1466
Patch #1464444 : Add --with-system-ffi.
2006-04-11 11:12:43 +00:00
Martin v. Löwis
44fe0e4b8d
Correct test whether wchar_t is unsigned. Fixed crash
...
in #1454485 .
2006-04-11 07:15:30 +00:00
Anthony Baxter
8220174489
Python on OS X 10.3 and above now uses dlopen() (via dynload_shlib.c)
...
to load extension modules and now provides the dl module. As a result,
sys.setdlopenflags() now works correctly on these systems. (SF patch
#1454844 )
2006-04-09 15:07:40 +00:00
Martin v. Löwis
a058836e96
Revert 43615, fixing it properly through quadrigraphs.
...
Apparently, the code in #1416559 was not generated
through invoking autoconf.
2006-04-04 06:03:50 +00:00
Neal Norwitz
e8fb992f75
Martin's change 43604 broke the Mac builds apparently due to an autoconf
...
bug. I don't understand this at all, but Darwin/[78].* gets converted
to Darwin/78.* which is not correct. Maybe I'm just clueless or overworked.
I can't see why in the original checkin this should have changed.
This hack gets the Mac build working again. If someone figures out the
real problem, please revert this and fix for real.
Anthony is telling me that AC_PROG_CXX_WORKS which we use is broken.
I have no idea if that's related.
This change breaks up the case and fixes a typo.
2006-04-04 05:32:17 +00:00
Martin v. Löwis
ff60023048
Set "not found" value for svnversion to not-found. Fixes #1463559 .
2006-04-03 19:12:32 +00:00
Georg Brandl
28161e2465
patch #1416559 : don't define _XOPEN_SOURCE on Mac OS Panther
2006-04-01 08:51:25 +00:00
Neal Norwitz
dedeeaad04
Get gcc to do strict IEEE math. This flag was already used for cc, just not
...
gcc. Without this flag, doing pretty much anything with NaNs causes
a Floating Point Exception signal. This causes the interpreter to quit.
The failing tests this fixes are: test_float, test_long, and test_struct.
This is somewhat equivalent to doing signal(SIGFPE, SIG_IGN).
Will verify if this is a problem in 2.4 and backport if necessary (probably).
2006-03-31 06:54:45 +00:00
Neal Norwitz
05a45599d7
Patch #1309579 : wait3 and wait4 were added to the posix module by Chad J. Schroeder.
...
This was a fair amount of rework of the patch. Refactored test_fork1 so it
could be reused by the new tests for wait3/4. Also made them into new style
unittests (derive from unittest.TestCase).
2006-03-20 06:30:08 +00:00
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
Skip Montanaro
7befb9966e
remove support for missing ANSI C header files (limits.h, stddef.h, etc).
2004-02-10 16:50:21 +00:00
Skip Montanaro
db6080507d
Remove support for --without-universal-newlines (see PEP 11).
2004-02-07 13:53:46 +00:00
Skip Montanaro
7e11a016e6
Remove HAVE_STRPTIME - no longer necessary with the pure Python version of
...
time.strptime().
2004-02-07 12:55:46 +00:00
Hye-Shik Chang
81268608bf
Add FreeBSD support for bluetooth sockets.
...
(SF Patch #888148 , reviewed by loewis)
2004-02-02 06:05:24 +00:00
Martin v. Löwis
12af0485f8
Patch #874083 : Bluetooth support for socket module.
2004-01-31 12:34:17 +00:00
Skip Montanaro
b9949dbe6c
Remove support for DYNIX, IRIX 4, --with-sgi-dl, --with-dl-dld
2004-01-17 04:04:13 +00:00
Skip Montanaro
f8712e5fc3
Remove support for systems defining __d6_pthread_create.
2004-01-17 03:04:46 +00:00
Skip Montanaro
4d474becd8
remove DGUX support.
2004-01-17 00:29:32 +00:00
Skip Montanaro
b9820a3b77
Remove support for minix.
...
Remove unused and unnecessary checks for sizeof(char).
2004-01-17 00:16:12 +00:00
Jack Jansen
c8607b76f0
Revamped framework search path handling for MacOSX. This should allow
...
two framework builds (in /Library and /System/Library) to coexist
with distutils linking against the right one.
Should be backported to 2.3, but getting Apple-supplied Python to pick
up these fixes is going to be non-trivial.
2003-12-08 01:10:12 +00:00
Martin v. Löwis
c19c5a62ae
Patch #836434 : Use dlopen/dlsym on AIX if available. Also disable
...
_XOPEN_SOURCE on AIX 4.
2003-11-18 20:00:44 +00:00
Martin v. Löwis
49ee14dac5
Patch #839038 : Add getsid(2).
2003-11-10 06:35:36 +00:00
Martin v. Löwis
2389c41a10
Patch #833710 : Set INSTSONAME on Solaris. Backported to 2.3.
2003-10-31 15:42:07 +00:00
Anthony Baxter
6169c6bc1d
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:46:23 +00:00
Martin v. Löwis
76bafc64ce
Patch #814764 : Undefine xopen_source on OpenBSD 3.4. Backported to 2.3.
2003-10-03 13:47:44 +00:00
Anthony Baxter
c050119de7
fix for bug #811160 - autoconf vs. hp/ux system header files.
...
also applied to release23-maint.
Note that aclocal.m4 can go away when autoconf 2.58 is out.
2003-09-27 09:12:27 +00:00
Skip Montanaro
6dead955a4
Type. HAVE_SYNC -> HAVE_FSYNC
2003-09-25 14:50:04 +00:00
Marc-André Lemburg
d7160f8845
Added test whether wchar_t is signed or not. A signed wchar_t is not usable as internal unicode type base for Py_UNICODE since the unicode implementation assumes an unsigned type.
2003-09-22 11:14:40 +00:00
Martin v. Löwis
a64988c001
Check for declarations of fchdir and fsync. Fixes #800710 . Backported to 2.3.
2003-09-20 15:30:20 +00:00
Martin v. Löwis
519adae1c1
Patch #805604 : Do not check for sem_init, do not use -Kthread,
...
if configured --without-threads. Backported to 2.3.
2003-09-20 10:47:47 +00:00
Brett Cannon
1836781fae
Improve detection of whether tzset is broken.
2003-09-19 00:59:16 +00:00
Martin v. Löwis
fa3bdea018
Patch #798202 : detect redhat9 Tcl/Tk in configure script.
...
Will backport to 2.2.
2003-09-04 18:50:54 +00:00
Jason Tishler
3076559ea5
This patch enables the building of Cygwin Python with a static core
...
which still supports shared extensions. It takes advantage the latest
Cygwin binutils (i.e., 20030901-1) which can export symbols from
executables:
http://cygwin.com/ml/cygwin-announce/2003-09/msg00002.html
Additionally, it finally lays to rest the following mailing list
subthread:
http://mail.python.org/pipermail/python-list/2002-May/102500.html
I tested the patch under Red Hat Linux 8.0 too
2003-09-04 11:04:06 +00:00
Martin v. Löwis
fc9b75fafb
Patch #771998 : Put braces around variables. Will backport to 2.3.
2003-08-09 09:06:52 +00:00
Fred Drake
9bd4462780
Update version number here as well; patchlevel.h is not the only place.
2003-07-30 17:39:48 +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
Andrew MacIntyre
abccf41a7d
FreeBSD 5.x has moved some library routines and typedefs outside the
...
scope of the _XOPEN_SOURCE and _POSIX_C_SOURCE symbols, including:
- getloadavg()
- typedefs for u_int, u_long, u_char, u_short, ushort & uint
These are now all defined under the control of a __BSD_VISIBLE symbol.
The lack of the typedefs causes several extension modules to build
incorrectly or not at all, and is the cause of failures reported for
test_socket and test_tempfile on this platform
(see python-dev: 29/6/03, pieterb@gewis.nl , "Running tests on freebsd5")
This change does not appear to be needed in the 2.2 branch.
2003-07-02 13:53:25 +00:00
Martin v. Löwis
ab1e5858ee
Patch #758910 : Add pthread flag to CXX if possible.
2003-06-28 07:46:38 +00:00
Martin v. Löwis
19d173486b
Patch #752671 : NetBSD needs to link libintl to _locale.so.
2003-06-14 21:03:05 +00:00
Martin v. Löwis
d141a8c472
Use -R instead of -rpath on Solaris. Fixes #749911 .
2003-06-14 15:20:28 +00:00
Martin v. Löwis
368de8f17f
Give a warning if SO is set. Fixes #610332 .
2003-06-14 14:46:38 +00:00
Martin v. Löwis
8316feb155
Explicitly undefine PACKAGE_ variables. Fixes #746012 .
2003-06-14 07:48:07 +00:00
Martin v. Löwis
96ce805725
Modified Patch #745620 : build shared lib as ".so" for NetBSD.
2003-05-31 07:58:45 +00:00
Neal Norwitz
b44f16592f
SF patch #719359 , fix test_long failure on OSF/1 with vendor cc
...
This also fixes several other bugs and patches by providing
the proper arguments to cc: 738066 and 741806 need -ieee,
693094 needs -std
2003-05-26 14:11:55 +00:00
Martin v. Löwis
4ee6eef22f
Patch #742741 : Check for true in different paths, support -pthread.
2003-05-26 05:37:51 +00:00
Martin v. Löwis
858f817d28
Modified patch #742126 : Don't define _XOPEN_SOURCE for OpenBSD 3.3.
2003-05-24 12:35:47 +00:00
Neal Norwitz
8225103d2d
Get test_ioctl to pass on HPUX 11.
...
TIOCGPGRP and many other definitions come from bsdtty.h, so it needs
to be included at least on HPUX.
2003-05-23 14:35:24 +00:00
Martin v. Löwis
c2409b4f5a
Update patch #732284 : Correct versions of OpenUNIX, UnixWare, add OpenServer.
2003-05-11 05:53:41 +00:00
Martin v. Löwis
f2e488db23
Patch #732479 : Fix typos.
2003-05-05 22:00:11 +00:00
Martin v. Löwis
53e73c36ee
Patch #732284 : Disable _XOPEN_SOURCE on UnixWare 7.
2003-05-05 05:13:18 +00:00
Martin v. Löwis
5f433f0ef4
Patch #732234 : Check for -Kthread.
2003-05-05 05:05:30 +00:00
Martin v. Löwis
95c419b20a
Try linking hstrerror and inet_aton tests. Look for these functions in -lresolv.
2003-05-03 12:10:48 +00:00
Martin v. Löwis
d3545ec5e3
Patch #730170 : Check for sem_init in -lpthread. Fixes #727051 .
2003-05-03 11:25:43 +00:00
Martin v. Löwis
bcd93962ce
Patch #730826 : Enable extensions on NetBSD 2.0.
2003-05-03 10:32:18 +00:00
Martin v. Löwis
e941617671
Patch #724588 : Check whether the address of hstrerror and inet_pton can
...
be taken, and define NI_MAX{HOST|SERV} if necessary.
2003-05-03 10:12:45 +00:00
Neal Norwitz
7f2588c073
SF patch #706707 , time.tzset standards compliance update by Stuart Bishop
...
Update configure and test to use proper timezone specifications
2003-04-11 15:35:53 +00:00
Neal Norwitz
0b27ff92d2
SF patch #712367 , get build working on AIX
...
configure change is necessary to pass "." to makexp_aix so that
dynamic modules work
setup change gets curses working
2003-03-31 15:53:49 +00:00
Martin v. Löwis
f26d63b3e1
Patch #650412 : Check whether the address of flock and getpagesize
...
can be taken, and use _SC_PAGE_SIZE if getpagesize is not available.
2003-03-30 17:23:49 +00:00
Jack Jansen
150753cb22
The test for setpgrp having two arguments didn't actually test anything.
...
For reasons unknown this suddenly started to matter (since Martin's 1.396
checkin? But why?), at least on MacOSX. Added a real test similar to the
getpgrp argument test.
2003-03-29 22:07:47 +00:00
Martin v. Löwis
a9d71420a6
Disable _XOPEN_SOURCE for Solaris 2.6. Fixes #690317 .
2003-03-28 18:43:31 +00:00
Martin v. Löwis
4daacb1a82
Add test for setpgrp. Fixes #690317 .
2003-03-28 18:37:01 +00:00
Neal Norwitz
865400fd07
/dev/ptmx doesn't exist on AIX, they had to be different and use /dev/ptc.
...
Otherwise, the 2 devices seem to work the same for allocating a pseudo-tty.
2003-03-21 01:42:58 +00:00
Jack Jansen
7b59b42a38
Added a define EXTRAMACHDEPPATH which can be used to add sys.path items
...
for specific platforms. Use this to add plat-mac and
plat-mac/lib-scriptpackages on MacOSX. Also tested for not having adverse
effects on Linux, and I think this code isn't used on Windows anyway.
Fixes #661521 .
2003-03-17 15:44:10 +00:00
Guido van Rossum
d11b62edd0
- New function time.tzset() provides access to the C library tzet()
...
function, if supported. (SF patch #675422 , by Stuart Bishop.)
2003-03-14 21:51:36 +00:00
Jack Jansen
c28fc37ed1
Refer to the Mac OS X bundle_loader by the altbininstall name, so that
...
building distutils extension modules also works if you've only done
an altinstall. Fixes bug #677293 .
2003-02-25 13:14:43 +00:00
Neal Norwitz
6eb37f0eea
Fix SF bug #691793 , Python 2.3a2 build fails on Tru64
...
Need to make sure that preprocessor directives start in first column.
This means we can't indent code which has preprocessor directives,
nor have a space between [ #include for example.
2003-02-23 23:28:15 +00:00
Jack Jansen
97e3f0060c
Disabled -prebind again when linking the interpreter on MacOSX. It caused
...
a serious slowdown when loading dynamic modules that depend on large shared
libraries or frameworks.
2003-02-23 22:59:01 +00:00
Guido van Rossum
162e38c6a3
- sys.path[0] (the directory from which the script is loaded) is now
...
turned into an absolute pathname, unless it is the empty string.
(SF patch #664376 , by Skip Montanaro.)
2003-02-19 15:25:10 +00:00
Neal Norwitz
10b214c2fd
Use configure to check for inet_aton.
2003-02-13 02:11:10 +00:00
Martin v. Löwis
dfc33fd8db
Don't use Posix semaphores on Solaris 8. Fixes #662787 .
2003-01-21 10:14:41 +00:00
Jack Jansen
0780e470dc
On MacOSX, added -prebind option to link phase for executable (and
...
framework, if applicable). This speeds up startup time by up to 50%.
2003-01-20 10:47:48 +00:00
Barry Warsaw
fe33b795d5
Test for presence of sysexits.h and set HAVE_SYSEXITS_H if so. Used
...
by posixmodule.c.
2003-01-07 22:42:49 +00:00
Skip Montanaro
decc6a47df
Split OPT make variable into OPT and BASECFLAGS. The latter contains those
...
compiler flags which are necessary to get a clean compile. The former is
for user-specified optimizer, debug, trace fiddling. See patch 640843.
Add /sw/lib and /sw/include to setup.py search paths on Darwin to take
advantage of fink goodies.
Add scriptsinstall target to Makefile to install certain scripts from
Tools/scripts directory.
2003-01-01 20:07:49 +00:00
Martin v. Löwis
14e73b1864
Expose I_ constants. Auto-detect stropts.h. Properly configure the slave terminal.
2003-01-01 09:51:12 +00:00
Martin v. Löwis
24a880b499
Patch #656590 : /dev/ptmx support for ptys.
2002-12-31 12:55:15 +00:00
Jack Jansen
83f898c86c
Adapted for the move of Mac/Lib to Lib/plat-mac. Makefile.pre.in now
...
knows about plat-mac subdirectories, and configure adds a variable
EXTRAPLATDIR. These together take care of copying Lib/plat-mac to
the destination on darwin.
Adding plat-mac is still done with a .pth file which is only created when
you do a framework build. I'm not 100% happy with this, but fixing it
really needs a functional pythonw in non-framework builds, and I don't
think I can do that before 2.3a1 (but I'll try:-).
2002-12-30 22:23:40 +00:00
Guido van Rossum
faf5e4d48f
Patch 659834 by Magnus Lie Hetland:
...
Check for readline 2.2 features. This should make it possible to
compile readline.c again with GNU readline versions 2.0 or 2.1; this
ability was removed in readline.c rev. 2.49. Apparently the older
versions are still in widespread deployment on older Solaris
installations. With an older readline, completion behavior is subtly
different (a space is always added).
2002-12-30 16:25:41 +00:00
Martin v. Löwis
438b534ad0
Patch #657889 : Implement posix.getloadavg.
2002-12-27 10:16:42 +00:00
Martin v. Löwis
9c36c29156
Use wcscoll for _locale.strcoll if available.
2002-12-21 18:34:06 +00:00
Martin v. Löwis
03d00d51ba
Fix if-then-else-fi structure.
2002-12-19 19:03:31 +00:00
Martin v. Löwis
7e4cfcb6bc
Unsupport --without-universal-newlines.
2002-12-19 16:21:49 +00:00
Martin v. Löwis
79f3c53ee8
Patch #651289 : Fix quoting errors.
2002-12-11 12:51:58 +00:00
Martin v. Löwis
9ef3376780
Avoid semicolon usage in echo.
2002-12-02 22:23:56 +00:00
Martin v. Löwis
779ffc066e
Add compile-time errors for unsupported systems.
2002-12-02 22:17:01 +00:00
Martin v. Löwis
39f59b089d
Remove MALLOC_ZERO_RETURNS_NULL.
2002-11-23 09:13:40 +00:00
Martin v. Löwis
d584368dec
Patch #639371 : Remove FreeBSD 5 specific test, test for ctermid_r, setgroups
...
prototypes explicitly.
2002-11-21 20:41:28 +00:00
Martin v. Löwis
e1172588e6
The libsocket/libnsl problem is specific to IRIX 4. Confirmed by Tim Rice.
2002-11-13 08:51:19 +00:00
Martin v. Löwis
678fc1ee7d
Don't define _XOPEN_SOURCE and _POSIX_C_SOURCE on FreeBSD 5.0. Fixes #636318 .
2002-11-12 06:04:39 +00:00
Martin v. Löwis
01c04013a7
Use new-style CHECK_TYPE to avoid modifying confdefs.h. Include sys/types.h
...
Fixes #636431 .
2002-11-11 14:58:44 +00:00
Martin v. Löwis
bddf5a57ca
Protect pyconfig.h from multiple inclusions.
2002-11-11 13:37:28 +00:00
Martin v. Löwis
35195ad221
Don't define _XOPEN_SOURCE on OpenBSD 2.x and 3.[012].
2002-11-11 13:26:51 +00:00
Martin v. Löwis
c8ad7cc55e
Check whether we can take the address of chown, link, and symlink.
2002-11-11 13:23:45 +00:00
Martin v. Löwis
e3271209e7
Try linking the major/minor test program. Fixes #634444 .
2002-11-07 07:42:30 +00:00