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