summaryrefslogtreecommitdiffstats
path: root/configure.in
Commit message (Collapse)AuthorAgeFilesLines
* Revert SF patch #103655. Martin Löwis says:Neil Schemenauer2001-02-191-1/+1
| | | | | | | | | | | | | | -shared does the following things: - invoke the linker with -G -dy -z text (the latter only if -mimpure-text was not given) - drop crt1.o from the list of objects being linked - drop -lc from the list of libraries being linked OTOH, -G is just passed through to the linker. The things that -shared does are necessary: crt1.o defines _start, and requires main, so it should not be present in a shared library. Likewise, -z text should be used to detect position-dependent code at compile time.
* Use -G option for linking shared libraries on Solaris (SF patch #103656).Neil Schemenauer2001-02-191-1/+5
| | | | | | Compile shared object files using -fPIC option when using GCC on Solaris (SF patch #103865). Closes bug #132783. Move config.c generated by makesetup to the Modules directory.
* Add Include to the list of source directories.Neil Schemenauer2001-02-161-1/+1
|
* Simplify linking on AIX and BeOS (SF patch #103679).Neil Schemenauer2001-02-161-11/+17
|
* Patches for AIX. Checked by Benjamin Collar.Marc-André Lemburg2001-02-091-2/+2
|
* - Remove Guido's LINKCC=CXX experiment.Neil Schemenauer2001-01-271-5/+8
| | | | - Cygwin doesn't want CCSHARED flag when bulding the interpreter DLL.
* Restore --with-suffix option. AC_EXEEXT doesn't aways do what the user wantsNeil Schemenauer2001-01-271-0/+8
| | | | and an option is more friendly then manually setting a variable.
* Removed setup.cfg from the list of generated filesAndrew M. Kuchling2001-01-261-2/+2
| | | | Fixed typo in message
* - LIBRARY is now a SUBST variable.Neil Schemenauer2001-01-261-17/+36
| | | | | | | | | | - Add CFLAGSFORSHARED variable. configure sets this to CCSHARED if LDLIBRARY is a shared library. - Remove -fPIC from OPT, it has no business there. - Change CCSHARED option for Linux to -fPIC. It should probably be -fPIC on a few other platforms as well. - Don't create silly boot Makefile, create Setup files and run makesetup instead.
* - build now happens in toplevel directory, add subdir paths to filenamesNeil Schemenauer2001-01-241-70/+69
| | | | | | | | | - change EXE to EXTEXT, there is an autoconf macro for it - use PROG_INSTALL macro rather than always using install-sh - add option to disable signal module (simplifies the makefile) - create subdirs for object files (when building out of src dir) - don't generate subdir makefiles - generate "boot" makefile
* Fix some make errors during "make clobber" or "make distclean", causedGuido van Rossum2001-01-231-38/+4
| | | | | | | by weird and (hopefully) unnecessary SET_CXX and SET_DLLLIBRARY macros that occurr at the start of Makefile.in files. - Also removed the already-commented-out SET_CCC macro cruft.
* Bump up version number.Neil Schemenauer2001-01-171-1/+1
|
* Patch #102588 / PEP 229:Andrew M. Kuchling2001-01-171-1/+1
| | | | Tweak the configure script to build setup.cfg
* Fixed typo: Using --with-dbm had no effect because due to a typo itSjoerd Mullender2001-01-171-1/+1
| | | | was never enabled.
* Eric the half-a-wit, driven to berserk rage after repeatedly doingEric S. Raymond2001-01-171-4/+31
| | | | | | | | | | | | | | builds during which he forgot to uncomment crucial library lines in Setup, walks into Guido's East End nightclub with a tactical nuclear weapon on his shoulder. Said nuclear weapon is promptly deployed exactly where it will do the most good, right in the middle of configure.in. With this patch, the set of libraries autoconfigured in is extended to include ndbm, gdbm, and crypt. This essentially eliminates any need to tweak Setup for a normal Linux build. "'E was a fair man. Cruel, but fair."
* Make HAVE_TERMIOS_H and associated config.sh shell variable availableEric S. Raymond2001-01-161-1/+1
| | | | | | | | | 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.
* Committing patch #103216, autodetect of dbmmodule support and buildingBarry Warsaw2001-01-151-0/+37
| | | | | | of dbmmodule dynamically by default (otherwise it can pull in dependencies with libdb that croak pybsddb3). This change moves the Setup line for dbmmodule to Setup.config.in.
* SF Patch #102362 by bbum: Support dynamic module loading under OSXGuido van Rossum2001-01-101-6/+2
| | | | [including support for modules w/Objective-C].
* Part of SF patch #102409 by jlt63: Cygwin Python DLL and SharedGuido van Rossum2001-01-101-3/+22
| | | | | | | 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-0/+12
| | | | | Note: I've reordered acconfig.h and config.h.in to obtain alphabetical order (modulo case and leading _).
* Adapted version of Eric Raymond's patches to automatically configureGuido van Rossum2001-01-101-0/+15
| | | | | | | curses and readline (for Linux, at least). These are done as shared libraries by default, and so is bsddb -- that seems to make the most sense.
* Remove configure test for getline(), since it's no longer used at allAndrew M. Kuchling2001-01-081-1/+1
|
* Configuration test for working getc_unlocked() (and flockfile() andGuido van Rossum2001-01-051-0/+14
| | | | funlockfile()).
* Set CXX even when --with-cxx is not specified. Closes bug #124782Martin v. Löwis2000-12-131-0/+20
|
* Patch #102469: Check for glibc's getline() extensionAndrew M. Kuchling2000-11-291-1/+1
|
* Remove AC_C_INLINE test from configure.in, since the only place the symbolFred Drake2000-11-081-1/+0
| | | | | | | occurs in the Python sources appears to be as text in comments. We do not want to interfere with C++ keywords! This closes bug #119851.
* Fix for SF bug #117606:Greg Ward2000-11-071-3/+3
| | | | | | | - when compiling with GCC on Solaris, use "$(CC) -shared" instead of "$(CC) -G" to generate .so files - when compiling with GCC on any platform, add "-fPIC" to OPT (without this, "$(CC) -shared" dies horribly)
* Move our own getopt() implementation to _PyOS_GetOpt(), and use itThomas Wouters2000-11-031-16/+0
| | | | | | | | | regardless of whether the system getopt() does what we want. This avoids the hassle with prototypes and externs, and the check to see if the system getopt() does what we want. Prefix optind, optarg and opterr with _PyOS_ to avoid name clashes. Add new include file to define the right symbols. Fix Demo/pyserv/pyserv.c to include getopt.h itself, instead of relying on Python to provide it.
* Make sure the Modules/ directory is created before writing Modules/Setup.Fred Drake2000-11-021-0/+3
|
* Hack to force -lpthread instead instead of -lcma on HPUX, by PhilippGuido van Rossum2000-10-301-1/+5
| | | | | Jocham. Philipp asks: "Are there any success stories with HP-UX 11.00 and -lcma? Maybe libcma is broken."
* Test for and create Modules/Setup in the configure script if it does notFred Drake2000-10-261-0/+8
| | | | already exist.
* Patch #101936: Auto-detect DEC threads (which need "-threads" argument)Jeremy Hylton2000-10-161-0/+9
| | | | by Thomas Wouters
* When we know the compiler is GCC, always add the -Wall andFred Drake2000-10-121-2/+2
| | | | | | | | | | | | | -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.
* Remove macro that mentions DL_EXPORT_HEADER; it caused a spurious warningFred Drake2000-10-091-2/+0
| | | | | from autoheader and is not useful anymore. (Approved by Donn Cave.)
* Checking in three Darwin-specific patches.Guido van Rossum2000-10-091-4/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-31/+18
| | | | | | | 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-3/+3
|
* 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-8/+14
| | | | By D.K. Wolfe.
* Properly set LINKFORSHARED on Reliant UNIX. Problem and required linkerFred Drake2000-09-251-0/+1
| | | | 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-1/+5
| | | | | 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-1/+1
|
* Poke-and-hope attempt to fix Bugs #115006 and #114324: fix the testGuido van Rossum2000-09-221-2/+2
| | | | | 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-4/+4
| | | | | | | | -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-0/+9
| | | | | 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-4/+9
| | | | | | | | | | | | | | | 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-1/+2
| | | | 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-1/+1
| | | | | | | | 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-0/+7
| | | | | 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-7/+14
| | | | | | | 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.