Commit Graph

67 Commits

Author SHA1 Message Date
Barry Warsaw bc7c7f991c Added test for uintptr_t, the C9X acceptable way to spell "type to
which I can cast void* to and back again without losing information".
In pyport.h, we typedef Py_uintptr_t to mean this thing, which if the
platform supports, will be uintptr_t (otherwise, other accomodations
are made).
2000-08-18 04:53:33 +00:00
Sjoerd Mullender a1795032ca Reran autoconf. 2000-08-17 11:41:06 +00:00
Thomas Wouters 3a58420d86 Cleanup configure.in. Specifically:
- Don't call both AC_CHECK_FUNCS and AC_REPLACE_FUNC for 'hypot', as the
latter already does everything the former does (because it's implemented as
a call to the former.)

- Don't call AC_CHECK_FUNC() without any 'action' clauses or with an action
clause that just defines HAVE_<function>. Instead, call AC_CHECK_FUNCS,
which defines 'HAVE_<function>' of itself, possibly with aditional 'action'
clauses.

No checks are removed by this patch, only moved around, and some duplicates
are removed.
2000-08-05 23:28:51 +00:00
Thomas Wouters e201cbad0b Oops, forgot to run autoheader before checking in the _getpty move to
posixmodule.
2000-07-15 22:13:48 +00:00
Andrew M. Kuchling 8d2f2b2db2 From Sam Rushing's Medusa, via SF patch #100858: add & document
os.seteuid(), os.setegid(), os.setreuid(), os.setregid().
2000-07-13 01:26:58 +00:00
Fred Drake ce81d59c0c Remove setup of HAVE_OLD_CPP; it is no longer used in the Python sources.
The actual test for it is only commented out in configure.in, so it can
be re-enabled if we ever run across the need for it again.
2000-07-09 14:39:29 +00:00
Barry Warsaw cf053b15b5 Added #undef of WITH_CYCLE_GC for autoconf's delight. 2000-06-30 16:02:58 +00:00
Jeremy Hylton 2a2c218525 penultimate phase of Neil Schemenauer's GC patches
update configure files (turn --with-cycle-gc on for beta release?)
2000-06-30 04:57:55 +00:00
Guido van Rossum 5cdaf26be3 Somehow this had HAVE_SYS_SOCKET_H twice. Once is enough. Rerunning
autoheader revealed this.
2000-06-30 02:44:41 +00:00
Fred Drake a3f6e91307 This patch extends PC/config.h and configure.in as appropriate for
64-bit readiness (the config values are needed for patches that I will
be submitting later today. The changes are as follows:

- add SIZEOF_OFF_T #define's to PC/config.h (it was already in configure.in)

- add SIZEOF_TIME_T #define to PC/config.h and configure
Needed for some buffer overflow checking because sizeof(time_t) is
different on Win64.

- add SIZEOF_FPOS_T #define
Needed for the Win64 large file support implementation.

- add SIZEOF_HKEY in PC/config.h only
Needed for proper Win32 vs. Win64 handling in PC/winreg.c

- #define HAVE_LARGEFILE_SUPPORT for Win64

- typedef long intptr_t; for all Windows except Win64 (which defines it
itself)
This is a new ANSI (I think) type that is useful (and used by me) for
proper handling in msvcrtmodule.c and posixmodule.c

- indent the nested #ifdef's and #defines in PC/config.h
This is *so* much more readable. There cannot be a compiler
compatibilty issue here can there? Perl uses indented #defines and it
compiles with everything.
2000-06-29 20:44:47 +00:00
Barry Warsaw c0d24d8bbf Thread support is turned on my default now. To disable building
threads use --without-threads.  No extra tests of thread/compiler
combinations have been added.

--with(out)-thread and --with(out)-threads are completely
interchangeable.

--with-threads still supports the =DIRECTORY option for specifying
where to find thread libraries.
2000-06-29 16:12:00 +00:00
Andrew M. Kuchling 22c6934885 Regenerated autoconf files. There's an extra change to config.h.in beyond
the mremap() change I made; did someone modify configure.in previously
without recreating these files?
2000-06-18 15:07:40 +00:00
Guido van Rossum a28518a6a6 Add check for rint() in math library. 2000-05-11 18:41:32 +00:00
Guido van Rossum 07bd90e92d Andy Dustman: add GNU pth user-space thread support. 2000-05-08 13:41:38 +00:00
Guido van Rossum 59903fe2b5 Added tests for socklen_t 2000-04-24 15:12:04 +00:00
Guido van Rossum ef2255b1dd Part of the Unicode checkin for Marc-Andre Lemburg.
Some new configuration tests and a new option, --with-wctype-functions.
2000-03-10 22:30:29 +00:00
Guido van Rossum 6f13e9abc9 Add line for HAVE_DYNAMIC_LOADING (result of editing acconfig.h).
This is part of a set of patches by Greg Stein.
1999-12-20 21:25:59 +00:00
Guido van Rossum ec3caccb17 Regenerated after new acconfig.h. 1999-12-16 17:49:27 +00:00
Fred Drake f581db15a3 Remove test for getlogin_r(); the interface is not clearly defined, at
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!
1999-12-14 21:11:47 +00:00
Fred Drake 3bb3e5773b Added detection of getlogin() and getlogin_r(). 1999-12-14 20:48:17 +00:00
Fred Drake 35a092fece Added detection for getgroups(), fpathconf(), pathconf(),
confstr(), and sysconf().
1999-12-13 16:23:35 +00:00
Fred Drake 89143df520 Added support for ctermid, tempnam, tmpfile, tmpnam, and tmpnam_r. 1999-12-09 22:03:25 +00:00
Guido van Rossum 569ef619c7 Changes resulting from patch to acconfig.h. 1999-11-16 15:55:56 +00:00
Guido van Rossum 8137680704 For BeOS PowerPC. Chris Herborth. 1999-04-06 15:50:51 +00:00
Guido van Rossum 7152e9b483 Add symbols for gethostbyname_r variants (sigh). 1999-03-22 21:46:06 +00:00
Guido van Rossum 3f2c383a7e Now that we don't have AC_CHECK_LIB(m, pow), the HAVE_LIBM symbol
disappears.  It wasn't used anywhere anyway...
1999-02-23 18:07:31 +00:00
Guido van Rossum 54ecc3d24f Patches by William Lewis for Nextstep descendants. 1999-01-27 17:53:11 +00:00
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 257fd514a3 Changes for long file support. 1999-01-07 21:48:46 +00:00
Guido van Rossum ad678af89b The usual 1998-10-02 14:42:15 +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 08d6be4871 Add timegm to list of functions tested, for Marc-Andre L. 1998-06-11 15:19:05 +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 bd24eb447e We no longer check for libsun.a. 1998-04-10 19:17:15 +00:00
Guido van Rossum 1809975a29 Added mktime to checked functions 1998-03-06 17:14:34 +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 9601315140 Add checks for setlocale() and <locale.h> 1997-10-08 22:47:52 +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 b06df27843 --with-readline is obsolete (and some editorial stuff in README) 1997-08-05 21:50:20 +00:00
Guido van Rossum 443389fd2e Add MALLOC_ZERO_RETURNS_NULL symbol. 1997-07-10 22:43:05 +00:00
Guido van Rossum 0be3e4936f The usual effects of a new configure.in 1997-05-22 20:33:33 +00:00
Guido van Rossum f4eb63ef9a Add HAVE_PTHREAD_H; move WANT_SIGFPE_HANDLER. 1997-05-09 02:40:44 +00:00
Guido van Rossum 4a3df1c936 Changes for Lee Busby's SIGFPE patch set.
New symbol WANT_SIGFPE_HANDLER.
1997-02-14 23:00:34 +00:00
Guido van Rossum 44be35aca4 A number of new symbols have appeared (courtesy autoconf 2.12?) 1997-01-22 20:53:30 +00:00
Guido van Rossum ccaf3b6d11 The usual. 1996-12-06 21:19:16 +00:00
Guido van Rossum 84e7b248f0 The usual... 1996-08-19 21:59:00 +00:00
Guido van Rossum 9caf77a485 Put definition of _REENTRANT in config.h 1996-08-01 00:52:26 +00:00
Guido van Rossum 42dcad36a9 The usual 1996-07-31 22:48:44 +00:00
Guido van Rossum a68acba5ad The usual 1996-07-31 17:36:39 +00:00
Guido van Rossum 7b3853fb02 Follow new configure.in 1996-07-30 18:09:35 +00:00