| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Some new configuration tests and a new option, --with-wctype-functions.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Solaris 2 has stub implementations of the POSIX thread functions such as
pthread_detach in libc. This means that configure tries to use them without
-lpthread, then the test of pthread_create fails and the configuration
falls back to the Solaris thread library. This patch moves the test for
pthread_create in -lpthread ahead of the test for pthread_detach in libc.
The patch also ensures that -lpthread is at the start of the library list
when linking, to pick up POSIX thread semantics for fork (see below).
Justification.
Use of POSIX threads on Solaris ensures that the fork() call only runs the
thread that called fork() in the child. This is desirable to prevent (for
example) parent server or database threads running in the child. Sun's
-lthread library uses a traditional fork() which replicates all the
parent's threads in the child. I find this undesirable.
Digression.
The configure.in seems to always test for -lthread even if a POSIX library
is found. I'm not enough of a configure.in wizard to decide whether this is
desirable or how to fix it. It is also irrelevant to this patch - I just
spotted it while testing.
End of Digression.
|
|
|
|
|
|
| |
needed an adaptation for the latest gcc -- we need to grep stderr as
well as stdout for the magic string BFD. (Does anybody know what BFD
means?)
|
|
|
|
|
|
| |
NOTE: Windows, Mac and OS/2 build procedures must be adapted manually!
This is part of a set of patches by Greg Stein.
|
|
|
|
| |
(The configure script is regenerated, not from his patch.)
|
|
|
|
|
|
|
|
| |
least on Solaris (sometimes it's Unix98, sometimes it conforms to an
early draft).
Properly generate config.h.in using autoheader instead of editing it
manually; thanks, Guido!
|
| |
|
|
|
|
| |
confstr(), and sysconf().
|
| |
|
|
|
|
|
|
|
| |
Duzan, for AIX, to support C++ objects with static initializers, when
using the genuine IBM C++ compiler (namely xlC/xlC_r).
See accompanying patches to acconfig.h and importdl.c.
|
| |
|
| |
|
|
|
|
| |
(My fault, not Dom's -- he submitted a correct patch to configure.)
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
donated by David Arnold.
|
|
|
|
| |
doesn't exist and doesn't make sense).
|
|
|
|
|
|
| |
LIBM (from --with-libm=...); this actually broke the customizability
offered by the latter option. Thanks go to Clay Spence for reporting
this.
|
| |
|
|
|
|
| |
for BeOS better.
|
|
|
|
|
|
|
|
|
| |
The following patches (relative to 1.5.2b1) enable Python dynamic
loading to work on NetBSD platforms that use ELF (presnetly mips and
alpha systems). They automaticly determine wether the system is ELF or
a.out rather than using astatic list of platforms so that when other
NetBSD platforms move to ELF, python will continue to work without
change.
|
|
|
|
| |
(Slightly modified to isolate the test for various funcs more.)
|
|
|
|
|
|
| |
- remove PowerPC specific compiler switch for BeOS (Chris Herborth)
- FreeBSD/3 support
- check for pthread_detach in libc instead of _create
|
| |
|
|
|
|
|
|
| |
Added AC_CHECK_SIZEOF(void *).
Added yet another test for pthreads (pthread_create may be in libc).
Added pthread_init to list of functions whose existence is checked.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
(1) reorder the tests for -Olimit 1500 and -OPT:Olimit=0 so that the
latter test is performed first, and if it works, the former test is
skipped. This should get rid of the problem that the new SGI
compilers accept both but emit a warning about -Olimit 1500.
(2) The DGUX hack was somehow split in two by the Olimit tests,
probably as the result of a non-context diff. Moved this back
together again, after the Olimit tests.
|
| |
|
| |
|
|
|
|
| |
enough platforms).
|
| |
|
| |
|
|
|
|
| |
need this any more and apparently it screws up their configuration.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
where Make doesn't know that '#' as a command is a comment.
|
|
|
|
|
|
|
|
|
|
|
|
| |
it seems harmless for other platforms. It plays tricks with the name
of the library used to link with. Apparently DG/UX really wants a
shared library to link with if it wants shared modules to use symbols
from the library. I'm not sure why this wasn't an issue with 1.4;
DG/UX seems to be the only platform where moving to a single library
made things harder!
BTW This adds a target to create libpython$(VERSION).so; however this
target is *only* for DG/UX.
|
|
|
|
|
|
|
|
| |
- add test for strptime (not used by the core but needed by Marc Lemburg's
Date object).
- Test for GNU ld on Solaris; need to add an extra linker option to
export symbols in that case.
|
|
|
|
|
|
| |
enabled. This is done through a substitution in Modules/Setup.thread(.in).
Bill Janssen will be happy. The original idea was by Lele Gaifax (though
I changed the implementation to use a separate file).
|
|
|
|
|
| |
(big surprise), and FreeBSD has pthread support in -lc_r -- maybe NetBSD
has too.
|
|
|
|
|
|
| |
from the main program to shared libraries. On mklinux, the old
'-rdynamic' doesn't work; the new '-Xlinker -export-dynamic' works
both there and on Intel Linux platforms.
|
| |
|
|
|
|
|
|
| |
code had the assignments switched around).
Also rename sharedmodules to lib-dynload.
|
| |
|