Commit Graph

562 Commits

Author SHA1 Message Date
Martin v. Löwis cb78de6d25 Bug #1699: Define _BSD_SOURCE only on OpenBSD. 2007-12-29 18:49:21 +00:00
Christian Heimes 0a8143f646 Applied patch #1635: Float patch for inf and nan on Windows (and other platforms).
The patch unifies float("inf") and repr(float("inf")) on all platforms.
2007-12-18 23:22:54 +00:00
Christian Heimes db3d6cbce0 Fixed #1638: %zd configure test fails on Linux 2007-12-16 21:39:43 +00:00
Guido van Rossum 7c862f8077 Patch #1608. Someone with access to autoconf 2.61 or higher needs to
run it and check in the resulting configure file.
2007-12-13 20:50:10 +00:00
Martin v. Löwis a51d5c8c15 Fix chflags issue on Tru64, from #1490190. 2007-12-04 08:37:59 +00:00
Christian Heimes 3628187b66 Fix for feature request #1528 Add os.fchmod
Georg Brandl has added fchmod() and fchown(). I've contributed lchown but I'm not able to test it on Linux. However it should be available on Mac and some other flavors of Unix.
I've made a quick test of fchmod() and fchown() on my system. They are working as expected.
2007-11-30 21:11:28 +00:00
Thomas Heller 486b1b0268 Issue #1292: On alpha, arm, ppc, and s390 linux systems the
--with-system-ffi configure option defaults to "yes" because the
bundled libffi sources are too old.
2007-11-02 19:10:24 +00:00
Matthias Klose 6e183f8f44 - Build using system ffi library on arm*-linux*, pass --with-system-ffi to CONFIG_ARGS 2007-10-25 06:37:24 +00:00
Matthias Klose 9afb9850f2 - Build using system ffi library on arm*-linux*. 2007-10-24 20:00:44 +00:00
Martin v. Löwis 58bd49f5fe Patch #1388440: Add set_completion_display_matches_hook and
get_completion_type to readline.
2007-09-04 13:13:14 +00:00
Ronald Oussoren 38f1b98cc3 Macosx: this patch ensures that the value of MACOSX_DEPLOYMENT_TARGET used
by the Makefile is also used at configure-time.
2007-09-02 09:46:07 +00:00
Martin v. Löwis eba40650b5 Bump autoconf minimum version to 2.61. 2007-08-30 20:10:57 +00:00
Skip Montanaro 7221d93aca Note that BeOS is unsupported as of Python 2.6. 2007-08-22 19:02:16 +00:00
Martin v. Löwis 76760b0e8f Define _BSD_SOURCE, to get access to POSIX extensions on OpenBSD 4.1+. 2007-07-31 19:57:56 +00:00
Brett Cannon 19fab761b7 Have configure raise an error when building on AtheOS. Code specific to AtheOS
will be removed in Python 2.7.
2007-06-02 03:02:29 +00:00
Martin v. Löwis eb62357a2e Bug #1675511: Use -Kpic instead of -xcode=pic32 on Solaris/x86. 2007-03-12 10:50:39 +00:00
Martin v. Löwis 382abeff0f Patch #1490190: posixmodule now includes os.chflags() and os.lchflags()
functions on platforms where the underlying system calls are available.
2007-02-19 10:55:19 +00:00
Martin v. Löwis aef4c6bc00 Patch #1610575: Add support for _Bool to struct. 2007-01-21 09:33:07 +00:00
Martin v. Löwis 4d542ec13c Disable _XOPEN_SOURCE on NetBSD 1.x.
Will backport to 2.5
2006-11-25 15:39:19 +00:00
Martin v. Löwis 0347a9a491 Get DBL_MAX from float.h not values.h. Will backport. 2006-10-27 07:06:52 +00:00
Martin v. Löwis 443ccc73f3 Check for values.h. Will backport. 2006-10-27 06:42:27 +00:00
Martin v. Löwis c1d7597b1d Restore CFLAGS after checking for __attribute__ 2006-10-19 16:01:37 +00:00
Martin v. Löwis aac1316222 Add check for the PyArg_ParseTuple format, and declare
it if it is supported.
2006-10-19 10:58:46 +00:00
Martin v. Löwis fefbc2029c Forward-port r52358:
- Bug #1578513: Cross compilation was broken by a change to configure.
Repair so that it's back to how it was in 2.4.3.
2006-10-17 18:59:23 +00:00
Martin v. Löwis 40e9aed050 Guard uintptr_t test with HAVE_STDINT_H, test for
stdint.h. Will backport.
2006-10-02 15:20:37 +00:00
Martin v. Löwis ebe26709d2 Fix test for uintptr_t. Fixes #1568842.
Will backport.
2006-10-02 14:55:51 +00:00
Neal Norwitz 4a8fbdb1b2 Fix %zd string formatting on Mac OS X so it prints negative numbers.
In addition to testing positive numbers, verify negative numbers work in configure.
In order to avoid compiler warnings on OS X 10.4, also change the order of the check
for the format character to use (PY_FORMAT_SIZE_T) in the sprintf format
for Py_ssize_t.  This patch changes PY_FORMAT_SIZE_T from "" to "l" if it wasn't
defined at configure time.  Need to verify the buildbot results.

Backport candidate (if everyone thinks this patch can't be improved).
2006-09-22 08:16:26 +00:00
Neal Norwitz 4bc2c0919b Patch #1540470, for OpenBSD 4.0. Backport candidate for 2.[34]. 2006-09-05 02:57:01 +00:00
Neal Norwitz 9be573201e Try to get Unix bots install working again. 2006-08-18 05:39:20 +00:00
Ronald Oussoren c95f7569e8 It's unlikely that future versions will require _POSIX_C_SOURCE 2006-08-09 14:56:33 +00:00
Martin v. Löwis 0907f4dc5b Drop usage of test -e in configure as it is not portable.
Fixes #1439538
Will backport to 2.4
Also regenerate pyconfig.h.in.
2006-07-30 14:09:47 +00:00
Ronald Oussoren f875264278 This patch solves the problem Skip was seeing with zlib, this patch ensures that
configure uses similar compiler flags as setup.py when doing the zlib test.

Without this patch configure would use the first shared library on the linker
path, with this patch it uses the first shared or static library on that path
just like setup.py.
2006-07-06 10:13:35 +00:00
Walter Dörwald 05fdbf15ba Make check order match in configure and configure.in. 2006-06-19 08:14:09 +00:00
Walter Dörwald 4994d9546c Patch #1506645: add Python wrappers for the curses functions
is_term_resized, resize_term and resizeterm. This uses three
separate configure checks (one for each function).
2006-06-19 08:07:50 +00:00
Neal Norwitz 6e73aaab47 Patch #1503046, Conditional compilation of zlib.(de)compressobj.copy
copy is only in newer versions of zlib.  This should allow zlibmodule
to work with older versions like the Tru64 buildbot.
2006-06-12 03:33:09 +00:00
Neal Norwitz 7659f0fc26 Fix typo. Backport if anyone cares. :-) 2006-06-12 02:09:03 +00:00
Martin v. Löwis 0e8bd7e1cc Patch #1495999: Part two of Windows CE changes.
- update header checks, using autoconf
- provide dummies for getenv, environ, and GetVersion
- adjust MSC_VER check in socketmodule.c
2006-06-10 12:23:46 +00:00
Ronald Oussoren 2db3a8f73e And the last bit: move IDLE one level up and adjust makefiles 2006-06-07 19:06:01 +00:00
Ronald Oussoren 5b78732a20 * Ensure that "make altinstall" works when the tree was configured
with --enable-framework
* Also for --enable-framework: allow users to use --prefix to specify
  the location of the compatibility symlinks (such as /usr/local/bin/python)
2006-06-06 19:50:24 +00:00
Martin v. Löwis 222c515493 Port to OpenBSD 3.9. Patch from Aldo Cortesi. 2006-06-03 07:37:13 +00:00
Ronald Oussoren 567a8ffd09 Integrate installing a framework in the 'make install'
target. Until now users had to use 'make frameworkinstall'
to install python when it is configured with '--enable-framework'.
This tends to confuse users that don't hunt for readme files
hidden in platform specific directories :-)
2006-05-26 11:43:26 +00:00
Neal Norwitz 58e28887d5 Bug/Patch #1481770: Use .so extension for shared libraries on HP-UX for ia64.
I suppose this could be backported if anyone cares.
2006-05-19 07:00:58 +00:00
Martin v. Löwis 5f5d99c215 - Test for sys/statvfs.h before including it, as statvfs is present
on some OSX installation, but its header file is not.
Will backport to 2.4
2006-05-16 07:05:37 +00:00
Ronald Oussoren 836b039b7c Rework the build system for osx applications:
* Don't use xcodebuild for building PythonLauncher, but use a normal unix
  makefile. This makes it a lot easier to use the same build flags as for the
  rest of python (e.g. make a universal version of python launcher)
* Convert the mac makefile-s to makefile.in-s and use configure to set makefile
  variables instead of forwarding them as command-line arguments
* Add a C version of pythonw, that we you can use '#!/usr/local/bin/pythonw'
* Build IDLE.app using bundlebuilder instead of BuildApplet, that will allow
  easier modification of the bundle contents later on.
2006-05-14 19:56:34 +00:00
Brett Cannon 09d1236b89 Detect if %zd is supported by printf() during configure and sets
PY_FORMAT_SIZE_T appropriately.  Removes warnings on
OS X under gcc 4.0.1 when PY_FORMAT_SIZE_T is set to "" instead of "z" as is
needed.
2006-05-11 05:11:33 +00:00
Ronald Oussoren 988117fd63 Patch 1471883: --enable-universalsdk on Mac OS X 2006-04-29 11:31:35 +00:00
Martin v. Löwis f7afe958ed Patch #1045620: Prepend Modules/ before Setup in stdout. 2006-04-14 15:16:15 +00:00
Martin v. Löwis 0f48d98b74 Patch #1324762: Change --with-cxx to --with-cxx-main. 2006-04-14 14:34:26 +00:00
Skip Montanaro 288a5be5ad If compiling with g++ don't use -Wstrict-prototpes. 2006-04-13 02:00:56 +00:00
Martin v. Löwis 9176fc1466 Patch #1464444: Add --with-system-ffi. 2006-04-11 11:12:43 +00:00