Commit Graph

719 Commits

Author SHA1 Message Date
Stefan Krah 99e36b9a84 Issue #24543: Use AC_LINK instead of AC_COMPILE in order to prevent false
positives with the -flto option (gcc >= 4.9.0 and clang).
2015-07-03 15:30:54 +02:00
Benjamin Peterson 2c992a0788 backport computed gotos (#4753) 2015-05-28 12:45:31 -05:00
doko@ubuntu.com a50b0de577 - Regenerate the configure file. 2015-04-13 21:55:59 +02:00
Victor Stinner 7c90667f74 Issue #21356: Make ssl.RAND_egd() optional to support LibreSSL. The
availability of the function is checked during the compilation. Patch written
by Bernard Spil.
2015-01-06 13:53:37 +01:00
Benjamin Peterson 27c269a1fe use getentropy when available (backport of 75ede5bec8db) (closes #23115) 2014-12-26 11:09:00 -06:00
Benjamin Peterson 64e8f6ec1c use autoconf macro to check for pkg-config (closes #15506) 2014-12-15 00:00:23 -05:00
Ned Deily 3f1d0b3121 Issue 22878: PEP 477 - "make install" and "make altinstall" integration
The backport of ensurepip to 2.7.9 allows pip to optionally be installed
or upgraded using the bundled pip provided by the new ensurepip module.
The option can be specified persistently using the configure option:

    ./configure --with-ensurepip[=upgrade|install|no]

It can also be overridden on either the "install" or "altinstall" targets:

    make [alt]install ENSUREPIP=[upgrade|install|no]

For Python 2, the default option is "no" (do not install pip).
2014-11-20 02:11:03 -08:00
Ned Deily 983df8688d Issue #21166: Prevent possible segfaults and other random failures of
python --generate-posix-vars in pybuilddir.txt build target by ensuring
that pybuilddir.txt is always regenerated when configure is run and
that the newly built skeleton python does not inadvertently import
modules from previously installed instances.
2014-08-22 13:30:59 -07:00
Ned Deily c40b9039da Issue #21811: Anticipated fixes to 2.7 configure for OS X 10.10 Yosemite. 2014-06-25 13:48:46 -07:00
doko@ubuntu.com 9ba90c9f06 - Issue #17752: Fix distutils tests when run from the installed location. 2014-05-07 04:41:26 +02:00
doko@ubuntu.com f27ec3e551 - Issue #21285: Refactor and fix curses configure check to always search
in a ncursesw directory.
2014-04-17 20:11:19 +02:00
Benjamin Peterson d16e01cf75 mmap obmalloc arenas so that they may be immediately returned to the system when unused (closes #20494) 2014-02-04 10:20:26 -05:00
Ned Deily a2a9f571a5 Issue #1584: Provide options to override default search paths for Tcl and Tk
when building _tkinter.  configure has two new options; if used, both must
be specified:

  ./configure \
      --with-tcltk-includes="-I/opt/local/include" \
      --with-tcltk-libs="-L/opt/local/lib -ltcl8.5 -ltk8.5"

In addition, the options can be overridden with make:

   make \
       TCLTK_INCLUDES="-I/opt/local/include" \
       TCLTK_LIBS="-L/opt/local/lib -ltcl8.6 -ltk8.6"
2013-10-25 00:30:10 -07:00
Christian Heimes 0d604cf65e Issue #18747: Re-seed OpenSSL's pseudo-random number generator after fork.
A pthread_atfork() child handler is used to seeded the PRNG with pid, time
and some stack data.
2013-08-21 13:26:05 +02:00
Christian Heimes 3aa138fe1d Fix for r84195: add HAVE_ALLOCA_H to configure and only include alloca.h if it's available 2013-06-18 13:25:24 +02:00
Ned Deily 8e60f6ebfb Issue #18098: The deprecated OS X Build Applet.app fails to build on
OS X 10.8 systems because the Apple-deprecated QuickDraw headers have
been removed from Xcode 4.  Skip building it in this case.
2013-05-30 00:14:29 -07:00
Benjamin Peterson c8759666d5 -Wformat is needed by gcc 4.8 (closes #17547) 2013-05-11 13:00:05 -05:00
Benjamin Peterson b9be7bbe2e fix variable reference to fix --enable-profiling (closes #17550) 2013-03-26 08:55:37 -04:00
doko@python.org d65e2bab3b - Issue #17086: Backport the patches from the 3.3 branch to cross-build
the package.
2013-01-31 23:52:03 +01:00
doko@python.org fa3f9a38b2 - Issue #3754: fix typo in pthread AC_CACHE_VAL. 2013-01-25 15:32:31 +01:00
doko@python.org 4e63fbe04d - Issue #17029: Let h2py search the multiarch system include directory. 2013-01-25 13:08:27 +01:00
Charles-François Natali be2b907ce2 Issue #16836: Enable IPv6 support even if IPv6 is disabled on the build host. 2013-01-08 19:47:00 +01:00
Trent Nelson 15daa35d32 IRIX: force MIPSpro to treat #errors as errors, not warnings. 2012-12-13 06:46:39 +00:00
Mark Dickinson 17c50cdac2 Issue 10052: fix failed uint32_t / uint64_t / int32_t / int64_t detection on some platforms. 2012-12-02 13:13:56 +00:00
Stefan Krah 67473263a3 Issue #16534: On HP-UX ac_cv_olimit_ok=yes is a false positive. 2012-11-29 00:17:05 +01:00
Stefan Krah 0afe4e4fa6 Fix more usages of NULL without including stdio.h. 2012-11-22 23:56:51 +01:00
Stefan Krah ae66ca6433 Issue #13057: Include stdio.h when NULL is used in configure.ac. 2012-11-22 22:36:57 +01:00
Trent Nelson 34562e115b Don't add -OPT:Olimit to CFLAGS on AIX, SunOS, HP-UX or IRIX. It breaks them. 2012-10-17 18:01:12 -04:00
Trent Nelson abf205149c Issue #15819: use standard autoconf preset output variables.
Reported by: Roumen Petrov
2012-10-17 04:32:49 -04:00
Trent Nelson fcb009c9d6 Issue #15819: tweak logic in previous commit (e0a2b14a3cf9). 2012-10-16 10:52:35 -04:00
Trent Nelson d86ceecf21 Issue #15819: additional fixes for out-of-tree builds from read-only src.
Unlike 3.2, 3.3 and 3.x, which add "-IObjects -IPython -IInclude" to
BASECPPFLAGS when building out-of-tree, 2.7 only needs to add -IInclude
(for Python-ast.h and graminit.h).
2012-10-16 09:42:45 -04:00
Trent Nelson f6407a184d Issue #15819: Fix out-of-tree builds from a readonly source. 2012-08-30 14:56:13 +00:00
Martin v. Löwis ed11a5d018 Issue #8767: Restore building with --disable-unicode.
Original patch by Stefano Taschini.
2012-05-20 10:42:17 +02:00
Matthias Klose 3cef2a931c - rename configure.in to configure.ac
- change references from configure.in to configure.ac
2012-03-14 23:39:33 +01:00
Stefan Krah 2bc1e8fbf2 Backport second fix for issue #11149. 2011-12-08 22:26:06 +01:00
Charles-François Natali 93a1175bac Issue #13415: Test in configure if unsetenv() has a return value or not. 2011-11-27 13:01:35 +01:00
Stefan Krah 503e5e12c2 Backport fix for issue #11149. 2011-09-14 15:19:42 +02:00
Victor Stinner acacbaa788 Issue #12326: sys.platform is now always 'linux2' on Linux
Even if Python is compiled on Linux 3.
2011-08-20 14:02:38 +02:00
Charles-François Natali 3de8c73d90 Issue #12560: Build libpython.so on OpenBSD. Patch by Stefan Sperling. 2011-07-24 22:33:35 +02:00
Charles-François Natali 97781b0b64 Issue #12592: Make Python build on OpenBSD 5 (and future major releases). 2011-07-22 23:43:42 +02:00
Charles-François Natali 4929eb911b Issue #12372: POSIX semaphores are broken on AIX: don't use them. 2011-07-21 19:41:04 +02:00
Ned Deily 43e1054e38 Issue #8746: Correct faulty configure checks so that os.chflags() and
os.lchflags() are once again built on systems that support these
functions (*BSD and OS X).  Also add new stat file flags for OS X
(UF_HIDDEN and UF_COMPRESSED).  Also add additional tests for
os.chflags() and os.lchflags(). (Tests by Garrett Cooper)
2011-06-27 23:41:53 -07:00
Georg Brandl 3a5508e2c0 Port build identification from default branch. 2011-03-06 10:42:21 +01:00
Georg Brandl 94800df632 Merged revisions 88430,88438,88440 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r88430 | georg.brandl | 2011-02-15 20:48:59 +0100 (Di, 15 Feb 2011) | 1 line

  #730467: Another small AIX fix.
........
  r88438 | georg.brandl | 2011-02-19 09:44:47 +0100 (Sa, 19 Feb 2011) | 1 line

  #10709: add back an updated AIX-NOTES (as README.AIX).
........
  r88440 | georg.brandl | 2011-02-19 09:58:23 +0100 (Sa, 19 Feb 2011) | 1 line

  #11184: Fix large file support on AIX.
........
2011-02-25 11:09:02 +00:00
Georg Brandl 71f4fbb0b7 Merged revisions 88426 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r88426 | georg.brandl | 2011-02-15 16:44:51 +0100 (Di, 15 Feb 2011) | 1 line

  #941346: Fix broken shared library build on AIX. Patch by Sebastien Sable, review by Antoine Pitrou.
........
2011-02-25 11:04:50 +00:00
Antoine Pitrou 31e8595e45 Merged revisions 87698 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r87698 | antoine.pitrou | 2011-01-03 19:53:50 +0100 (lun., 03 janv. 2011) | 4 lines

  Issue #7716: Under Solaris, don't assume existence of /usr/xpg4/bin/grep in
  the configure script but use $GREP instead.  Patch by Fabian Groffen.
........
2011-01-03 18:57:14 +00:00
Antoine Pitrou cb40277ea4 Merged revisions 87646 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r87646 | antoine.pitrou | 2011-01-02 21:45:21 +0100 (dim., 02 janv. 2011) | 3 lines

  Fix bad quoting in r87639. Caught by Arfrever.
........
2011-01-02 20:51:34 +00:00
Antoine Pitrou f11d1832ec Merged revisions 87639 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r87639 | antoine.pitrou | 2011-01-02 20:34:03 +0100 (dim., 02 janv. 2011) | 4 lines

  Issue #10475: Don't hardcode compilers for LDSHARED/LDCXXSHARED on NetBSD
  and DragonFly BSD.  Patch by Nicolas Joly.
........
2011-01-02 19:37:45 +00:00
Stefan Krah 3a3e20311d Merged revisions 85422 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r85422 | antoine.pitrou | 2010-10-13 19:01:10 +0200 (Wed, 13 Oct 2010) | 6 lines

  Followup to #9437: since LDFLAGS is now appended to LDSHARED in the Makefile,
  don't do in configure as well.

  Hopefully this will solve a Makefile parsing issue on the FreeBSD buildbots.
........
2010-11-28 15:30:05 +00:00
Benjamin Peterson 75fed81c75 Merged revisions 86075 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r86075 | benjamin.peterson | 2010-10-31 20:44:30 -0500 (Sun, 31 Oct 2010) | 1 line

  fix output for getaddrinfo bug check #7059
........
2010-11-01 01:47:19 +00:00