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