summaryrefslogtreecommitdiffstats
path: root/configure
Commit message (Collapse)AuthorAgeFilesLines
* This patch partly (some stuff went in already) ports Python to Monterey.Trent Mick2000-08-231-317/+400
| | | | | | | | | | - 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 test for uintptr_t, the C9X acceptable way to spell "type toBarry Warsaw2000-08-181-212/+277
| | | | | | | 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).
* Reran autoconf.Sjoerd Mullender2000-08-171-89/+39
|
* remove all occurence of math.rint() from the sourcesPeter Schneider-Kamp2000-08-101-97/+89
| | | | (and yes, "Currintly" also counts <0.5 wink>)
* Cleanup configure.in. Specifically:Thomas Wouters2000-08-051-254/+231
| | | | | | | | | | | | | | - 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.
* Gregor Hoffleit: don't link with libnet on non-BeOS systemsJeremy Hylton2000-07-271-190/+194
|
* Gregor Hoffleit: Don't link with the libieee library if it's not necessaryJeremy Hylton2000-07-271-40/+89
|
* Move (actually copy) support for the sgi._getpty() function intoThomas Wouters2000-07-141-2/+2
| | | | | | | posix.openpty(). And conveniently also check if CVS write access really works. Closes SF patch #100722
* From Sam Rushing's Medusa, via SF patch #100858: add & documentAndrew M. Kuchling2000-07-131-140/+141
| | | | os.seteuid(), os.setegid(), os.setreuid(), os.setregid().
* Second try: checks whether right shift extends the sign bit.Vladimir Marangozov2000-07-121-12/+23
| | | | | Adds caching and reverts back the 'return' to 'exit()' in AC_TRY_RUN as recommended by the Autoconf documentation.
* Checks whether right shift extends the sign bit.Vladimir Marangozov2000-07-121-415/+423
| | | | | | | Patch by Thomas Wouters <thomas@xs4all.net> with small changes of mine (in main(), use return instead of exit). Closes patch #100832
* Remove setup of HAVE_OLD_CPP; it is no longer used in the Python sources.Fred Drake2000-07-091-441/+438
| | | | | 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.
* check for Pth *after* the standard system threading libraries. Pth shouldGreg Stein2000-07-051-67/+67
| | | | | | not override those. Submitted by: flight@users.sourceforge.net
* Document --with-thread as deprecated. This gets rid of the annoyingBarry Warsaw2000-06-301-180/+181
| | | | newline in configure --help.
* Enable the garbage collection module by default. --without-cycle-gcBarry Warsaw2000-06-301-190/+195
| | | | | | | | | disables it. The gc test is moved to just after the thread test, as is the wctype-functions test. Modules/Setup.config is generated instead of Modules/Setup.thread. Applied SF patch #100684 (loewis) to fix help alignment bug.
* penultimate phase of Neil Schemenauer's GC patchesJeremy Hylton2000-06-301-314/+338
| | | | update configure files (turn --with-cycle-gc on for beta release?)
* Bump version to 2.0.Guido van Rossum2000-06-301-216/+298
| | | | | | Note that configure hadn't been checked in a few times so it has more changes, catching up with the last few changes to congifure.in as well.
* Thread support is turned on my default now. To disable buildingBarry Warsaw2000-06-291-471/+449
| | | | | | | | | | | 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.
* Thomas Wouters <thomas@xs4all.net>:Fred Drake2000-06-281-363/+588
| | | | | | | | | | | | | This patch adds the openpty() and forkpty() library calls to posixmodule.c, when they are available on the target system. (glibc-2.1-based Linux systems, FreeBSD and BSDI at least, probably the other BSD-based systems as well.) Lib/pty.py is also rewritten to use openpty when available, but falls back to the old SGI method or the "manual" BSD open-a-pty code. Openpty() is necessary to use the Unix98 ptys under Linux 2.2, or when using non-standard tty names under (at least) BSDI, which is why I needed it, myself ;-) forkpty() is included for symmetry.
* Regenerated autoconf files. There's an extra change to config.h.in beyondAndrew M. Kuchling2000-06-181-127/+128
| | | | | the mremap() change I made; did someone modify configure.in previously without recreating these files?
* When building on Solaris and the compiler is GCC, use '$(CC) -G' toGreg Ward2000-05-261-190/+194
| | | | | | create shared extensions rather than 'ld -G'. This ensures that shared extensions link against libgcc.a, in case there are any functions in the GCC runtime not already in the Python core.
* Reduce opt level for BeOS - Donn Cave.Guido van Rossum2000-05-221-2/+2
|
* Fix the test for socklen_t so that it searches through sys/socket.h.Guido van Rossum2000-05-181-257/+265
|
* Add check for rint() in math library.Guido van Rossum2000-05-111-21/+81
|
* Andy Dustman: add GNU pth user-space thread support.Guido van Rossum2000-05-081-154/+204
|
* Added tests for socklen_tGuido van Rossum2000-04-241-217/+250
|
* Add Python version bump to configure script. (AMK)Guido van Rossum2000-03-311-2/+2
|
* Part of the Unicode checkin for Marc-Andre Lemburg.Guido van Rossum2000-03-101-262/+653
| | | | Some new configuration tests and a new option, --with-wctype-functions.
* Pat Knight:Guido van Rossum2000-02-251-57/+57
| | | | | | | | | | | | | | | | | | | | | | | | Solaris 2 has stub implementations of the POSIX thread functions such as pthread_detach in libc. This means that configure tries to use them without -lpthread, then the test of pthread_create fails and the configuration falls back to the Solaris thread library. This patch moves the test for pthread_create in -lpthread ahead of the test for pthread_detach in libc. The patch also ensures that -lpthread is at the start of the library list when linking, to pick up POSIX thread semantics for fork (see below). Justification. Use of POSIX threads on Solaris ensures that the fork() call only runs the thread that called fork() in the child. This is desirable to prevent (for example) parent server or database threads running in the child. Sun's -lthread library uses a traditional fork() which replicates all the parent's threads in the child. I find this undesirable. Digression. The configure.in seems to always test for -lthread even if a POSIX library is found. I'm not enough of a configure.in wizard to decide whether this is desirable or how to fix it. It is also irrelevant to this patch - I just spotted it while testing. End of Digression.
* According to Harri Pasanen, the Solaris+gcc test for LINKFORSHAREDGuido van Rossum2000-02-031-2/+2
| | | | | | needed an adaptation for the latest gcc -- we need to grep stderr as well as stdout for the magic string BFD. (Does anybody know what BFD means?)
* Changes to auto-detect the correct dynload_<platform>.c file.Guido van Rossum1999-12-201-105/+190
| | | | | | NOTE: Windows, Mac and OS/2 build procedures must be adapted manually! This is part of a set of patches by Greg Stein.
* Patch by Geoff Furnish to make compiling with C++ more gentle.Guido van Rossum1999-12-161-271/+315
| | | | (The configure script is regenerated, not from his patch.)
* Remove test for getlogin_r(); the interface is not clearly defined, atFred Drake1999-12-141-106/+105
| | | | | | | | 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!
* Added detection of getlogin() and getlogin_r().Fred Drake1999-12-141-105/+106
|
* Added detection for getgroups(), fpathconf(), pathconf(),Fred Drake1999-12-131-109/+110
| | | | confstr(), and sysconf().
* Added support for ctermid, tempnam, tmpfile, tmpnam, and tmpnam_r.Fred Drake1999-12-091-105/+106
|
* Patch by Vladimir Marangozov, inspired by a bug report from GaryGuido van Rossum1999-11-161-150/+180
| | | | | | | 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 acconfig.h and importdl.c.
* Dynamic linking support for BSD/OS 4.x as suggested by Vivek KheraGuido van Rossum1999-10-051-157/+159
|
* Erik Lindvall contributed a BSD/OS 4 patch for LDSHARED.Guido van Rossum1999-09-171-158/+159
|
* Need to double the macro brackets in FreeBSD check.Guido van Rossum1999-04-271-3/+3
| | | | (My fault, not Dom's -- he submitted a correct patch to configure.)
* FreeBSD/[34]* change, Dom Mitchell.Guido van Rossum1999-04-211-3/+3
|
* The usualGuido van Rossum1999-04-101-5/+5
|
* For BeOS PowerPC. Chris Herborth.Guido van Rossum1999-04-061-2/+2
|
* Chris Herborth: the new compiler in R4.1 needs some new options to work...Guido van Rossum1999-03-241-251/+254
|
* Ack! It never defined HAVE_GETHOSTBYNAME_R so that code was never tested!Guido van Rossum1999-03-231-28/+42
|
* Add code to test for all sorts of gethostbyname_r variants,Guido van Rossum1999-03-221-20/+251
| | | | donated by David Arnold.
* # the usualGuido van Rossum1999-02-231-182/+135
|
* Patches by William Lewis for Nextstep descendants.Guido van Rossum1999-01-271-259/+361
|
* Chris Herborth's first pass at making config and installGuido van Rossum1999-01-121-237/+275
| | | | for BeOS better.
* Now using autoconf 2.13Guido van Rossum1999-01-081-273/+351
|