Commit Graph

904 Commits

Author SHA1 Message Date
doko@python.org 7981f20293 - Issue #3754: fix typo in pthread AC_CACHE_VAL. 2013-01-25 15:33:25 +01:00
doko@python.org 937c8e1ce0 - Issue #16292: Improve a comment for cross building in configure.ac 2013-01-25 14:44:20 +01:00
doko@python.org 44bbbdab67 - Issue #16292: Improve a comment for cross building in configure.ac 2013-01-25 14:44:00 +01:00
doko@python.org 981eec3ad4 - Issue #15484: Fix _PYTHON_PROJECT_BASE for srcdir != builddir builds;
use _PYTHON_PROJECT_BASE in distutils/sysconfig.py.
2013-01-25 14:35:44 +01:00
doko@python.org 9731330d6f - Issue #15484: Fix _PYTHON_PROJECT_BASE for srcdir != builddir builds;
use _PYTHON_PROJECT_BASE in distutils/sysconfig.py.
2013-01-25 14:33:33 +01:00
doko@python.org 6951fea3ab - Issue #17029: Let h2py search the multiarch system include directory. 2013-01-25 13:20:46 +01:00
doko@python.org 0c77bf757f - Issue #17029: Let h2py search the multiarch system include directory. 2013-01-25 13:19:35 +01:00
doko@python.org 3e6e2ac31d - Issue #17029: Let h2py search the multiarch system include directory. 2013-01-25 13:12:29 +01:00
Stefan Krah 5cc36bc6a4 Merge 3.3. 2013-01-17 20:44:02 +01:00
Stefan Krah 8c8adf6db7 Issue #16987: Fix definition of SHLIB_EXT. 2013-01-17 20:41:56 +01:00
Charles-François Natali cd18e78897 Issue #16836: Enable IPv6 support even if IPv6 is disabled on the build host. 2013-01-08 20:03:07 +01:00
Charles-François Natali 1aa004b45d Issue #16836: Enable IPv6 support even if IPv6 is disabled on the build host. 2013-01-08 19:51:56 +01:00
Charles-François Natali f6fd794fac Issue #16836: Enable IPv6 support even if IPv6 is disabled on the build host. 2013-01-08 19:49:42 +01:00
Christian Heimes b92c40ef9b Cross compiling needs host and build settings. configure no longer
creates a broken PYTHON_FOR_BUILD variable when --build is missing.
2012-12-12 13:10:32 +01:00
Christian Heimes 954ac03a44 Cross compiling needs host and build settings. configure no longer
creates a broken PYTHON_FOR_BUILD variable when --build is missing.
2012-12-12 13:10:21 +01:00
Mark Dickinson 6e61d18891 Issue 10052: merge fix from 3.2. 2012-12-02 13:21:37 +00:00
Mark Dickinson ce31f66a6d Issue 10052: fix failed uint32_t / uint64_t / int32_t / int64_t detection on some platforms. 2012-12-02 13:20:22 +00:00
Mark Dickinson 983bc16c15 Issue 10052: fix failed uint32_t / uint64_t / int32_t / int64_t detection on some platforms. 2012-12-02 12:11:38 +00:00
Stefan Krah 588090ff39 Merge 3.3. 2012-11-22 23:50:25 +01:00
Stefan Krah 19c2139d2d Fix more usages of NULL without including stdio.h. 2012-11-22 23:47:32 +01:00
Stefan Krah 8cb9e2e073 Merge 3.3. 2012-11-22 22:57:54 +01:00
Stefan Krah 7dba5940ae Issue #13057: Include stdio.h when NULL is used in configure.ac. 2012-11-22 22:49:11 +01:00
Ross Lagerwall 2bb842a2ef Merge with 3.3 for issue #16262 2012-10-29 17:39:19 +00:00
Ross Lagerwall 646eb1e856 Merge with 3.2 for issue #16262 2012-10-29 17:35:57 +00:00
Ross Lagerwall 1b863ebfc8 Fix regression from issue #16262 2012-10-29 17:31:54 +00:00
Matthias Klose 1348747052 - Issue #16262: fix out-of-src-tree builds, if mercurial is not installed. 2012-10-21 23:14:39 +02:00
Matthias Klose aee3c76acf - Issue #16262: fix out-of-src-tree builds, if mercurial is not installed. 2012-10-21 23:12:35 +02:00
Matthias Klose c4c4842d86 - Issue #16262: fix out-of-src-tree builds, if mercurial is not installed. 2012-10-21 23:05:35 +02:00
Trent Nelson 9a537a6abf Issue #15819: use standard autoconf preset output variables.
Reported by: Roumen Petrov
2012-10-17 04:49:26 -04:00
Trent Nelson 5595ab564c Issue #15819: use standard autoconf preset output variables.
Reported by: Roumen Petrov
2012-10-17 04:47:31 -04:00
Trent Nelson 739fc541b1 Issue #15819: use standard autoconf preset output variables.
Reported by: Roumen Petrov
2012-10-17 04:45:30 -04:00
Trent Nelson a4519a6110 Bump autoconf from 2.68 to 2.69. 2012-10-16 11:51:08 -04:00
Trent Nelson 65c60851b0 Merge issue #15819: tweak logic in previous commit. 2012-10-16 11:09:31 -04:00
Trent Nelson 56d4c03cb2 Merge issue #15819: tweak logic in previous commit. 2012-10-16 11:07:31 -04:00
Trent Nelson 6603118125 Issue #15819: tweak logic in previous commit (617591e7d708). 2012-10-16 11:04:04 -04:00
Trent Nelson cd02b3f781 Merge issue #15819: additional fixes for out-of-tree builds from read-only src.
Specifically, make sure the 'Object', 'Python' and 'Include' directories
in the build directory take precedence over the source directory if we're
an out-of-tree build.

Fix typeslots.inc so that it gets generated into the build directory.

In addition, for 3.3, make sure importlib.h gets generated into the
build directory.
2012-10-16 08:53:13 -04:00
Trent Nelson 4d4ec6502d Merge issue #15819: additional fixes for out-of-tree builds from read-only src.
Specifically, make sure the 'Object', 'Python' and 'Include' directories
in the build directory take precedence over the source directory if we're
an out-of-tree build.

Fix typeslots.inc so that it gets generated into the build directory.

In addition, for 3.3, make sure importlib.h gets generated into the
build directory.
2012-10-16 08:51:24 -04:00
Trent Nelson 9effe699b7 Issue #15819: additional fixes for out-of-tree builds from read-only src.
Specifically, make sure the 'Object', 'Python' and 'Include' directories
in the build directory take precedence over the source directory if we're
an out-of-tree build.

Fix typeslots.inc so that it gets generated into the build directory.
2012-10-16 08:41:32 -04:00
Georg Brandl 08a9012352 Bump version to 3.4.0 alpha 0. 2012-09-29 09:34:13 +02:00
Trent Nelson a45afcada3 Issue #15819: Fix out-of-tree builds from a readonly source. 2012-08-30 14:32:02 +00:00
doko@ubuntu.com 9dc823d2e0 - Issue #15268: Search curses.h in /usr/include/ncursesw. 2012-07-07 03:06:42 +02:00
doko@ubuntu.com 7e6c2e2cc4 - Issue #14330: For cross builds, don't use host python, use host search paths
for host compiler.

  Add NEWS entry, rename _PROJECT_BASE to _PYTHON_PROJECT_BASE.
2012-06-30 22:35:00 +02:00
doko@ubuntu.com 1abe1c5fe1 - Issue #14330: For cross builds, don't use host python, use host search paths
for host compiler.
2012-06-30 20:42:45 +02:00
doko@ubuntu.com b457b9be4d - Issue #3754: Fix /dev/ptmx, /dev/ptc file checks for cross builds,
require values set in CONFIG_SITE.
2012-06-30 19:28:16 +02:00
doko@ubuntu.com 5884449539 - Issue #3754: Use readelf instead of ldd for the cross build readline check 2012-06-30 18:25:32 +02:00
doko@ubuntu.com f2967c73ad - check for libtinfo as a termcap library 2012-06-30 17:32:23 +02:00
doko@ubuntu.com 9c7817e9ee - Issue #3754: Some unrelated configure.ac cleanups. 2012-06-30 17:05:13 +02:00
doko@ubuntu.com ba01583eef - Issue #14324: use a linker test to check for profiling support 2012-06-30 16:52:05 +02:00
doko@ubuntu.com 51f6594054 - Issue #3754: Use AC_PATH_TOOL and AC_CHECK_TOOLS instead of
AC_PATH_PROG and AC_CHECK_PROGS for the target tools.
2012-06-30 14:42:46 +02:00
Ned Deily 3784ff9811 Issue #13950: Improve support for OS X Xcode 4:
Fix ./configure to provide a more sensible default for
MACOSX_DEPLOYMENT_TARGET. Currently the default is the minimum OS X level
that supports the universal arch option, typically 10.4, even when no
universalsdk is selected. This causes various desirable features that
depend on later OS X versions, like libedit readline support, to be
omitted from the build. A more complete solution would take into account
the SDK that is being used and better tailor the universal arch options.
For now, change the existing tests to only apply to build systems of 10.5
and earlier; for 10.6 and later, use the build system version as the
default deployment target if the MACOSX_DEPLOYMENT_TARGET environment
variable is not provided.
2012-06-25 05:04:28 -07:00
Ned Deily cbfb9a56e6 Issue #13590: Improve support for OS X Xcode 4:
- Try to avoid building Python or extension modules with problematic
  llvm-gcc compiler.
- Since Xcode 4 removes ppc support, extension module builds now
  check for ppc compiler support and automatically remove ppc and
  ppc64 archs when not available.
- Since Xcode 4 no longer install SDKs in default locations,
  extension module builds now revert to using installed headers
  and libs if the SDK used to build the interpreter is not
  available.
- Update ./configure to use better defaults for universal builds;
  in particular, --enable-universalsdk=yes uses the Xcode default
  SDK and --with-universal-archs now defaults to "intel" if ppc
  not available.
2012-06-23 16:02:19 -07:00
Stefan Krah 60187b5ee5 Issue #7652: Enable linking of _decimal.so against an installed libmpdec. 2012-03-23 19:06:27 +01:00
Stefan Krah 1919b7e72b Issue #7652: Integrate the decimal floating point libmpdec library to speed
up the decimal module. Performance gains of the new C implementation are
between 12x and 80x, depending on the application.
2012-03-21 18:25:23 +01:00
Matthias Klose df2aecbf61 - Issue #14327: Call AC_CANONICAL_HOST in configure.ac and check in
config.{guess,sub}. Don't use uname calls for cross builds.
2012-03-15 22:19:28 +01:00
Matthias Klose ca2f6ecfc9 - Issue #14327: Call AC_CANONICAL_HOST in configure.ac and check in
config.{guess,sub}.
2012-03-15 21:30:11 +01:00
Matthias Klose 9635013a8f - Issue #14324: Fix configure tests for cross builds.
when configured with --(en|dis)able-ipv6 for cross builds, don't fail the configury due to the missing buggy-getaddrinfo check.
2012-03-15 20:42:23 +01:00
Matthias Klose b17289e199 - Issue #14324: Fix configure tests for cross builds.
when configured --with(out)-computed-gotos for a cross, use this value instead of defaulting to no.
2012-03-15 19:51:34 +01:00
Matthias Klose 3b739b149b - Issue #14324: Fix configure tests for cross builds.
when using gcc, use a compilation test for the cross build check for long long format.
2012-03-15 19:31:06 +01:00
Matthias Klose 93a0ef16c9 - Issue #14321: Do not run pgen during the build if files are up to date. 2012-03-15 18:08:34 +01:00
Matthias Klose 5ce31cc4fc merge 3.2 2012-03-14 23:17:31 +01:00
Matthias Klose d83be23689 merge 3.1 2012-03-14 23:14:35 +01:00
Matthias Klose 0f4c16e29c - rename configure.in to configure.ac
- change references from configure.in to configure.ac
2012-03-14 23:10:15 +01:00
Antoine Pitrou bcf2b59fb5 Issue #13609: Add two functions to query the terminal size:
os.get_terminal_size (low level) and shutil.get_terminal_size (high level).
Patch by Zbigniew Jędrzejewski-Szmek.
2012-02-08 23:28:36 +01:00
Martin v. Löwis 9d6c66933a Issue #13777: Add PF_SYSTEM sockets on OS X.
Patch by Michael Goderbauer.
2012-02-03 17:44:58 +01:00
Gregory P. Smith 1577cf758b Improve the test for dirfd(). Some systems #define it rather than
have it as a library function.
2012-01-21 18:21:56 -08:00
Gregory P. Smith df300d5062 Improve the test for dirfd(), some systems #define it rather than have
an actual function.
2012-01-21 18:20:15 -08:00
Gregory P. Smith d635af5a61 Fixes issue #8052: The posix subprocess module's close_fds behavior was
suboptimal by closing all possible file descriptors rather than just
the open ones in the child process before exec().

It now closes only the open fds when it is possible to safely determine what
those are.
2012-01-21 14:39:29 -08:00
Gregory P. Smith 8facece99a Fixes issue #8052: The posix subprocess module's close_fds behavior was
suboptimal by closing all possible file descriptors rather than just
the open ones in the child process before exec().

It now closes only the open fds when it is possible to safely determine what
those are.
2012-01-21 14:01:08 -08:00
Gregory P. Smith d1bb06f7ad regenerated using autoconf, includes dirfd test. 2012-01-16 02:09:41 -08:00
Gregory P. Smith 6914048088 regenerate configure using autoconf. includes the dirfd test. 2012-01-16 02:05:55 -08:00
Benjamin Peterson 95c16629d3 fix for old kernels which don't have epoll_create1 2011-12-27 15:36:32 -06:00
Stefan Krah 9a17cc3c53 Merge second fix for issue #11149. 2011-12-08 22:22:58 +01:00
Stefan Krah af04ff2b97 Issue #11149: Also enable -fwrapv if $CC is a full path
or has a trailing version number.
2011-12-08 22:20:31 +01:00
Antoine Pitrou f0effe6379 Better resolution for issue #11849: Ensure that free()d memory arenas are really released
on POSIX systems supporting anonymous memory mappings.  Patch by Charles-François Natali.
2011-11-26 01:11:02 +01:00
Victor Stinner 984890fcbb Close #13415: Test in configure if unsetenv() has a return value or not.
Patch written by Charles-François Natali.
2011-11-24 13:53:38 +01:00
Jesus Cea d8b9ae6e8f Issue #6397: Support '/dev/poll' polling objects in select module, under Solaris & derivatives. 2011-11-14 19:07:41 +01:00
Victor Stinner e0be423297 Close #10278: Add clock_getres(), clock_gettime() and CLOCK_xxx constants to
the time module. time.clock_gettime(time.CLOCK_MONOTONIC) provides a monotonic
clock
2011-10-25 13:06:09 +02:00
Charles-François Natali 47413c1171 Issue #10141: socket: add SocketCAN (PF_CAN) support. Initial patch by Matthias
Fuchs, updated by Tiago Gonçalves.
2011-10-06 19:47:44 +02:00
Martin v. Löwis d63a3b8beb Implement PEP 393. 2011-09-28 07:41:54 +02:00
Benjamin Peterson 7ddbf10589 disable unused result warnings when possible 2011-09-23 13:23:22 -04:00
Stefan Krah 66611c554d Merge fix for issue #11149. 2011-09-14 15:17:12 +02:00
Stefan Krah 962055d3c6 Issue #11149: recent versions of clang require the -fwrapv flag. 2011-09-14 15:14:08 +02:00
Benjamin Peterson b77fe17320 Use xattr functions from sys/xattr.h instead of attr/xattr.h (closes #12720)
sys/xattr.h is glibc while attr/xattr.h is a separate library.
2011-09-13 17:20:47 -04:00
Victor Stinner d169fdcb63 Issue #12852: Set _POSIX_C_SOURCE to 200809 to get POSIX 2008
configure.in: Set _POSIX_C_SOURCE to 200809L, instead of 200112L, to activate
features from IEEE Stds 1003.1-2008.
2011-09-08 00:56:17 +02:00
Victor Stinner 14d098d3ac Issue #12852: Set _XOPEN_SOURCE to 700 to get POSIX 2008
configure: Set _XOPEN_SOURCE to 700, instead of 600, to get POSIX 2008
functions on OpenBSD (e.g. fdopendir).
2011-09-07 22:29:43 +02:00
Charles-François Natali ea0d5fcb4a Issue #12871: sched_get_priority_(min|max) might not be defined even though
<sched.h> is available (most notably on OpenBSD when built without pthread):
add an explicit configure check.
2011-09-06 19:03:35 +02:00
Benjamin Peterson 799bd80d8a expose linux extended file system attributes (closes #12720) 2011-08-31 22:15:17 -04:00
Victor Stinner 7209ff2b31 Issue #12326: woops, I really mean 'linux', not 'linux2'
Copy/paste (from Python 3.2) failure
2011-08-21 00:00:16 +02:00
Victor Stinner ff3d9399fc Close #12326: sys.platform is now always 'linux' on Linux
On Linux, sys.platform doesn't contain the major version anymore. It is now
always 'linux', instead of 'linux2' or 'linux3' depending on the Linux version
used to build Python.
2011-08-20 23:39:26 +02:00
Victor Stinner 0c17d0d96e Issue #12326: sys.platform is now always 'linux2' on Linux
Even if Python is compiled on Linux 3.
2011-08-20 14:01:05 +02:00
Benjamin Peterson c5fce4ded2 check individually for some for sched_ functions 2011-08-02 18:07:32 -05:00
Benjamin Peterson 2740af8cc4 sched.h can exist without sched affinity support 2011-08-02 17:41:34 -05:00
Benjamin Peterson 94b580d423 expose sched.h functions (closes #12655) 2011-08-02 17:30:04 -05:00
Charles-François Natali 6613c18ea2 Issue #13415: Test in configure if unsetenv() has a return value or not. 2011-11-27 12:41:06 +01:00
Antoine Pitrou d3b2aefbfe Actually port ecfe9bf0117b to default
(I had the wrong impression that the problem didn't exist here)
2011-07-27 01:22:41 +02:00
Antoine Pitrou 5cd3e305e3 When testing for an hg repo, use a file that always exists, even with the "shared" extension 2011-07-27 01:16:18 +02:00
Charles-François Natali dc1d548ecb Issue #12560: Build libpython.so on OpenBSD. Patch by Stefan Sperling. 2011-07-24 22:44:15 +02:00
Charles-François Natali 749400a94d Issue #12560: Build libpython.so on OpenBSD. Patch by Stefan Sperling. 2011-07-24 22:41:18 +02:00
Charles-François Natali 54ef40b000 Merge - Issue #12592: Make Python build on OpenBSD 5 (and future major
releases).
2011-07-22 23:52:02 +02:00
Charles-François Natali beed47ec0e Issue #12592: Make Python build on OpenBSD 5 (and future major releases). 2011-07-22 23:48:44 +02:00