Commit Graph

219 Commits

Author SHA1 Message Date
Thomas Wouters e38b2f1f00 Re-do the broken-nice() patch to break less platforms. Hopefully none :P
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.
2001-07-11 22:35:31 +00:00
Thomas Wouters c2c12dc31c Patch #439995 (slightly modified from the uploaded version):
Work around Linux's nonstandard nice() systemcall, which does not return the
new priority.

This closes SF bug #439990.
2001-07-11 14:45:34 +00:00
Fred Drake 109d986bfc The usual... 2001-07-11 06:27:56 +00:00
Guido van Rossum 353ae58964 SF Patch #432457 by Jason Tishler: support for readline 4.2.
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.
2001-07-10 16:45:32 +00:00
Martin v. Löwis fd9177943b Default to ucs2 when no argument to --enable-unicode is specified. 2001-06-27 20:22:04 +00:00
Martin v. Löwis 0ba70cc3c8 Support using UCS-4 as the Py_UNICODE type:
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.
2001-06-26 22:22:37 +00:00
Martin v. Löwis b9ab159052 Emulate inet_{pton,ntop} on systems that don't provide it. 2001-06-24 21:18:26 +00:00
Martin v. Löwis 01dfdb3d35 Patch #401196: Configuration machinery for IPv6.
Contributed by Jun-ichiro "itojun" Hagino. get{addr,name}info emulation
code taken from WIDE.
2001-06-23 16:30:13 +00:00
Neil Schemenauer 4e42561ada Added a MACHDEP_OBJS to the python link. Use this on MacOSX to include
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. [checked in for Jack]
2001-06-19 15:44:15 +00:00
Fred Drake bbc3c5aacf the usual... 2001-05-11 16:11:25 +00:00
Neil Schemenauer f8b71c5984 Process Setup* files with makesetup in the same order as the makefile. 2001-04-21 17:41:16 +00:00
Guido van Rossum 6db412be44 Bump the version number in more places 2001-04-18 04:37:57 +00:00
Guido van Rossum 2242f2fbd0 Unixware 7 support by Billy G. Allie (SF patch 413011) 2001-04-11 20:58:20 +00:00
Neil Schemenauer a42c8271ab "install -d" does not work on BSDI systems even though autoconf thinks
install works on that system.   Use "install-sh" on BSDI.
2001-03-31 00:01:55 +00:00
Neil Schemenauer 4edbc2a54f Add CONFIG_ARGS Makefile variable (saves the arguments passed
to configure).
2001-03-22 00:34:03 +00:00
Martin v. Löwis bec1958d97 Use proper compiler flags on UnixWare.
Closes bug #231439.
2001-03-21 15:57:54 +00:00
Guido van Rossum 6abce91a34 Get rid of --with-check-import-case. (Jason Tishler, SF #409924) 2001-03-20 13:09:14 +00:00
Martin v. Löwis a30c1001ef Regenerate. 2001-03-06 12:10:20 +00:00
Fred Drake a1a84e7d4f Move all knowledge that $(MAINOBJ) is built in the Modules/ directory
into Makefile.pre.in; the configure script will only determine the basename
of the file.

This fixes installation of a Python built using C++, reported by Greg
Wilson.
2001-03-06 05:52:16 +00:00
Neil Schemenauer f25cf6ccea Add Python/ prefix to files in LIBOBJS. This closes SF bug "[ #404827 ] Python
Makefile: LIBOBJS incorrect".
2001-03-04 06:39:33 +00:00
Neil Schemenauer a35c688055 Add Vladimir Marangozov's object allocator. It is disabled by default. This
closes SF patch #401229.
2001-02-27 04:45:05 +00:00
Neil Schemenauer acbf9ef784 Don't create the Include directory if building outside of the source
directory.  Closes SF #403930.
2001-02-27 02:15:14 +00:00
Andrew M. Kuchling f55204b0ce Rip out various module-enabling switches, made obsolete by setup.py 2001-02-21 21:12:59 +00:00
Neil Schemenauer 8ba9445dd3 Revert SF patch #103655 2001-02-19 18:18:48 +00:00
Neil Schemenauer c761fc87d2 The usual. 2001-02-19 04:50:49 +00:00
Neil Schemenauer 28aa9d39b0 Add Include to the list of source directories. 2001-02-16 04:11:41 +00:00
Neil Schemenauer 4a7bbcb48c The usual. 2001-02-16 03:37:54 +00:00
Jeremy Hylton 2056d8e7d2 the usual 2001-02-02 20:11:13 +00:00
Neil Schemenauer 0c6141f75c the usual 2001-01-27 21:40:54 +00:00
Neil Schemenauer dfb38e47f5 Grow that RCS file! 2001-01-27 06:57:08 +00:00
Andrew M. Kuchling 8abedde53a Removed setup.cfg from the list of generated files
Fixed typo in message
2001-01-26 22:55:24 +00:00
Neil Schemenauer 3ecf0aae7b The usual. 2001-01-26 16:15:20 +00:00
Neil Schemenauer d32c2495bd The usual. 2001-01-24 17:25:28 +00:00
Guido van Rossum ca563f228a The usual 2001-01-23 01:52:44 +00:00
Neil Schemenauer 7d6457743a Bump up version number. 2001-01-17 21:59:33 +00:00
Andrew M. Kuchling b226b0c078 Patch #102588 / PEP 229:
Tweak the configure script to build setup.cfg
2001-01-17 15:24:57 +00:00
Sjoerd Mullender 124698cbb0 Fixed typo: Using --with-dbm had no effect because due to a typo it
was never enabled.
2001-01-17 09:42:21 +00:00
Eric S. Raymond a888540593 Eric the half-a-wit, driven to berserk rage after repeatedly doing
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."
2001-01-17 08:25:11 +00:00
Eric S. Raymond d2d75d3edd Check in a version with the termios test in place. 2001-01-16 15:26:34 +00:00
Barry Warsaw a57b89b492 Committing patch #103216, autodetect of dbmmodule support and building
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.
2001-01-15 17:07:21 +00:00
Guido van Rossum acb14c716f SF Patch #102362 by bbum: Support dynamic module loading under OSX
[including support for modules w/Objective-C].
2001-01-10 21:41:16 +00:00
Guido van Rossum aef734b182 Part of SF patch #102409 by jlt63: Cygwin Python DLL and Shared
Extension Patch.

Note: this could use some testing on NeXT, DG/UX, or BeOS, because of
the changes in the Makefile regarding $(LDLIBRARY).
2001-01-10 21:09:12 +00:00
Guido van Rossum 4c3f57cf05 SF Patch #103154 by jlt63: Cygwin Check Import Case Patch.
Note: I've reordered acconfig.h and config.h.in to obtain alphabetical
order (modulo case and leading _).
2001-01-10 20:40:46 +00:00
Guido van Rossum 3d15bd8806 Adapted version of Eric Raymond's patches to automatically configure
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.
2001-01-10 18:53:48 +00:00
Andrew M. Kuchling a9586c7273 Remove configure test for getline(), since it's no longer used at all 2001-01-08 17:58:56 +00:00
Guido van Rossum cadfaeca7f Configuration test for working getc_unlocked() (and flockfile() and
funlockfile()).
2001-01-05 14:45:49 +00:00
Martin v. Löwis 22352957cb Set CXX even when --with-cxx is not specified. Closes bug 14782. 2000-12-13 17:37:02 +00:00
Andrew M. Kuchling 78a14423af Patch #102469: Check for glibc's getline() extension 2000-11-29 02:44:05 +00:00
Guido van Rossum e5cd584b9f Committing autoconf output for
Fred.
2000-11-09 21:14:40 +00:00
Greg Ward a1c4da2481 Fix for SF bug #117606:
- 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)
2000-11-07 15:44:21 +00:00