summaryrefslogtreecommitdiffstats
path: root/configure
Commit message (Collapse)AuthorAgeFilesLines
* Patch #101936: Auto-detect DEC threads (which need "-threads" argument)Jeremy Hylton2000-10-161-427/+410
| | | | by Thomas Wouters
* When we know the compiler is GCC, always add the -Wall andFred Drake2000-10-121-406/+432
| | | | | | | | | | | | | -Wstrict-prototypes options. This will make it a lot easier to keep warnings under control in the first place in the future. There is one known warning at this time, caught by the -Wstrict-prototypes option. In Modules/main.c, the declaration of getopt() without parameters gets a complaint (rightly) that it is not a proper prototype. The lack of a complete prototype information should be corrected when the right portability conditions have been identified. Approved by the Guido.
* The Usual.Jeremy Hylton2000-10-091-431/+405
|
* Remove macro that mentions DL_EXPORT_HEADER; it caused a spurious warningFred Drake2000-10-091-464/+485
| | | | | from autoheader and is not useful anymore. (Approved by Donn Cave.)
* Checking in three Darwin-specific patches.Guido van Rossum2000-10-091-456/+444
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tony Lownds: [ Patch #101816 ] Fixes shared modules on Mac OS X 1. Mac OS X is recognized by the Next-ish host recognition code as "Darwin/1.2" 2. When specifying just --with-dyld, modules can compile as shared 3. --with-dyld and --with-next-framework, modules can compile as shared 4. --with-suffix=.exe, and Lib/plat-darwin1.2 is being made, the regen script invokes python as python.exe [I had to reformat this patch a bit to make it work. Please test!] Dan Wolfe: [ Patch #101823 ] Fix Darwin POSIX Thread redefinition The patch below fixes the redefinition problem in Darwin with _POSIX_THREADS. I'm not sure if this is the correct long term fix but for now it fixes the problem and the fix is specific to Darwin. Dan Wolfe: [ Patch #101824 ] On Darwin, remove unrecognized option `-OPT:Olimit=0' After many, many, many compiles, I finally got itchy of this warning cluttering up the output... so I scratched (Darwin configs only) and it's gone! :-)
* Donn Cave <donn@oz.net>:Fred Drake2000-10-091-490/+500
| | | | | | | Update for BeOS. This closes SourceForge patch #101774. Also fix typo in a comment.
* Put arguments to test -z in double quotes. Fixes Bug #116325.Guido van Rossum2000-10-071-4/+4
|
* Change all occurances ofBarry Warsaw2000-10-051-4/+4
| | | | | | | | | | | test -d "$directory" to test ! -z "directory" -a -d "directory" Apparently, on SunOS 4.1.4_JL (and other?) OSes, -d on an empty string always returns true. This closes SF bug #115392.
* [ Patch #101730 ] Add initial static support for Darwin/MacOSX.Guido van Rossum2000-10-051-335/+341
| | | | By D.K. Wolfe.
* the usualJeremy Hylton2000-09-261-431/+405
|
* Properly set LINKFORSHARED on Reliant UNIX. Problem and required linkerFred Drake2000-09-251-405/+434
| | | | flags reported by Daniel Dittmar <daniel.dittmar@sap.com>.
* If dbopen is not in libc, checking whether it is in libdb will fail ifMartin v. Löwis2000-09-241-186/+149
| | | | | db_185.h has renamed that function to __db185_open, which it does in DB 3.1. So don't check whether the function is in -ldb.
* Stupid typo in the pthread_t testGuido van Rossum2000-09-241-2/+2
|
* Poke-and-hope attempt to fix Bugs #115006 and #114324: fix the testGuido van Rossum2000-09-221-3/+3
| | | | | for pthread_t (to calculate its size) to work even if pthread_t is a struct.
* Change HP=UX compiler options from -Aa to -Ae, which impliesGuido van Rossum2000-09-221-5/+5
| | | | | | | | -D_HPUX_SOURCE and also turns on long long support. Suggestion by stnor@sweden.hp.com (Stefan Norberg). Please test this if you have access to HP-UX!!!
* Address Bug #115057: add a --with-suffix option to set the EXEGuido van Rossum2000-09-221-330/+348
| | | | | variable in the Makefiles from the configure script. Usefil for Cygwin and Mac OS X builds.
* Make better use of GNU Pth -- patch by Andy Dustman.Guido van Rossum2000-09-191-537/+485
| | | | | | | | | | | | | | | 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.)
* Trent Mick points out that the BSD DB also provides an ndbm compatibilityFred Drake2000-09-151-290/+291
| | | | layer. If that is available, consider that as an option as well.
* Allow configure to detect whether ndbm.h or gdbm/ndbm.h is installed.Fred Drake2000-09-141-2/+2
| | | | | | | | This allows dbmmodule.c to use either without having to add additional options to the Modules/Setup file or make source changes. (At least some Linux systems use gdbm to emulate ndbm, but only install the ndbm.h header as /usr/include/gdbm/ndbm.h.)
* autodetect presence of libdb - this allows bsddbmodule to be builtSkip Montanaro2000-09-081-144/+240
| | | | | automatically if dbopen is found in libc or libdb. This closes patch #101420
* Fixes bug in --with-libdb. If --with-libdb was not specified (default is toSkip Montanaro2000-09-041-409/+441
| | | | | | | enable it), but db.h was not found, the WITH_LIBDB macros was still being defined, resulting in compilation errors. Also added a short explain when bsddb support wasn't enabled (because db.h wasn't found) when the user explicitly used --with-libdb on the configure command line.
* Correct configure.in version.Guido van Rossum2000-09-011-1/+1
|
* patch #101733: fix glitch in FreeBSD confJeremy Hylton2000-08-311-2/+2
|
* Remove obsolete --with(out)-readline configure optionVladimir Marangozov2000-08-311-499/+460
|
* Skip Montanaro <skip@mojam.com>:Fred Drake2000-08-311-327/+362
| | | | | | Update the generated files related to the autoconf support for BSD db. This closes SourceForge patch #101272.
* adds support for --with-pydebug configure optionSkip Montanaro2000-08-301-458/+504
|
* Some cleanup for FreeBSD. This gets rid of version numbers andGuido van Rossum2000-08-291-208/+213
| | | | | | figures out old (a.out) and newer (ELF) systems, similar to NetBSD. (I'm assuming this is also by tg@FreeBSD.org.)
* Don't enable the 'thread' module if threads are not possible.Thomas Wouters2000-08-261-151/+155
|
* Add configure tests for poll() (SF patch #100852)Andrew M. Kuchling2000-08-251-3/+3
|
* 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.