summaryrefslogtreecommitdiffstats
path: root/configure.in
Commit message (Collapse)AuthorAgeFilesLines
* Fix for:Michael W. Hudson2001-12-071-0/+5
| | | | | | | | [ #417634 ] configuring without C++ compiler name by checking that we're not about to try to compile C++ files with "yes". Now we wait for the system where the C++ compiler *is* called yes...
* Silly mistake in build directory extension fix.Jack Jansen2001-12-061-1/+1
|
* Test wether we are building on a case-insensitive filesystem (suchJack Jansen2001-12-061-2/+9
| | | | | as OSX HFS+) and if so add an extension to the python executable, but only in the build directory, not on the installed python.
* sys.platform on Mac OS X is now "darwin", without any version number appended.Jack Jansen2001-12-051-0/+1
| | | | This should probably go into NEWS (who's responsible for that?).
* Define NDEBUG when compiling a release build on Unix.Fred Drake2001-12-041-0/+6
| | | | This is the Unix portion of the fix for SF bug #489052.
* Compute thread headers through shell expansion in configure.Martin v. Löwis2001-12-021-0/+7
| | | | Fixes #485679.
* Remove INET6 define. Use ENABLE_IPV6 instead.Martin v. Löwis2001-12-021-12/+6
|
* OSX tests used specific version numbers to test for new features andJack Jansen2001-11-141-10/+10
| | | | | | | | | used the default Darwin/* for the old code. Reversed those tests so that compatibility code is in a switch leg with a specific version and newer systems take the default leg. This should allow Python to build on OSX 10.1.1 (which jumps from Darwin/1.4 to Darwin/5.1 due to a new numbering scheme).
* Add sys/types.h and stdio.h into getaddrinfo test, based on itojun's messageMartin v. Löwis2001-11-091-0/+2
| | | | in http://mail.python.org/pipermail/python-dev/2001-November/018473.html
* Link the core with CoreServices, not with Carbon, and don't use any CarbonJack Jansen2001-10-311-1/+1
| | | | | | | | | | routines. As of 10.1 using Carbon will crash Python if no window server is available (ssh connection, console mode, MacOSX Server). This fixes bug #466907. A result of this mod is that the default 8bit encoding on OSX is now ASCII, for the time being. Also, the extension modules that need the Carbon framework now explicitly include it in setup.py.
* Check for HP/UX curses problems. Define _XOPEN_SOURCE_EXTENDED andMartin v. Löwis2001-10-241-0/+32
| | | | | | 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.
* Include netdb.h to detect getaddrinfo. Work around problem with getaddrinfoMartin v. Löwis2001-10-241-2/+17
| | | | not properly processing numeric IPv4 addresses. Fixes V5.1 part of #472675.
* install on HP-UX does not support the -d option. Using the install-sh instead.Neil Schemenauer2001-10-211-2/+2
| | | | This fixes SF bug: [ #473491 ] "install -d" doesn't work on HP-UX.
* Patch from SF bug #473150: configure weaknesses on HP-UX (Michael Piotrowski)Guido van Rossum2001-10-201-2/+2
| | | | | | | | | | 1. configure doesn't handle HP-UX release numbers (e.g., B.11.00), resulting in MACHDEP = "hpuxB". 2. After checking for wchar.h, configure doesn't include it when checking the size of wchar_t. (Python 2.2b1 on HP-UX 11.00)
* SF patch #460805 by Chris Gonnerman: Support for unsetenv()Guido van Rossum2001-10-191-1/+1
| | | | | | | | 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/+3
| | | | | | | | | | | | | | | | | 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-1/+1
| | | | <grp.h> it seems. This requires yet another configure test.
* Use CXX in LINKCC if CXX is used to build main() and the system requiresMartin v. Löwis2001-10-181-4/+20
| | | | to link a C++ main using the C++ compiler. Fixes #472007.
* Expose setgroups. Fixes feature request #468116.Martin v. Löwis2001-10-181-1/+1
|
* Do not define _POSIX_THREADS if unistd.h defines it.Martin v. Löwis2001-10-151-19/+19
| | | | Check for pthread_sigmask before using it. Fixes remaining problem in #470781.
* Check whether pthreads are available without any options before checkingMartin v. Löwis2001-10-151-7/+55
| | | | | that -Kpthread is supported. Fixes #470781. Port to autoconf 2.52.
* Check for term.h and include it on non-ncurses system to get a declarationMartin v. Löwis2001-10-131-1/+1
| | | | for tigetstr.
* Provide explicit program when trying to link pthread_create.Martin v. Löwis2001-10-081-2/+14
| | | | Contributed by Albert Chin in discussion of bug #210665.
* Support OpenUNIX like UnixWare.Martin v. Löwis2001-10-071-4/+4
|
* Use AC_TRY_RUN for checking for -Kpthread.Martin v. Löwis2001-10-071-7/+16
|
* Add chroot call. Implements feature #459267.Martin v. Löwis2001-10-041-1/+1
|
* Patch #462122: add readline startup and pre_event hooks.Martin v. Löwis2001-09-301-0/+4
|
* Fix SF bug 419062: building pbs on AIX 4.3.2Guido van Rossum2001-09-281-2/+2
| | | | | Apply patch from "china@thewrittenword.com" to put the correct location for ld_so_aix in BLDSHARED.
* Add cross-compilation defaults to most AC_TRY_RUN values. TheGuido van Rossum2001-09-171-19/+45
| | | | | | supplied values are the most "normal" or "common" values found for recent 32 bit machines. This now seems to work to build Python 2.2 for the ARM processor used on the iPAQ.
* When frameworks are not enabled don't put an empty target in the Makefile.Jack Jansen2001-09-111-6/+13
| | | | Older make's can apparently choke on this.
* Use $(CC) -G to link shared libraries on Solaris.Martin v. Löwis2001-09-101-2/+2
|
* Improve threading on Solaris, according to SF patch #460269, submittedGuido van Rossum2001-09-101-2/+33
| | | | | | | | | | 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-41/+5
| | | | | | 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.
* (Slightly modified) patch by Steve Spicklemire to make Python buildJack Jansen2001-09-071-1/+19
| | | | | | | | | out of the box on OSX 10.1. Untested by me (except for not having adverse effects on 10.0.4) but it looks good, for now. Eventually we should not trigger on the darwin version but test for something, but until I have the time to install 10.1 myself I have no clue what to test on. It would be nice if this got in to the 2.2a3 distribution.
* SF bug #427073: DLINCLDIR defined incorrectly (Skip Montanaro).Guido van Rossum2001-09-051-1/+1
| | | | | | I don't know what difference it makes, but '/' indeed makes less sense as an include dir than '.', so I'm changing the default. Just so I can close the bug. ;-)
* Changes to automatically enable large file support on some systems.Guido van Rossum2001-09-051-6/+49
| | | | | | | | | | | | | | | | | | | | | 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 #455231: Support ELF properly on OpenBSD.Martin v. Löwis2001-09-051-12/+3
|
* Use -fPIC instead of -fpic for gcc on HP/UX. Fixes bug #433234.Martin v. Löwis2001-09-051-1/+1
|
* Check for RFC 2553 API. Fixes bug #454493.Martin v. Löwis2001-09-051-3/+21
|
* Always compile gcmodule.Neil Schemenauer2001-08-291-5/+1
|
* Patch #445762: Support --disable-unicodeMartin v. Löwis2001-08-171-0/+3
| | | | | | | | - Do not compile unicodeobject, unicodectype, and unicodedata if Unicode is disabled - check for Py_USING_UNICODE in all places that use Unicode functions - disables unicode literals, and the builtin functions - add the types.StringTypes list - remove Unicode literals from most tests.
* Fix portability problems with glibc 2.0, as reported in #449157.Martin v. Löwis2001-08-151-1/+1
|
* MacOSX: if we're building without --enable-toolbox-glue don't attempt toJack Jansen2001-08-151-1/+3
| | | | | include _PyMac_Error. Also don't try to include __dummy: it needs Foundation and I think (not 100% sure) that this isn't part of naked Darwin.
* Lots of changes in the framework support:Jack Jansen2001-08-151-99/+122
| | | | | | | | | | | | | | - Made framework builds work for MacOSX. The configure arg is now "--enable-framework". - Added an install target frameworkinstall which installs the framework. - Ripped out Next/OpenStep support, which was broken anyway. - Made the MacOSX toolbox glue dependant on a --enable-toolbox-glue configure arg. This should make naked darwin build work again (untested). A few targets have been added to Makefile.pre.in, and on inspection they look harmless to non-MacOSX machines, but it is worth checking. Closes bug #420601 and patch #450350.
* Autotest for netpacket/packet.h, as it is not available on all Linux versions.Martin v. Löwis2001-08-101-1/+1
| | | | Depend AF_PACKET on HAVE_NETPACKET_PACKET_H. Fixes #449157
* Expose nl_langinfo through locale where available.Martin v. Löwis2001-08-101-1/+2
|
* Move IPv6 test further down so that usage of -lnsl has been tested.Martin v. Löwis2001-08-091-144/+153
| | | | Recognize Solaris IPv6 by checking /etc/netconfig.
* Patch #433537: Cache ac_cv_bad_static_forward.Martin v. Löwis2001-08-091-8/+13
| | | | Also move up AC_AIX and AC_MINIX further up.
* Various fixes to streamline build process on Mac OS X:Jack Jansen2001-08-081-15/+36
| | | | | | | | | | | - Give a warning if you're on a case-insensitive filesystem and have not specified --with-suffix. - Don't require --with-dyld, it is now default for OSX/Darwin (suggested by Martin v. Loewis) - Don't define _POSIX_THREADS on Darwin, it's done by standard headers already (fix by Tony Lownds) - Don't use the Mac subtree anymore, the routines relevant to OSX/Darwin have moved to a new file Python/mactoolboxglue.c.
* Remove redundant check for 'getaddrinfo' (it's already checked the blockThomas Wouters2001-08-081-1/+1
| | | | before.)