summaryrefslogtreecommitdiffstats
path: root/pyconfig.h.in
Commit message (Collapse)AuthorAgeFilesLines
* Define _XOPEN_SOURCE and _GNU_SOURCE in pyconfig.h, to have themMartin v. Löwis2002-07-201-0/+8
| | | | available in the configure tests already.
* Alas, roll back the definition of _XOPEN_SOURCE. It breaks the testsGuido van Rossum2002-07-191-3/+0
| | | | | | | | | | | for the time module, because somehow configure won't define the symbols HAVE_STRUCT_TM_TM_ZONE, HAVE_TM_ZONE, and HAVE_TZNAME in this case. I've got no time to research this further, so I leave it in Jeremy and Martin's capable hands to find a different solution for True64 (or to devise a way to get the time tests to succeed while defining _XOPEN_SOURCE).
* Land Patch [ 566100 ] Rationalize DL_IMPORT and DL_EXPORT.Mark Hammond2002-07-191-16/+9
|
* This introduces stricter library/header file checking for the Berkeley DBSkip Montanaro2002-06-141-9/+0
| | | | | | | | | library. Since multiple versions can be installed simultaneously, it's crucial that you only select libraries and header files which are compatible with each other. Version checking is done from highest version to lowest. Building using version 1 of Berkeley DB is disabled by default because of the hash file bugs people keep rediscovering. It can be enabled by uncommenting a few lines in setup.py. Closes patch 553108.
* Patch #568235: Add posix.setpgid.Martin v. Löwis2002-06-131-0/+3
|
* Patch #488073: AtheOS port.Martin v. Löwis2002-06-111-0/+3
|
* Patch #505375: Make doc strings optional.Martin v. Löwis2002-06-091-0/+3
|
* Stop testing for sigprocmask. This is a stop gap measure until I workMichael W. Hudson2002-06-061-3/+0
| | | | | out how to just activate my code on platforms where I know it works (currently only linux/x86).
* Patch #555929: Cygwin AH_BOTTOM cleanup patch (*** version 2 ***)Jason Tishler2002-06-041-10/+0
| | | | | | | | | | | | This patch complies with the following request found near the top of configure.in: # This is for stuff that absolutely must end up in pyconfig.h. # Please use pyport.h instead, if possible. I tested this patch under Cygwin, Win32, and Red Hat Linux. Python built and ran successfully on each of these platforms.
* This is patchMichael W. Hudson2002-05-271-0/+3
| | | | | | | [ 559250 ] more POSIX signal stuff Adds support (and docs and tests and autoconfery) for posix signal mask handling -- sigpending, sigprocmask and sigsuspend.
* Back out #555929Martin v. Löwis2002-05-151-0/+10
|
* Patch #555929: Cygwin AH_BOTTOM cleanup patchJason Tishler2002-05-151-10/+0
| | | | | | | | | | | | This patch complies with the following request found near the top of configure.in: # This is for stuff that absolutely must end up in pyconfig.h. # Please use pyport.h instead, if possible. I tested this patch under Cygwin, Win32, and Red Hat Linux. Python built and ran successfully on each of these platforms.
* #546163, fix link problem on Solaris 8 for makedev when using mknodNeal Norwitz2002-04-201-0/+3
|
* Move WITH_UNIVERSAL_NEWLINES template into configure.in.Martin v. Löwis2002-04-161-3/+3
|
* Add a test for fchdir().Fred Drake2002-04-151-0/+3
| | | | This is part of SF feature #536796.
* Mass checkin of universal newline support.Jack Jansen2002-04-141-0/+3
| | | | | | | | Highlights: import and friends will understand any of \r, \n and \r\n as end of line. Python file input will do the same if you use mode 'U'. Everything can be disabled by configuring with --without-universal-newlines. See PEP278 for details.
* Patch #543447: Add posix.mknod.Martin v. Löwis2002-04-141-0/+3
|
* Remove acconfig.h.Martin v. Löwis2002-04-121-31/+3
|
* Update to autoconf 2.5x.Martin v. Löwis2002-04-121-461/+537
|
* Move autoheader declarations into configure.in.Martin v. Löwis2002-04-061-204/+204
|
* Expose C library's gettext. Fixes #516412.Martin v. Löwis2002-03-271-0/+3
|
* Patch #532729: check for sem_init in -lrt.Martin v. Löwis2002-03-211-2/+3
|
* Remove compiler warnings on Solaris 8.Neal Norwitz2002-03-201-0/+2
| | | | Can go into 2.2.x, but not necessary.
* Patch #511193: Implement killpg in posixmodule.Martin v. Löwis2002-02-161-0/+3
|
* Patch #497098: build support for GNU/Hurd.Martin v. Löwis2002-01-011-3/+9
|
* Check for HP/UX curses problems. Define _XOPEN_SOURCE_EXTENDED andMartin v. Löwis2001-10-241-0/+6
| | | | | | STRICT_SYSV_CURSES when compiling curses module on HP/UX. Generalize access to _flags on systems where WINDOW is opaque. Fixes bugs #432497, #422265, and the curses parts of #467145 and #473150.
* SF patch #460805 by Chris Gonnerman: Support for unsetenv()Guido van Rossum2001-10-191-7/+10
| | | | | | | | This adds unsetenv to posix, and uses it in the __delitem__ method of os.environ. (XXX Should we change the preferred name for putenv to setenv, for consistency?)
* SF patch #462296: Add attributes to os.stat results; by Nick Mathewson.Guido van Rossum2001-10-181-0/+9
| | | | | | | | | | | | | | | | | This is a big one, touching lots of files. Some of the platforms aren't tested yet. Briefly, this changes the return value of the os/posix functions stat(), fstat(), statvfs(), fstatvfs(), and the time functions localtime(), gmtime(), and strptime() from tuples into pseudo-sequences. When accessed as a sequence, they behave exactly as before. But they also have attributes like st_mtime or tm_year. The stat return value, moreover, has a few platform-specific attributes that are not available through the sequence interface (because everybody expects the sequence to have a fixed length, these couldn't be added there). If your platform's struct stat doesn't define st_blksize, st_blocks or st_rdev, they won't be accessible from Python either. (Still missing is a documentation update.)
* Shut up warnings for setgroups() on Linux -- you have to #includeGuido van Rossum2001-10-181-7/+10
| | | | <grp.h> it seems. This requires yet another configure test.
* Expose setgroups. Fixes feature request #468116.Martin v. Löwis2001-10-181-0/+3
|
* Do not define _POSIX_THREADS if unistd.h defines it.Martin v. Löwis2001-10-151-0/+3
| | | | Check for pthread_sigmask before using it. Fixes remaining problem in #470781.
* Check for term.h and include it on non-ncurses system to get a declarationMartin v. Löwis2001-10-131-0/+3
| | | | for tigetstr.
* Add chroot call. Implements feature #459267.Martin v. Löwis2001-10-041-0/+3
|
* Patch #462122: add readline startup and pre_event hooks.Martin v. Löwis2001-09-301-0/+3
|
* Improve threading on Solaris, according to SF patch #460269, submittedGuido van Rossum2001-09-101-0/+3
| | | | | | | | | | by bbrox@bbrox.org / lionel.ulmer@free.fr. This adds a configure check and if all goes well turns on the PTHREAD_SCOPE_SYSTEM thread attribute for new threads. This should remove the need to add tiny sleeps at the start of threads to allow other threads to be scheduled.
* This time (I hope) I've fixed largefileGuido van Rossum2001-09-091-3/+1
| | | | | | support on Linux (and Solaris, I expect) for real. The necessary symbols are defined once and for all, under the assumption that they won't harm elsewhere.
* Revert parts of patch #453627, documenting the resulting test failuresMartin v. Löwis2001-09-061-2/+0
| | | | instead.
* Move UnixWare 7 defines to acconfig.h, regenerate pyconfig.h.in.Martin v. Löwis2001-09-051-0/+8
|
* Changes to automatically enable large file support on some systems.Guido van Rossum2001-09-051-7/+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.
* Patch #453627: Define the following macros when compiling on a UnixWare 7.x ↵Martin v. Löwis2001-09-051-0/+7
| | | | | | | system: SCO_ATAN2_BUG, SCO_ACCEPT_BUG, and STRICT_SYSV_CURSES. Work aroudn a bug in the SCO UnixWare atan2() implementation.
* Fix portability problems with glibc 2.0, as reported in #449157.Martin v. Löwis2001-08-151-0/+3
|
* Autotest for netpacket/packet.h, as it is not available on all Linux versions.Martin v. Löwis2001-08-101-0/+3
| | | | Depend AF_PACKET on HAVE_NETPACKET_PACKET_H.
* Expose nl_langinfo through locale where available.Martin v. Löwis2001-08-101-0/+3
|
* Auto-detect hstrerror. Raise socket.herror in PyH_Error. Register the threeMartin v. Löwis2001-08-041-0/+3
| | | | exception classes in the module dictionary.
* Patch #411138: Rename config.h to pyconfig.h. Closes bug #231774.Martin v. Löwis2001-07-261-0/+706