Commit Graph

532 Commits

Author SHA1 Message Date
Brett Cannon 1836781fae Improve detection of whether tzset is broken. 2003-09-19 00:59:16 +00:00
Martin v. Löwis fa3bdea018 Patch #798202: detect redhat9 Tcl/Tk in configure script.
Will backport to 2.2.
2003-09-04 18:50:54 +00:00
Jason Tishler 3076559ea5 This patch enables the building of Cygwin Python with a static core
which still supports shared extensions. It takes advantage the latest
Cygwin binutils (i.e., 20030901-1) which can export symbols from
executables:

http://cygwin.com/ml/cygwin-announce/2003-09/msg00002.html

Additionally, it finally lays to rest the following mailing list
subthread:

http://mail.python.org/pipermail/python-list/2002-May/102500.html

I tested the patch under Red Hat Linux 8.0 too
2003-09-04 11:04:06 +00:00
Martin v. Löwis fc9b75fafb Patch #771998: Put braces around variables. Will backport to 2.3. 2003-08-09 09:06:52 +00:00
Fred Drake 9bd4462780 Update version number here as well; patchlevel.h is not the only place. 2003-07-30 17:39:48 +00:00
Jack Jansen e004041e96 Bugfix for #775892: added -mno-fused-madd to BASECFLAGS on MacOSX.
This makes test_coercion pass on Panther.

Also added a note to NEWS that pythonw works again (it was broken in rc1).
2003-07-23 22:17:28 +00:00
Jason Tishler fac083d14a Patch 775605: Cygwin pthread_sigmask() workaround patch
Cygwin's pthread_sigmask() implementation appears to be buggy. This
patch works around this problem by using sigprocmask() instead.

This patch is implemented in a general way so it could be used by other
platforms too. If this approach is deemed too risky, then I can work up
a patch that just hacks Python/thread_pthread.h for Cygwin.

Note that I tested this patch against 2.3c1 under Red Hat Linux 8.0 too.

[snip]
And finally, I need someone to regenerate pyconfig.h.in and configure
with the same versions of the autotools that are normally used by
Python.

Neal kindly regenerated pyconfig.h.in and configure for me.
2003-07-22 15:20:49 +00:00
Martin v. Löwis f33222833c Treat irix64 like irix. Fixes #764560. Will backport to 2.2. 2003-07-13 09:46:13 +00:00
Skip Montanaro d8d39a00c4 avoid testing for -Kthread or -pthread if the default build environment
supports pthreads
2003-07-10 20:44:10 +00:00
Martin v. Löwis 70fedcd583 Use -fno-strict-aliasing if available. Fixes #766696. Will backport to 2.2. 2003-07-07 21:26:19 +00:00
Martin v. Löwis d6640d4bd0 Include grp.h in setgroups test. Fixes #765822. 2003-07-06 09:29:52 +00:00
Jack Jansen 66b8483247 Fixed two bugs in MacOSX framework handling spotted by Edward Moy:
- In the top level Makefile, the argument to -install_name should be
  prepended with /System/Library/Frameworks/, so it is an absolute path.
- In the top level Makefile, because of 2), RUNSHARED needs to be set to
  DYLD_FRAMEWORK_PATH=<path to local framework> and $(RUNSHARED) prepended
  to the $(MAKE) lines in the frameworkinstallmaclib and
  frameworkinstallapps targets.
2003-07-04 12:14:39 +00:00
Andrew MacIntyre abccf41a7d FreeBSD 5.x has moved some library routines and typedefs outside the
scope of the _XOPEN_SOURCE and _POSIX_C_SOURCE symbols, including:
- getloadavg()
- typedefs for u_int, u_long, u_char, u_short, ushort & uint

These are now all defined under the control of a __BSD_VISIBLE symbol.

The lack of the typedefs causes several extension modules to build
incorrectly or not at all, and is the cause of failures reported for
test_socket and test_tempfile on this platform
(see python-dev: 29/6/03, pieterb@gewis.nl, "Running tests on freebsd5")

This change does not appear to be needed in the 2.2 branch.
2003-07-02 13:53:25 +00:00
Martin v. Löwis ab1e5858ee Patch #758910: Add pthread flag to CXX if possible. 2003-06-28 07:46:38 +00:00
Martin v. Löwis 19d173486b Patch #752671: NetBSD needs to link libintl to _locale.so. 2003-06-14 21:03:05 +00:00
Martin v. Löwis d141a8c472 Use -R instead of -rpath on Solaris. Fixes #749911. 2003-06-14 15:20:28 +00:00
Martin v. Löwis 368de8f17f Give a warning if SO is set. Fixes #610332. 2003-06-14 14:46:38 +00:00
Martin v. Löwis 8316feb155 Explicitly undefine PACKAGE_ variables. Fixes #746012. 2003-06-14 07:48:07 +00:00
Martin v. Löwis 96ce805725 Modified Patch #745620: build shared lib as ".so" for NetBSD. 2003-05-31 07:58:45 +00:00
Neal Norwitz b44f16592f SF patch #719359, fix test_long failure on OSF/1 with vendor cc
This also fixes several other bugs and patches by providing
the proper arguments to cc:  738066 and 741806 need -ieee,
693094 needs -std
2003-05-26 14:11:55 +00:00
Martin v. Löwis 4ee6eef22f Patch #742741: Check for true in different paths, support -pthread. 2003-05-26 05:37:51 +00:00
Martin v. Löwis 858f817d28 Modified patch #742126: Don't define _XOPEN_SOURCE for OpenBSD 3.3. 2003-05-24 12:35:47 +00:00
Neal Norwitz 8225103d2d Get test_ioctl to pass on HPUX 11.
TIOCGPGRP and many other definitions come from bsdtty.h, so it needs
to be included at least on HPUX.
2003-05-23 14:35:24 +00:00
Martin v. Löwis c2409b4f5a Update patch #732284: Correct versions of OpenUNIX, UnixWare, add OpenServer. 2003-05-11 05:53:41 +00:00
Martin v. Löwis f2e488db23 Patch #732479: Fix typos. 2003-05-05 22:00:11 +00:00
Martin v. Löwis 53e73c36ee Patch #732284: Disable _XOPEN_SOURCE on UnixWare 7. 2003-05-05 05:13:18 +00:00
Martin v. Löwis 5f433f0ef4 Patch #732234: Check for -Kthread. 2003-05-05 05:05:30 +00:00
Martin v. Löwis 95c419b20a Try linking hstrerror and inet_aton tests. Look for these functions in -lresolv. 2003-05-03 12:10:48 +00:00
Martin v. Löwis d3545ec5e3 Patch #730170: Check for sem_init in -lpthread. Fixes #727051. 2003-05-03 11:25:43 +00:00
Martin v. Löwis bcd93962ce Patch #730826: Enable extensions on NetBSD 2.0. 2003-05-03 10:32:18 +00:00
Martin v. Löwis e941617671 Patch #724588: Check whether the address of hstrerror and inet_pton can
be taken, and define NI_MAX{HOST|SERV} if necessary.
2003-05-03 10:12:45 +00:00
Neal Norwitz 7f2588c073 SF patch #706707, time.tzset standards compliance update by Stuart Bishop
Update configure and test to use proper timezone specifications
2003-04-11 15:35:53 +00:00
Neal Norwitz 0b27ff92d2 SF patch #712367, get build working on AIX
configure change is necessary to pass "." to makexp_aix so that
dynamic modules work

setup change gets curses working
2003-03-31 15:53:49 +00:00
Martin v. Löwis f26d63b3e1 Patch #650412: Check whether the address of flock and getpagesize
can be taken, and use _SC_PAGE_SIZE if getpagesize is not available.
2003-03-30 17:23:49 +00:00
Jack Jansen 150753cb22 The test for setpgrp having two arguments didn't actually test anything.
For reasons unknown this suddenly started to matter (since Martin's 1.396
checkin? But why?), at least on MacOSX. Added a real test similar to the
getpgrp argument test.
2003-03-29 22:07:47 +00:00
Martin v. Löwis a9d71420a6 Disable _XOPEN_SOURCE for Solaris 2.6. Fixes #690317. 2003-03-28 18:43:31 +00:00
Martin v. Löwis 4daacb1a82 Add test for setpgrp. Fixes #690317. 2003-03-28 18:37:01 +00:00
Neal Norwitz 865400fd07 /dev/ptmx doesn't exist on AIX, they had to be different and use /dev/ptc.
Otherwise, the 2 devices seem to work the same for allocating a pseudo-tty.
2003-03-21 01:42:58 +00:00
Jack Jansen 7b59b42a38 Added a define EXTRAMACHDEPPATH which can be used to add sys.path items
for specific platforms. Use this to add plat-mac and
plat-mac/lib-scriptpackages on MacOSX. Also tested for not having adverse
effects on Linux, and I think this code isn't used on Windows anyway.

Fixes #661521.
2003-03-17 15:44:10 +00:00
Guido van Rossum d11b62edd0 - New function time.tzset() provides access to the C library tzet()
function, if supported.  (SF patch #675422, by Stuart Bishop.)
2003-03-14 21:51:36 +00:00
Jack Jansen c28fc37ed1 Refer to the Mac OS X bundle_loader by the altbininstall name, so that
building distutils extension modules also works if you've only done
an altinstall. Fixes bug #677293.
2003-02-25 13:14:43 +00:00
Neal Norwitz 6eb37f0eea Fix SF bug #691793, Python 2.3a2 build fails on Tru64
Need to make sure that preprocessor directives start in first column.
This means we can't indent code which has preprocessor directives,
nor have a space between [ #include for example.
2003-02-23 23:28:15 +00:00
Jack Jansen 97e3f0060c Disabled -prebind again when linking the interpreter on MacOSX. It caused
a serious slowdown when loading dynamic modules that depend on large shared
libraries or frameworks.
2003-02-23 22:59:01 +00:00
Guido van Rossum 162e38c6a3 - sys.path[0] (the directory from which the script is loaded) is now
turned into an absolute pathname, unless it is the empty string.
  (SF patch #664376, by Skip Montanaro.)
2003-02-19 15:25:10 +00:00
Neal Norwitz 10b214c2fd Use configure to check for inet_aton. 2003-02-13 02:11:10 +00:00
Martin v. Löwis dfc33fd8db Don't use Posix semaphores on Solaris 8. Fixes #662787. 2003-01-21 10:14:41 +00:00
Jack Jansen 0780e470dc On MacOSX, added -prebind option to link phase for executable (and
framework, if applicable). This speeds up startup time by up to 50%.
2003-01-20 10:47:48 +00:00
Barry Warsaw fe33b795d5 Test for presence of sysexits.h and set HAVE_SYSEXITS_H if so. Used
by posixmodule.c.
2003-01-07 22:42:49 +00:00
Skip Montanaro decc6a47df Split OPT make variable into OPT and BASECFLAGS. The latter contains those
compiler flags which are necessary to get a clean compile.  The former is
for user-specified optimizer, debug, trace fiddling.  See patch 640843.

Add /sw/lib and /sw/include to setup.py search paths on Darwin to take
advantage of fink goodies.

Add scriptsinstall target to Makefile to install certain scripts from
Tools/scripts directory.
2003-01-01 20:07:49 +00:00
Martin v. Löwis 14e73b1864 Expose I_ constants. Auto-detect stropts.h. Properly configure the slave terminal. 2003-01-01 09:51:12 +00:00
Martin v. Löwis 24a880b499 Patch #656590: /dev/ptmx support for ptys. 2002-12-31 12:55:15 +00:00
Jack Jansen 83f898c86c Adapted for the move of Mac/Lib to Lib/plat-mac. Makefile.pre.in now
knows about plat-mac subdirectories, and configure adds a variable
EXTRAPLATDIR. These together take care of copying Lib/plat-mac to
the destination on darwin.

Adding plat-mac is still done with a .pth file which is only created when
you do a framework build. I'm not 100% happy with this, but fixing it
really needs a functional pythonw in non-framework builds, and I don't
think I can do that before 2.3a1 (but I'll try:-).
2002-12-30 22:23:40 +00:00
Guido van Rossum faf5e4d48f Patch 659834 by Magnus Lie Hetland:
Check for readline 2.2 features.  This should make it possible to
compile readline.c again with GNU readline versions 2.0 or 2.1; this
ability was removed in readline.c rev. 2.49.  Apparently the older
versions are still in widespread deployment on older Solaris
installations.  With an older readline, completion behavior is subtly
different (a space is always added).
2002-12-30 16:25:41 +00:00
Martin v. Löwis 438b534ad0 Patch #657889: Implement posix.getloadavg. 2002-12-27 10:16:42 +00:00
Martin v. Löwis 9c36c29156 Use wcscoll for _locale.strcoll if available. 2002-12-21 18:34:06 +00:00
Martin v. Löwis 03d00d51ba Fix if-then-else-fi structure. 2002-12-19 19:03:31 +00:00
Martin v. Löwis 7e4cfcb6bc Unsupport --without-universal-newlines. 2002-12-19 16:21:49 +00:00
Martin v. Löwis 79f3c53ee8 Patch #651289: Fix quoting errors. 2002-12-11 12:51:58 +00:00
Martin v. Löwis 9ef3376780 Avoid semicolon usage in echo. 2002-12-02 22:23:56 +00:00
Martin v. Löwis 779ffc066e Add compile-time errors for unsupported systems. 2002-12-02 22:17:01 +00:00
Martin v. Löwis 39f59b089d Remove MALLOC_ZERO_RETURNS_NULL. 2002-11-23 09:13:40 +00:00
Martin v. Löwis d584368dec Patch #639371: Remove FreeBSD 5 specific test, test for ctermid_r, setgroups
prototypes explicitly.
2002-11-21 20:41:28 +00:00
Martin v. Löwis e1172588e6 The libsocket/libnsl problem is specific to IRIX 4. Confirmed by Tim Rice. 2002-11-13 08:51:19 +00:00
Martin v. Löwis 678fc1ee7d Don't define _XOPEN_SOURCE and _POSIX_C_SOURCE on FreeBSD 5.0. Fixes #636318. 2002-11-12 06:04:39 +00:00
Martin v. Löwis 01c04013a7 Use new-style CHECK_TYPE to avoid modifying confdefs.h. Include sys/types.h
Fixes #636431.
2002-11-11 14:58:44 +00:00
Martin v. Löwis bddf5a57ca Protect pyconfig.h from multiple inclusions. 2002-11-11 13:37:28 +00:00
Martin v. Löwis e981a4eb36 Do not define _XOPEN_SOURCE on OpenBSD 2.x and 3.[012]. Fixes #635034 2002-11-11 13:26:51 +00:00
Martin v. Löwis c8ad7cc55e Check whether we can take the address of chown, link, and symlink. 2002-11-11 13:23:45 +00:00
Martin v. Löwis e3271209e7 Try linking the major/minor test program. Fixes #634444. 2002-11-07 07:42:30 +00:00
Jack Jansen 3c2c433417 Fix for bug 631247: configure should test the build directory for
being on a case-insensitive filesystem, not the source directory.
2002-11-06 13:33:32 +00:00
Neal Norwitz a978ab0d8c Need to quote test for posix_threads on HPUX11 2002-11-02 16:58:05 +00:00
Martin v. Löwis 3e2c632620 Patch #629426: Eliminate more autoconf warnings. Use AC_HELP_STRING. 2002-10-29 10:07:43 +00:00
Martin v. Löwis 88afe666da Patch #623771: Properly use autoconf 2.5x macros. 2002-10-26 13:47:44 +00:00
Martin v. Löwis e4826580bc Patch #628898: Define _XOPEN_SOURCE_EXTENDED and _POSIX_C_SOURCE. 2002-10-26 13:33:00 +00:00
Martin v. Löwis 60a5d72908 Patch #623780: Replace obsolete struct macros. 2002-10-16 20:28:25 +00:00
Martin v. Löwis a5f0907d79 Back out #479898. 2002-10-11 05:37:59 +00:00
Martin v. Löwis dbe3f76270 Patch #569139: Implementation of major, minor and makedev. 2002-10-10 14:27:30 +00:00
Martin v. Löwis 19ff44643f Check for wctype.h. 2002-10-07 17:45:56 +00:00
Martin v. Löwis fed2405cb5 Patch #479898: Use multibyte C library for printing strings if available. 2002-10-07 13:55:50 +00:00
Martin v. Löwis aa5afe1ced Fix quoting for Solaris LDSHARED. Will backport to 2.2. 2002-10-07 06:21:41 +00:00
Martin v. Löwis 82c19a74b2 Also look in -lposix4 for sem_init. Fixes #618615. 2002-10-06 11:48:09 +00:00
Martin v. Löwis 399a6890f5 Disable LFS if Solaris/gcc bug is detected. Fixes #618095. 2002-10-04 10:22:02 +00:00
Martin v. Löwis a7a76d3d9e Patch #618347: Work around Solaris 2.6 pthread.h bug. Will backport to 2.2. 2002-10-04 07:21:24 +00:00
Martin v. Löwis 21ee4091e1 Patch #615069: Fix build problems on SCO Open Server 5. Backported to 2.2. 2002-09-30 16:19:48 +00:00
Martin v. Löwis d61888b60a Patch #596576: Always use cc to link on NetBSD. Will backport to 2.2. 2002-09-30 11:17:27 +00:00
Neal Norwitz d957f39fef Back out previous change.
Quotes aren't necessary in case statements.  Spotted by Neil Schemenauer.
2002-09-25 21:26:19 +00:00
Neal Norwitz dcfaaf2b28 Fix SF # 614587, configure.in patch from Tim Rice
Need to quote $GCC in case it isn't set.
2002-09-25 20:38:34 +00:00
Martin v. Löwis 3cba5c08f0 Patch #609700: Use $(CC) to link on Linux. 2002-09-16 17:50:59 +00:00
Martin v. Löwis 6aa9fdb86a Use utimes(2) where available to support microsecond timestamps. 2002-09-10 09:16:13 +00:00
Martin v. Löwis a32c994129 Always generate floats for stat_result; fix configure test. 2002-09-09 16:17:47 +00:00
Martin v. Löwis 94717ed1d4 Patch #606592: Subsecond timestamps in stat_result. 2002-09-09 14:24:16 +00:00
Guido van Rossum 402905eaa0 Fix typo. It's --with-universal-newlines, not
--with-universal-newline.
2002-08-15 13:56:35 +00:00
Martin v. Löwis d6359c55cc Always link libpython.so with LIBS. Fixes #589422. 2002-08-04 12:38:50 +00:00
Jack Jansen ea0c3828c0 - Get _environ through the NSEnviron call in a MacOSX framework. This allows
us to completely decouple the framework from the executable, so we
  can use a two-level namespace.
- Do framework builds with a twolevel namespace.
- Reorganized the code that creates the minimal framework in the build
  directory, to make it more robust against incomplete frameworks (from
  earlier aborted builds, or builds of previous Python versions).
2002-08-01 21:57:49 +00:00
Martin v. Löwis 1bc894b133 Shared libraries also work on GNU/Hurd. Suggested by Matthias Klose. 2002-07-30 20:19:58 +00:00
Neal Norwitz 1169011f6f SF patch #584245, get python to link on OSF1 (Dec Unix) 2002-07-30 01:08:28 +00:00
Martin v. Löwis 0cec0ffc78 Patch #573770: Implement lchown. 2002-07-28 16:33:45 +00:00
Martin v. Löwis 6f18a3c124 Define _XOPEN_SOURCE and _GNU_SOURCE in pyconfig.h, to have them
available in the configure tests already.
2002-07-20 08:51:52 +00:00
Guido van Rossum e5bd2f4447 Alas, roll back the definition of _XOPEN_SOURCE. It breaks the tests
for the time module, because somehow configure won't define the
symbols HAVE_STRUCT_TM_TM_ZONE, HAVE_TM_ZONE, and HAVE_TZNAME in this
case.

I've got no time to research this further, so I leave it in Jeremy and
Martin's capable hands to find a different solution for True64 (or to
devise a way to get the time tests to succeed while defining
_XOPEN_SOURCE).
2002-07-19 19:32:30 +00:00
Mark Hammond 8235ea1c3a Land Patch [ 566100 ] Rationalize DL_IMPORT and DL_EXPORT. 2002-07-19 06:55:41 +00:00
Mark Hammond b88169819c Add description for _XOPEN_SOURCE_ - needed to allow autoheader to succeed. 2002-07-19 06:31:24 +00:00
Jeremy Hylton 5a7ef7e2b5 Define _XOPEN_SOURCE in configure and Python.h.
This gets compilation of posixmodule.c to succeed on Tru64 and does no
harm on Linux.  We may need to undefine it on some platforms, but
let's wait and see.

Martin says:

> I think it is generally the right thing to define _XOPEN_SOURCE on
> Unix, providing a negative list of systems that cannot support this
> setting (or preferably solving whatever problems remain).
>
> I'd put an (unconditional) AC_DEFINE into configure.in early on; it
> *should* go into confdefs.h as configure proceeds, and thus be active
> when other tests are performed.
2002-07-18 22:39:34 +00:00
Jeremy Hylton af4c12f4c3 Use AC_FUNC_SETPGRP. 2002-07-18 20:25:46 +00:00
Jeremy Hylton 938ace69a0 staticforward bites the dust.
The staticforward define was needed to support certain broken C
compilers (notably SCO ODT 3.0, perhaps early AIX as well) botched the
static keyword when it was used with a forward declaration of a static
initialized structure.  Standard C allows the forward declaration with
static, and we've decided to stop catering to broken C compilers.  (In
fact, we expect that the compilers are all fixed eight years later.)

I'm leaving staticforward and statichere defined in object.h as
static.  This is only for backwards compatibility with C extensions
that might still use it.

XXX I haven't updated the documentation.
2002-07-17 16:30:39 +00:00
Neil Schemenauer cccd1e7248 Remove the configure option for disabling the reference cycle GC. 2002-07-08 14:47:12 +00:00
Skip Montanaro 8345f719c8 Not sure how I forgot to check these in - thought I did all the files in one
fell swoop.  Anyway, this just deletes a couple checks for dbm-type header
files that are now performed in setup.py.  See patch 553108 for details.
2002-06-25 05:53:48 +00:00
Jack Jansen 0b06be7b0b Patch #557719 by Tony Lownds, slightly massaged by me: streamline the
OSX framework build process. Things fixed/modified:
- the filesystem case-sensitivity test now works for builds outside
  the source directory
- various other fixes for building outside the source directory
- python.app now has a target in the main Makefile
- WASTE and AquaTk are found more automatically
2002-06-21 14:48:38 +00:00
Skip Montanaro 57454e57f8 This introduces stricter library/header file checking for the Berkeley DB
library.  Since multiple versions can be installed simultaneously, it's
crucial that you only select libraries and header files which are compatible
with each other.  Version checking is done from highest version to lowest.
Building using version 1 of Berkeley DB is disabled by default because of
the hash file bugs people keep rediscovering.  It can be enabled by
uncommenting a few lines in setup.py.  Closes patch 553108.
2002-06-14 20:30:31 +00:00
Martin v. Löwis 606edc1d97 Patch #568235: Add posix.setpgid. 2002-06-13 21:09:11 +00:00
Martin v. Löwis f90ae20354 Patch #488073: AtheOS port. 2002-06-11 06:22:31 +00:00
Martin v. Löwis a3fb4f7816 Patch #505375: Make doc strings optional. 2002-06-09 13:33:54 +00:00
Michael W. Hudson 065c1a25d1 Stop testing for sigprocmask. This is a stop gap measure until I work
out how to just activate my code on platforms where I know it works
(currently only linux/x86).
2002-06-06 13:03:44 +00:00
Jason Tishler bc48826dc2 Patch #555929: Cygwin AH_BOTTOM cleanup patch (*** version 2 ***)
This patch complies with the following request found
near the top of configure.in:

# This is for stuff that absolutely must end up in pyconfig.h.
# Please use pyport.h instead, if possible.

I tested this patch under Cygwin, Win32, and Red
Hat Linux. Python built and ran successfully on
each of these platforms.
2002-06-04 15:07:08 +00:00
Martin v. Löwis 1931ca72b5 Use somewhat longer C++ program to detect whether linking requires the C++
compiler. Fixes #559429. 2.2 bugfix candidate.
2002-06-01 21:39:58 +00:00
Michael W. Hudson 34f20eac98 This is patch
[ 559250 ] more POSIX signal stuff

Adds support (and docs and tests and autoconfery) for posix signal
mask handling -- sigpending, sigprocmask and sigsuspend.
2002-05-27 15:08:24 +00:00
Martin v. Löwis 1e1fcef756 Back out #555929 2002-05-15 18:24:06 +00:00
Jason Tishler eadb6bb3c5 Patch #555929: Cygwin AH_BOTTOM cleanup patch
This patch complies with the following request found
near the top of configure.in:

# This is for stuff that absolutely must end up in pyconfig.h.
# Please use pyport.h instead, if possible.

I tested this patch under Cygwin, Win32, and Red
Hat Linux. Python built and ran successfully on
each of these platforms.
2002-05-15 11:51:33 +00:00
Martin v. Löwis 09bdf72be3 Patch #553403: Fix typo. 2002-05-08 08:51:29 +00:00
Martin v. Löwis b51033d48f Patch #551093: Let cygwin default to --enable-shared. 2002-05-03 05:53:15 +00:00
Neal Norwitz 3d94942000 #546163, fix link problem on Solaris 8 for makedev when using mknod 2002-04-20 13:46:43 +00:00
Martin v. Löwis a454857633 Test for --export-dynamic directly to avoid problems with binutils 2.12.
Will backport to 2.1 and 2.2.
2002-04-18 14:51:36 +00:00
Martin v. Löwis e8aea58b99 Move WITH_UNIVERSAL_NEWLINES template into configure.in. 2002-04-16 05:51:02 +00:00
Fred Drake 6b3cc524c0 Add a test for fchdir().
This is part of SF feature #536796.
2002-04-15 19:20:27 +00:00
Jack Jansen 7b8c7546eb Mass checkin of universal newline support.
Highlights: import and friends will understand any of \r, \n and \r\n
as end of line. Python file input will do the same if you use mode 'U'.
Everything can be disabled by configuring with --without-universal-newlines.

See PEP278 for details.
2002-04-14 20:12:41 +00:00
Martin v. Löwis 06a83e90aa Patch #543447: Add posix.mknod. 2002-04-14 10:19:44 +00:00
Martin v. Löwis 9701732782 Bump AC_PREREQ to 2.53. 2002-04-12 17:25:21 +00:00
Martin v. Löwis 0036cbae58 Remove acconfig.h. 2002-04-12 09:58:45 +00:00
Martin v. Löwis 1143799df9 Update to autoconf 2.5x. 2002-04-12 09:54:03 +00:00
Martin v. Löwis c45929ecb6 Move autoheader declarations into configure.in. 2002-04-06 10:10:49 +00:00
Martin v. Löwis 2d7e264762 Eliminate use of LIBOBJS which is an error in autoconf 2.53. 2002-04-05 16:50:53 +00:00
Martin v. Löwis 1142de3f5b Patch #527027: Allow building python as shared library. 2002-03-29 16:28:31 +00:00
Martin v. Löwis 2e64c34850 Expose C library's gettext. Fixes #516412. 2002-03-27 18:49:02 +00:00
Neil Schemenauer 16c22976c3 Enable pymalloc by default. 2002-03-22 15:34:49 +00:00
Martin v. Löwis 41933dd1b7 Patch #532729: check for sem_init in -lrt. 2002-03-21 15:10:58 +00:00
Martin v. Löwis 4e732dc66a Expand LINKCC in configure.in. Suggested in bug report #529713. 2002-03-19 15:15:32 +00:00
Martin v. Löwis 3d2b549d56 Patch 527434: Avoid double inclusion of thread.o on Sol2.8. 2002-03-15 13:48:21 +00:00
Jack Jansen 524a098f54 Add a -Wno-long-double flag to the compile flags on Mac OS X. Fixes bug
525481. (Probably not a 2.2.1 candidate, unless the fix that introduced a
long double into objimpl.h (rev. 2.44) is backported to 2.2.1).
2002-03-12 15:25:52 +00:00
Jeremy Hylton 90d1006e92 Add fix for AIX as reported by srubben in SF bug #477487.
Untested, of course.
2002-03-08 21:43:51 +00:00
Jack Jansen 4f8d05495d When testing for availability of pthreads without special compiler options
or libraries also look for thread_detach. SGI has thread_create in libc
but complete pthread support only in -lpthread. Fixes #522393.

2.2.1 candidate.Killed by signal 2.
2002-03-08 13:43:01 +00:00
Michael W. Hudson 0c46c0cc70 Apply Jack's patch attached to
[ 508779 ] Disable flat namespace on MacOS X

I presume you wanted this on the trunk too, Jack?

2.2.1 candidate.
2002-03-07 09:58:56 +00:00
Martin v. Löwis a82d3470ec Patch #510825: PTHREAD_SCOPE_SYSTEM support for HP-UX
(pass non-null argument to pthread_create). 2.2.1 candidate.
2002-02-24 16:05:05 +00:00
Martin v. Löwis b2c92f44d4 Patch #511193: Implement killpg in posixmodule. 2002-02-16 23:35:41 +00:00
Andrew M. Kuchling 54a3941c67 Bump version number to 2.3 2002-02-11 16:30:54 +00:00
Martin v. Löwis a6e975801e Patch #497098: build support for GNU/Hurd. 2002-01-01 18:41:33 +00:00
Michael W. Hudson 542411384c Fix for:
[ #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...
2001-12-07 15:38:26 +00:00
Jack Jansen dd19cf8134 Silly mistake in build directory extension fix. 2001-12-06 22:36:17 +00:00
Jack Jansen 1999ef4973 Test wether we are building on a case-insensitive filesystem (such
as OSX HFS+) and if so add an extension to the python executable, but
only in the build directory, not on the installed python.
2001-12-06 21:47:20 +00:00
Jack Jansen 8a97f4a380 sys.platform on Mac OS X is now "darwin", without any version number appended.
This should probably go into NEWS (who's responsible for that?).
2001-12-05 23:27:32 +00:00
Fred Drake e1ceaa00dc Define NDEBUG when compiling a release build on Unix.
This is the Unix portion of the fix for SF bug #489052.
2001-12-04 20:55:47 +00:00
Martin v. Löwis 06f15bbcc4 Compute thread headers through shell expansion in configure.
Fixes #485679.
2001-12-02 13:02:32 +00:00