Commit Graph

632 Commits

Author SHA1 Message Date
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
Guido van Rossum bcd91e07d1 Fix typo (missing $ in ) 1997-03-20 20:46:29 +00:00
Guido van Rossum 54d93d446b Add --with-dec-threads, for DEL Alpha, which requires -threads as the
*final* linker argument.  This implies --with-thread.

Reimplemented --with-threads as an alias for --with-thread.
1997-01-22 20:51:58 +00:00
Guido van Rossum f78abae10f Let --with-threads be an alias for --with-thread. 1997-01-21 22:02:36 +00:00
Guido van Rossum 8c4ed9ae5d Rewritten the readline test, hopefully it's okay now. 1996-12-31 22:34:17 +00:00
Guido van Rossum ce458517b0 Added -lld to AIX LINKFORSHARED. Monty Stein. 1996-12-10 17:18:38 +00:00
Guido van Rossum 5dab3d815f Test for sys/file.h.
Determine sizeof int and long.
For HPUX, add linker options for shared library usage.
1996-12-06 21:18:18 +00:00
Guido van Rossum 2bb4f5598d Shortened some lines 1996-09-10 18:19:59 +00:00
Guido van Rossum 4b6b57980f Changes for NeXT by Lele 1996-09-09 20:09:34 +00:00
Guido van Rossum 6f2260ea7f Fixed nextstep buglet; check for libreadline w/o libterm* 1996-09-09 16:21:03 +00:00
Guido van Rossum 3f13e48484 More thorough test for working <stdarg.h>. 1996-08-30 20:58:11 +00:00
Guido van Rossum f2f7eb34c8 Added checks for strdup and changed checks for hypot. 1996-08-30 15:18:00 +00:00
Guido van Rossum 300fda7a6d Several refinements:
- check for pre-ANSI preprocessor (needed by operator.c)
- SCO_SV shared library support (Lance)
- improved AIX shared library support (Vlad & Manus)
- finally fixed --with-readline=DIRECOTRY, using LDFLAGS
1996-08-19 21:58:16 +00:00
Guido van Rossum 9caf77a485 Put definition of _REENTRANT in config.h 1996-08-01 00:52:26 +00:00
Guido van Rossum 8a2574e09e Changes for AIX; also remove all references to _REENTRANT. 1996-07-31 22:45:54 +00:00
Guido van Rossum c5a3903472 Three changes:
- Improved version of NeXT patching of $OPT
- Added new option --with-libs='lib1 lib2 ...'
- Define _REENTRANT when posix threads are in use
1996-07-31 17:35:03 +00:00
Guido van Rossum b418f89bcd Changes for NeXT. Some improvements to long lines. 1996-07-30 18:06:02 +00:00
Guido van Rossum dde4317643 Added putenv to AC_CHECK_FUNCS list. 1996-07-24 02:41:31 +00:00
Guido van Rossum 81652ab67a Use gcc, not gcc-elf on Linux 1996-07-21 02:53:27 +00:00
Guido van Rossum 22b6db625a added plock 1996-06-28 20:18:10 +00:00
Guido van Rossum a2ef383623 Split some long lines (headers, functions).
Rework --with-readline and --with-thread.
1996-06-26 19:45:23 +00:00
Guido van Rossum 68242b5a8b Some more header files and symbols.
Split the AC_CHECK_FUNCS() line using backslashes.
Added FreeBSD support.
Added XXX comment -- need to be more liberal or careful about -lreadline.
1996-05-28 22:53:03 +00:00
Guido van Rossum 2242fd1c22 fix several bugs in tr argument lists 1995-09-19 16:19:29 +00:00
Guido van Rossum 55a214e39d on osf/1, never use gcc; added test for strftime() 1995-09-13 17:48:09 +00:00
Guido van Rossum 45ee2eaf29 improve ac_sys_system/release, add ac_syts_cpu 1995-08-28 02:44:00 +00:00
Guido van Rossum b65a48e2b6 linux elf shlib; sys/wait.h; don't add -posix for NeXT 1995-06-14 18:21:23 +00:00
Guido van Rossum 03ad99f09f added test for CC value not matching cache 1995-03-09 14:09:54 +00:00
Guido van Rossum af07a44428 the usual 1995-02-13 19:45:27 +00:00
Guido van Rossum 71001e4355 add OSF/1 LDSHARED; add IRIX5 conditional for sockets 1995-01-26 00:44:03 +00:00
Guido van Rossum 5739e7ec1f modernize all tests to use cache and report outcome 1995-01-20 16:50:53 +00:00
Guido van Rossum 7d47329656 add INSTALL_PROGRAM and INSTALL_DATA; check for getopt 1995-01-20 14:12:16 +00:00
Guido van Rossum f618d2ccc2 hopefully final changes for Sequent -linet 1995-01-17 16:36:13 +00:00
Guido van Rossum 17ac14de9e try to improve svr4 socket library inquiries 1995-01-12 12:24:29 +00:00
Guido van Rossum af5b83ec4a README: changed URL format to <URL:...>; added section on Tk.
Makefile.in: run config.status in "make recheck".
configure.in: add test for hypot().
config.h.in, configure: since configure.in changed.
rest: the usual boring stuff.
1995-01-04 19:02:35 +00:00
Guido van Rossum 76be6eda96 The usual changes when a release is nearing... 1995-01-02 18:33:54 +00:00
Guido van Rossum 5dee5e7dc0 bugfix release 1994-11-10 23:06:54 +00:00
Sjoerd Mullender 47f7c71549 Removed erroneous +. 1994-11-03 13:45:40 +00:00
Guido van Rossum 2bcafeb645 test for presence of stddef.h
separate arg requirements for getpgrp() and setpgrp()
1994-10-20 22:06:56 +00:00
Guido van Rossum dabb11b2a2 add test for volatile 1994-10-11 15:04:27 +00:00
Guido van Rossum e1f17b593d Only require autoconf 1.8 1994-10-06 15:51:22 +00:00
Guido van Rossum ac405f6c4e Shared library support 1994-09-12 10:56:06 +00:00
Guido van Rossum 4e8af445ec Simplify value of INSTALL (always 'cp').
Pass value of OPT from configure environment to Makefile.
Add check for limits.h.
Use <directory>/libreadline.a instead of -lreadline.
1994-08-19 15:33:54 +00:00
Guido van Rossum a0e9a77183 * configure.in, Makefile.in: remove the AC_PREFIX() call -- it's
more trouble than it's worth at CWI and most other people seem to
	install Python in the default (/usr/local) anway.  Changed comment
	describing --prefix in Makefile.in
1994-08-12 13:18:25 +00:00
Guido van Rossum 433c8ade13 Merge alpha100 branch back to main trunk 1994-08-01 12:07:07 +00:00
Guido van Rossum 6085e32a75 Alpha 1.0.0 1993-12-26 18:24:40 +00:00
Guido van Rossum 627b2d7cd7 New files 1993-12-24 10:39:16 +00:00