Commit Graph

95 Commits

Author SHA1 Message Date
Guido van Rossum 7a5f420e67 Chris Herborth's first pass at making config and install
for BeOS better.
1999-01-12 20:30:23 +00:00
Guido van Rossum df69365f5f Ty Sarna writes:
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.
1999-01-07 21:50:41 +00:00
Guido van Rossum 00f0f6ef03 Changes for long file support by Steve Clift.
(Slightly modified to isolate the test for various funcs more.)
1999-01-06 18:52:29 +00:00
Guido van Rossum 2666a15576 Several tiny changes:
- remove PowerPC specific compiler switch for BeOS (Chris Herborth)
- FreeBSD/3 support
- check for pthread_detach in libc instead of _create
1998-12-17 18:07:35 +00:00
Guido van Rossum dd997f79b4 Add test for BSDI -- by Nigel Head and otto@mail.olympus.net. 1998-10-07 19:58:26 +00:00
Guido van Rossum fb4533c124 Added tweak for SET_CCC (which I don't even know what it is!) for Linux.
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.
1998-10-02 14:39:42 +00:00
Guido van Rossum ec95c7bd2b Changes for BeOS, QNX and long long, by Chris Herborth. 1998-08-04 17:59:56 +00:00
Guido van Rossum f867812288 Fix two unrelated problems in the same area:
(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.
1998-07-07 21:05:09 +00:00
Guido van Rossum 08d6be4871 Add timegm to list of functions tested, for Marc-Andre L. 1998-06-11 15:19:05 +00:00
Guido van Rossum b93a86297d support hpux pthreads 1998-05-07 13:27:32 +00:00
Guido van Rossum 2cb5660da1 Get rid of test for -lsun (very old IRIX); add test for -lm (needed on
enough platforms).
1998-05-07 13:25:56 +00:00
Guido van Rossum ee21f418b0 Remove bogus CCSHARED for cc on IRIX 6.x. 1998-04-20 18:51:54 +00:00
Guido van Rossum 1f74016735 Support for OpenBSD :-( 1998-04-13 15:27:21 +00:00
Guido van Rossum 70c7f48b9b Get rid of the check for -linet -- recent Sequent Dynix systems don't
need this any more and apparently it screws up their configuration.
1998-03-26 18:44:10 +00:00
Guido van Rossum 1809975a29 Added mktime to checked functions 1998-03-06 17:14:34 +00:00
Guido van Rossum 56896dd5bb Setting LINKFORSHARED for IRIX was a mistake. 1998-03-05 16:59:36 +00:00
Guido van Rossum 2b5ca00305 Some changes because gcc on SGI doesn't support '-all' 1998-03-05 15:41:09 +00:00
Guido van Rossum 69f65801ab Misc changes for AIX: install the python.exp file, and properly use $(srcdir). 1998-03-03 21:47:00 +00:00
Guido van Rossum 357428567c Different way to suppores the DGUX rule 1998-02-19 21:32:40 +00:00
Guido van Rossum 8f006272fe Some shifting around of the DGUX hack so that it won't break on DEC Unix
where Make doesn't know that '#' as a command is a comment.
1998-01-13 19:03:09 +00:00
Guido van Rossum 3c4bb802d0 Patch by Brian Gallew for DG/UX. I'm not quite sure what it does but
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.
1997-12-18 23:55:32 +00:00
Guido van Rossum 8f4ceb168c Two unrelated changes:
- 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.
1997-12-18 23:42:19 +00:00
Guido van Rossum 009f78754d When --with-thread(s) is specified, the thread module is now automatically
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).
1997-12-04 00:51:42 +00:00
Guido van Rossum 4954595036 Changes for FreeBSD and NetBSD: NetBSD does shared libs just like FreeBSD
(big surprise), and FreeBSD has pthread support in -lc_r -- maybe NetBSD
has too.
1997-12-02 19:28:29 +00:00
Guido van Rossum 2d9feeddf3 Change the option used on Linux to export all symbols
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.
1997-11-24 17:36:21 +00:00
Guido van Rossum 2efa34ba9b Daniel Larsson discovered another cut-n-paste bug in the Olimit story... 1997-10-23 17:43:11 +00:00
Guido van Rossum 304dd2defb Switch around OPT assignments in Don Beaudry's patch for Olimit (his
code had the assignments switched around).

Also rename sharedmodules to lib-dynload.
1997-10-20 23:10:56 +00:00
Guido van Rossum 91922677ea Don Beaudry's changes to support SGI_ABI on Irix 6.x. 1997-10-09 20:24:13 +00:00
Guido van Rossum 9601315140 Add checks for setlocale() and <locale.h> 1997-10-08 22:47:52 +00:00
Guido van Rossum b97ef1768f Remove plat- prefix from MACHDEP macro;
instead it is added to MACHDEPPATH in Modules/Setup.in
1997-09-28 05:44:03 +00:00
Guido van Rossum bbd6152fec Prefix MACHDEP directory with 'plat-'. 1997-09-08 01:56:35 +00:00
Guido van Rossum 45140f97a6 Subtle changes to the AIX shared library things to make them work
when building outside the source directory.  Courtesy Donn Cave.
1997-08-29 18:44:06 +00:00
Guido van Rossum 1171ee6aaf Added configuration tests for presence of alarm(), pause(), and getpwent() 1997-08-22 20:42:00 +00:00
Guido van Rossum 8456161fcd Richard Jones: I think we can be confident in using 'CC="-Aa
-D_HPUX_SOURCE"' on HP 9.x and 10.x platforms.
1997-08-21 00:08:11 +00:00
Guido van Rossum 25f93036bb Moved inclusion of PURIFY in LINKCC to configure 1997-08-18 16:00:04 +00:00
Guido van Rossum 0393e18b18 Fix LINKCC for AIX 1997-08-18 14:12:12 +00:00
Guido van Rossum 79c970cc49 typo in next config 1997-08-16 14:35:26 +00:00
Guido van Rossum fb84255e67 New version of Vladimir Marangozov's AIX hacks -- simpler etc. 1997-08-06 23:42:07 +00:00
Guido van Rossum 3c7c678b94 Got rid of --with-readline, at last. 1997-08-05 21:47:42 +00:00
Guido van Rossum 642b67809e Set $VERSION here (fixed to 1.5).
Remove some unneeded AC_SUBST() calls.
1997-07-19 19:35:41 +00:00
Guido van Rossum b5875b642e Set OPT to -g -O2 (or -O2 when -g not supported) when using gcc. 1997-07-18 23:29:09 +00:00
Guido van Rossum ad71370279 Added check whether malloc(0) returns NULL or not. 1997-07-10 22:42:38 +00:00
Guido van Rossum 7f059ad41a Use TRY_RUN, not TRY_COMPILE, to test for -Olimit (on Solaris,
with Sun's cc, the compile succeeds, but the link fails).

Test for IRIX*/6* instead of for IRIX/6* -- on 64-bit IRIX systems,
uname returns IRIX64.
1997-05-30 14:22:30 +00:00
Guido van Rossum 6400c26fbb DG/UX specific test for threads. 1997-05-22 20:34:27 +00:00
Guido van Rossum 93cfa95bec Add kill, execv, fork to tested functions. 1997-05-22 20:12:34 +00:00
Guido van Rossum 201afe56d3 Add -Olimit 1500 to OPT if CC supports it. 1997-05-14 21:14:44 +00:00
Guido van Rossum c5d14a65a7 Added $(srcdir)/ prefix to python.exp for AIX.
No idea if this actually works...
1997-05-13 17:59:29 +00:00
Guido van Rossum 9327422093 Added --with-fpectl. Change checks for -lm, -lc. 1997-05-09 02:42:00 +00:00
Guido van Rossum 9b7127370e Get rid of the "-n32" options for SGI IRIX 6.x. Instead, substitute
the value at configure time of the SGI_ABI environment variable.  See
abi(5).
1997-04-29 22:14:56 +00:00
Guido van Rossum 6100aaf768 Added test for pthread.h. 1997-04-29 21:48:51 +00:00