summaryrefslogtreecommitdiffstats
path: root/configure.in
Commit message (Collapse)AuthorAgeFilesLines
* 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.)
* Auto-detect hstrerror. Raise socket.herror in PyH_Error. Register the threeMartin v. Löwis2001-08-041-1/+1
| | | | exception classes in the module dictionary.
* - On OSX add -no-cpp-precomp to OPT. The user still has to manually specifyJack Jansen2001-08-031-2/+7
| | | | | | | | | | the --with-suffix=.exe, but it seems that that is also true for cygwin (or not? should I automatically set it?) - Got --with-next-framework to build on OSX. This is only the build bit, the install still has to be done manually. Moreover, the Python build order isn't really suited to frameworks (where you want to do 'build lib', 'install lib and framework', 'link executable against installed framework' in that order).
* Patch #411138: Rename config.h to pyconfig.h. Closes bug #231774.Martin v. Löwis2001-07-261-1/+1
|
* Allow usage of gcc on OSF/1; this reverts rev 1.23 of configure.in,Martin v. Löwis2001-07-251-2/+0
| | | | and fixes bug #438786.
* Autocheck for snprintf, and use sprintf if it is not available.Martin v. Löwis2001-07-241-1/+1
| | | | | Remove declaration of h_errno, since it is supposedly declared in netdb.h. Changes proposed by itojun.
* Instead of accessing ss_family, cast sockaddr_storage to sockaddr and access ↵Martin v. Löwis2001-07-231-2/+0
| | | | sa_family.
* Patch #429442 from Jason Tishler: Corrects sys.platform andAndrew M. Kuchling2001-07-201-0/+1
| | | | | distutils.util.get_platform() problems caused by the cruft contained in Cygwin's uname -s.
* Use -Kpthread when trying to find out the size of pthread_t.Martin v. Löwis2001-07-191-1/+5
|
* Patch #418659: Fixes for UnixWare and ReliantUnix.Martin v. Löwis2001-07-191-98/+101
| | | | | | back-out 1.215 of configure.in and 1.34 of Makefile.pre.in Check for -Kpthread compiler support, and use this as the sole option for MT if available.
* Deactivate definition of ss_family and ss_len. Fixes bug #440486.Martin v. Löwis2001-07-181-1/+2
|
* [Bug #438050] Check for sys/poll.h in configure scriptAndrew M. Kuchling2001-07-141-1/+1
|
* Re-do the broken-nice() patch to break less platforms. Hopefully none :PThomas Wouters2001-07-111-1/+18
| | | | | | | Also note that it isn't just Linux nice() that is broken: at least FreeBSD and BSDI also have this problem. os.nice() should probably just be emulated using getpriority()/setpriority(), if they are available, but I'll get to that later.
* Patch #439995 (slightly modified from the uploaded version):Thomas Wouters2001-07-111-1/+1
| | | | | | | Work around Linux's nonstandard nice() systemcall, which does not return the new priority. This closes SF bug #439990.
* Check for --with-pydebug earlier, and record the result.Fred Drake2001-07-111-15/+21
| | | | | | | When setting up the basic OPT value for GCC, only use optimization if not using debugging mode. Fix a typo in a comment in the IPv6 check.
* SF Patch #432457 by Jason Tishler: support for readline 4.2.Guido van Rossum2001-07-101-0/+4
| | | | | | | This patch allows the readline module to build cleanly with GNU readline 4.2 without breaking the build for earlier GNU readline versions. The configure script checks for the presence of rl_completion_matches in libreadline.
* Default to ucs2 when no argument to --enable-unicode is specified.Martin v. Löwis2001-06-271-6/+2
|
* Support using UCS-4 as the Py_UNICODE type:Martin v. Löwis2001-06-261-19/+54
| | | | | | | | | | Add configure option --enable-unicode. Add config.h macros Py_USING_UNICODE, PY_UNICODE_TYPE, Py_UNICODE_SIZE, SIZEOF_WCHAR_T. Define Py_UCS2. Encode and decode large UTF-8 characters into single Py_UNICODE values for wide Unicode types; likewise for UTF-16. Remove test whether sizeof Py_UNICODE is two.
* Emulate inet_{pton,ntop} on systems that don't provide it.Martin v. Löwis2001-06-241-1/+1
|
* Patch #401196: Configuration machinery for IPv6.Martin v. Löwis2001-06-231-0/+284
| | | | | Contributed by Jun-ichiro "itojun" Hagino. get{addr,name}info emulation code taken from WIDE.
* Added a MACHDEP_OBJS to the python link. Use this on MacOSX to includeJack Jansen2001-06-191-1/+17
| | | | | | | Mac/macglue.c into the core interpreter. This file contains the glue code that allows extension modules for Mac toolboxes to live in different shared libraries but still communicate with each other. The glue code is controlled by the USE_MAC_TOOLBOX_GLUE define.
* Add a check for sys/modem.h, needed by termios on HP-UX.Fred Drake2001-05-111-1/+1
|
* Process Setup* files with makesetup in the same order as the makefile.Neil Schemenauer2001-04-211-1/+1
|
* Bump the version number in more placesGuido van Rossum2001-04-181-1/+1
|
* Unixware 7 support by Billy G. Allie (SF patch 413011)Guido van Rossum2001-04-111-80/+109
|
* "install -d" does not work on BSDI systems even though autoconf thinksNeil Schemenauer2001-03-311-0/+9
| | | | install works on that system. Use "install-sh" on BSDI.
* Add CONFIG_ARGS Makefile variable (saves the arguments passedNeil Schemenauer2001-03-221-0/+4
| | | | to configure).
* Use proper compiler flags on UnixWare.Martin v. Löwis2001-03-211-0/+11
| | | | Closes bug #231439.
* Get rid of --with-check-import-case. (Jason Tishler, SF #409924)Guido van Rossum2001-03-201-12/+0
|