summaryrefslogtreecommitdiffstats
path: root/acconfig.h
Commit message (Collapse)AuthorAgeFilesLines
* Changes to automatically enable large file support on some systems.Guido van Rossum2001-09-051-0/+6
| | | | | | | | | | | | | | | | | | | | | I believe this works on Linux (tested both on a system with large file support and one without it), and it may work on Solaris 2.7. The changes are twofold: (1) The configure script now boldly tries to set the two symbols that are recommended (for Solaris and Linux), and then tries a test script that does some simple seeking without writing. (2) The _portable_{fseek,ftell} functions are a little more systematic in how they try the different large file support options: first try fseeko/ftello, but only if off_t is large; then try fseek64/ftell64; then try hacking with fgetpos/fsetpos. I'm keeping my fingers crossed. The meaning of the HAVE_LARGEFILE_SUPPORT macro is not at all clear. I'll see if I can get it to work on Windows as well.
* Re-do the broken-nice() patch to break less platforms. Hopefully none :PThomas Wouters2001-07-111-0/+3
| | | | | | | Also note that it isn't just Linux nice() that is broken: at least FreeBSD and BSDI also have this problem. os.nice() should probably just be emulated using getpriority()/setpriority(), if they are available, but I'll get to that later.
* SF Patch #432457 by Jason Tishler: support for readline 4.2.Guido van Rossum2001-07-101-0/+3
| | | | | | | This patch allows the readline module to build cleanly with GNU readline 4.2 without breaking the build for earlier GNU readline versions. The configure script checks for the presence of rl_completion_matches in libreadline.
* Support using UCS-4 as the Py_UNICODE type:Martin v. Löwis2001-06-261-0/+9
| | | | | | | | | | Add configure option --enable-unicode. Add config.h macros Py_USING_UNICODE, PY_UNICODE_TYPE, Py_UNICODE_SIZE, SIZEOF_WCHAR_T. Define Py_UCS2. Encode and decode large UTF-8 characters into single Py_UNICODE values for wide Unicode types; likewise for UTF-16. Remove test whether sizeof Py_UNICODE is two.
* Move USE_TOOLBOX_OBJECT_GLUE into acconfig.h.Martin v. Löwis2001-06-241-0/+3
|
* Patch #401196: Configuration machinery for IPv6.Martin v. Löwis2001-06-231-0/+12
| | | | | Contributed by Jun-ichiro "itojun" Hagino. get{addr,name}info emulation code taken from WIDE.
* Get rid of --with-check-import-case. (Jason Tishler, SF #409924)Guido van Rossum2001-03-201-3/+0
|
* Define __EXTENSIONS__ on Solaris. Fixes posixmodule error in bug #232787.Martin v. Löwis2001-03-061-0/+3
|
* Add Vladimir Marangozov's object allocator. It is disabled by default. ThisNeil Schemenauer2001-02-271-0/+3
| | | | closes SF patch #401229.
* Make HAVE_TERMIOS_H and associated config.sh shell variable availableEric S. Raymond2001-01-161-0/+6
| | | | | | | | | when configure detects the presence of termios.h; later we'll use this for correct configuration of edline/readline. Also, fix a bug in acconfig.h -- somebody forgot to add an undef to cover the LIBNDBM configure symbol, which was preventing autoheader from working properly.
* Part of SF patch #102409 by jlt63: Cygwin Python DLL and SharedGuido van Rossum2001-01-101-0/+12
| | | | | | | Extension Patch. Note: this could use some testing on NeXT, DG/UX, or BeOS, because of the changes in the Makefile regarding $(LDLIBRARY).
* SF Patch #103154 by jlt63: Cygwin Check Import Case Patch.Guido van Rossum2001-01-101-56/+59
| | | | | Note: I've reordered acconfig.h and config.h.in to obtain alphabetical order (modulo case and leading _).
* Configuration test for working getc_unlocked() (and flockfile() andGuido van Rossum2001-01-051-0/+3
| | | | funlockfile()).
* Donn Cave <donn@oz.net>:Fred Drake2000-10-091-6/+0
| | | | | | | Removed DL_EXPORT_HEADER -- only needed on BeOS, and not needed there anymore. This closes SourceForge patch #101775.
* Make better use of GNU Pth -- patch by Andy Dustman.Guido van Rossum2000-09-191-3/+3
| | | | | | | | | | | | | | | I can't test this, so I'm just checking it in with blind faith in Andy. I've tested that it doesn't broeak a non-Pth build on Linux. Changes include: - There's a --with-pth configure option. - Instead of _GNU_PTH, we test for HAVE_PTH. - Better signal handling. - (The config.h.in file is regenerated in a slightly different order.)
* Skip Montanaro <skip@mojam.com>:Fred Drake2000-08-311-0/+3
| | | | | | | | | | | Update the build structures to automatically detect the presence of BSD db, including the proper name of the header file to include. Has all the expected niceties associated with yet-more-configure-options. ;) This checkin includes changes for non-generated files only; subsequent checkin will catch those. This is part of SourceForge patch #101272.
* adds support for --with-pydebug configure optionSkip Montanaro2000-08-301-0/+3
|
* This patch partly (some stuff went in already) ports Python to Monterey.Trent Mick2000-08-231-0/+3
| | | | | | | | | | - Fix bug in thread_pthread.h::PyThread_get_thread_ident() where sizeof(pthread) < sizeof(long). - Add 'configure' for: - SIZEOF_PTHREAD is pthread_t can be included via <pthread.h> - setting Monterey system name - appropriate CC,LINKCC,LDSHARED,OPT, and CCSHARED for Monterey - Add section in README for Monterey build
* Added #undef HAVE_UINTPTR_T for autoconf's delight.Barry Warsaw2000-08-181-0/+3
|
* Remove setup of HAVE_OLD_CPP; it is no longer used in the Python sources.Fred Drake2000-07-091-3/+0
| | | | | 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.
* Cray J90 fixes for long ints.Tim Peters2000-07-081-0/+5
| | | | | | | | | | | | | | | | This was a convenient excuse to create the pyport.h file recently discussed! Please use new Py_ARITHMETIC_RIGHT_SHIFT when right-shifting a signed int and you *need* sign-extension. This is #define'd in pyport.h, keying off new config symbol SIGNED_RIGHT_SHIFT_ZERO_FILLS. If you're running on a platform that needs that symbol #define'd, the std tests never would have worked for you (in particular, at least test_long would have failed). The autoconfig stuff got added to Python after my Unix days, so I don't know how that works. Would someone please look into doing & testing an auto-config of the SIGNED_RIGHT_SHIFT_ZERO_FILLS symbol? It needs to be defined if & only if, e.g., (-1) >> 3 is not -1.
* Added #undef of WITH_CYCLE_GC for autoconf's delight.Barry Warsaw2000-06-301-0/+3
|
* This patch extends PC/config.h and configure.in as appropriate forFred Drake2000-06-291-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Andy Dustman: add GNU pth user-space thread support.Guido van Rossum2000-05-081-0/+3
|
* Added tests for socklen_tGuido van Rossum2000-04-241-0/+3
|
* Part of the Unicode checkin for Marc-Andre Lemburg.Guido van Rossum2000-03-101-0/+12
| | | | Some new configuration tests and a new option, --with-wctype-functions.
* Define HAVE_DYNAMIC_LOADING.Guido van Rossum1999-12-201-0/+3
| | | | This is part of a set of patches by Greg Stein.
* Correct stupid typo (HAVE_GETHOSTBTNAME).Guido van Rossum1999-12-161-1/+1
|
* Patch by Vladimir Marangozov, inspired by a bug report from GaryGuido van Rossum1999-11-161-0/+4
| | | | | | | 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 configure.in and importdl.c.
* For BeOS PowerPC. Chris Herborth.Guido van Rossum1999-04-061-0/+3
|
* Add symbols for gethostbyname_r variants (sigh).Guido van Rossum1999-03-221-0/+15
|
* Patches by William Lewis for Nextstep descendants.Guido van Rossum1999-01-271-0/+12
|
* Changes for long file support by Steve Clift.Guido van Rossum1999-01-061-0/+12
|
* Added BEOS_THREADS, HAVE_LONG_LONG, and SIZEOF_VOID_P templates.Guido van Rossum1998-10-021-0/+9
|
* --with-readline is obsolete (and some editorial stuff in README)Guido van Rossum1997-08-051-3/+0
|
* Add MALLOC_ZERO_RETURNS_NULL symbol.Guido van Rossum1997-07-101-0/+3
|
* Move WANT_SIGFPE_HANDLER.Guido van Rossum1997-05-091-3/+3
|
* Changes for Lee Busby's SIGFPE patch set.Guido van Rossum1997-02-141-0/+3
| | | | New symbol WANT_SIGFPE_HANDLER.
* Add HAVE_OLD_CPP to list of known definesGuido van Rossum1996-08-191-0/+3
|
* Add entry for _REENTRANT macroGuido van Rossum1996-07-311-0/+3
|
* Added C_THREADSGuido van Rossum1996-07-301-0/+3
|
* The usual changes when a release is nearing...Guido van Rossum1995-01-021-5/+12
|
* test for presence of stddef.hGuido van Rossum1994-10-201-2/+4
| | | | separate arg requirements for getpgrp() and setpgrp()
* add test for volatileGuido van Rossum1994-10-111-0/+3
|
* * Makefile.in (Makefile): add dependency on config.statusGuido van Rossum1994-07-011-0/+3
| | | | | * configure.in: support --with-gcc[=value], --without-gcc * configure.in, acconfig.h, config.h.in: check for clock_t
* changed GETPGRP_HAVE_ARGS into GETPGRP_HAVE_ARGGuido van Rossum1994-06-231-1/+1
|
* Changes for posix threadsGuido van Rossum1994-05-091-0/+3
|
* Added HAVE_STDARG_PROTOTYPES and signedGuido van Rossum1994-02-151-0/+7
|
* Small changesGuido van Rossum1994-01-131-0/+3
|
* Lots of minor stuff, install prefix, LIBM/LIBC, bad static forward,Guido van Rossum1994-01-111-0/+22
| | | | irix4 and GNU dynamic loading, version 1.0.0 BETA 6