Commit Graph

631 Commits

Author SHA1 Message Date
Benjamin Peterson 697cd21665 Merged revisions 78962,78964 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78962 | benjamin.peterson | 2010-03-14 09:24:31 -0500 (Sun, 14 Mar 2010) | 1 line

  fix freebsd linking #7705
........
  r78964 | benjamin.peterson | 2010-03-14 10:06:14 -0500 (Sun, 14 Mar 2010) | 1 line

  fix quotes
........
2010-05-02 16:45:11 +00:00
Jesus Cea d54cdf038a Merged revisions 80574 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r80574 | jesus.cea | 2010-04-28 12:32:30 +0200 (Wed, 28 Apr 2010) | 1 line

  Issue #3928: Support 'os.mknod()' in Solaris
........
2010-04-28 11:11:36 +00:00
Ronald Oussoren a23bccee07 Fix for issue #8175: ensure that configure --with-universal-archs=all
works on osx 10.5
2010-04-18 19:14:06 +00:00
Ronald Oussoren e3eaf3153f Merged revisions 80187 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r80187 | ronald.oussoren | 2010-04-18 19:59:37 +0200 (Sun, 18 Apr 2010) | 6 lines

  Add the OSX universal binary related options
  to CFLAGS instead of BASECFLAGS.

  This fixes issue 8366 and is needed due to
  changes introduced in the fix for issue 1628484.
........

Also: force usage of gcc-4.0 when building using the 10.4 SDK,
this is needed to avoid compile errors when building on OSX 10.6
(and is already in the trunk)
2010-04-18 18:21:03 +00:00
Benjamin Peterson 5d39ab05f0 Merged revisions 79351 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79351 | benjamin.peterson | 2010-03-23 15:58:37 -0500 (Tue, 23 Mar 2010) | 1 line

  the == test doesn't work on Solaris #8210
........
2010-03-23 21:02:50 +00:00
Benjamin Peterson 2a5b622510 Merged revisions 78817 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78817 | benjamin.peterson | 2010-03-09 15:43:36 -0600 (Tue, 09 Mar 2010) | 1 line

  handle an empty OPT variable correctly #8100
........
2010-03-09 21:47:28 +00:00
Ronald Oussoren 8a6e491488 Fix copy&paste error in fix for Issue8089 2010-03-09 21:33:59 +00:00
Ronald Oussoren ea580e176c Fix for issue8089: a framework build with --with-universal-archs=3-way|intel had no way to select
a 32-bit executable (which is needed because not all (GUI) libraries are available in 64-bit mode)

Also fixes a typo in Mac/README
2010-03-09 10:36:28 +00:00
Ronald Oussoren 668907df50 I shall not rush commits....
I shall not rush commits....
I shall not rush commits....
I shall not rush commits....

This actually fixes issue 8067, previous commit for this
issue was broken.
2010-03-08 18:21:19 +00:00
Ronald Oussoren 0941621106 Fix for issue 8084: fixes build issues on OSX 10.6 when targetting OSX 10.4 2010-03-08 07:00:08 +00:00
Benjamin Peterson 726b482e11 Merged revisions 78467 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78467 | ezio.melotti | 2010-02-26 18:05:42 -0600 (Fri, 26 Feb 2010) | 1 line

  Show an error when the value passed to --enable-unicode is not ucs2 or ucs4 (lowercase).
........
2010-02-27 00:15:23 +00:00
Martin v. Löwis 4c5e2c8e98 Merged revisions 78202 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78202 | martin.v.loewis | 2010-02-15 22:41:12 +0100 (Mo, 15 Feb 2010) | 2 lines

  Issue #7903: Define _BSD_SOURCE through OpenBSD 4.9.
........
2010-02-15 21:43:41 +00:00
Martin v. Löwis 4bacacac5c Merged revisions 78194 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78194 | martin.v.loewis | 2010-02-15 09:32:00 +0100 (Mo, 15 Feb 2010) | 2 lines

  Issue #3920: Define _BSD_SOURCE on OpenBSD 4.4.
........
2010-02-15 08:34:34 +00:00
Ronald Oussoren 25e192cc5f Merged revisions 78154 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78154 | ronald.oussoren | 2010-02-11 14:26:54 +0100 (Thu, 11 Feb 2010) | 2 lines

  Finish fix for issue 7715, after explicit search for calls to `arch`
........
2010-02-11 13:27:59 +00:00
Ronald Oussoren d8244f5cdd Explicitly call '/usr/bin/arch' instead of just 'arch' to avoid using
a user-installed version of arch instead of the intended version. This is
needed because the interface of GNU arch is not quite compatible with what
the build machinery expects.

Fixes issue #7715 (backport from the trunk)
2010-02-11 13:22:03 +00:00
Ronald Oussoren 9b831f4acc Merged revisions 77587 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77587 | ronald.oussoren | 2010-01-17 20:27:57 +0100 (Sun, 17 Jan 2010) | 8 lines

  This patch ensures that the configure-script mentions checking for --enable-universalsdk
  and that it doesn't default to the 10.4u SDK when that SDK does not exist.

  (This affects OSX)

  This patch should fix most of issue 4834, although I haven't gotten enough
  information from the user to be sure.
........
2010-02-07 11:57:14 +00:00
Ronald Oussoren c0fa2d24eb Fix for issue 7714 (backport from trunk) 2010-02-07 11:50:54 +00:00
Benjamin Peterson b453f0babb Merged revisions 76050 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76050 | gregory.p.smith | 2009-11-01 19:37:37 -0600 (Sun, 01 Nov 2009) | 5 lines

  see http://bugs.python.org/issue1006238 this merges in the following
  patch to make cross compilation of the chflags check easier:

   http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/python/files/python-2.6-chflags-cross.patch?rev=1.1
........
2010-01-30 19:51:50 +00:00
Mark Dickinson caa44c057a Merged revisions 77193 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77193 | mark.dickinson | 2009-12-31 21:11:48 +0000 (Thu, 31 Dec 2009) | 1 line

  More configure fixes: avoid sh 'integer argument expected' error when 'long long' type doesn't exist.
........
2009-12-31 21:20:06 +00:00
Ronald Oussoren 5511442f78 Merged revisions 76403 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76403 | ronald.oussoren | 2009-11-19 17:25:21 +0100 (Thu, 19 Nov 2009) | 14 lines

  Fix for issue #7085

  On MacOSX 10.6 the CoreFoundation framework must be initialized on the main
  thread, the constructor function in that framework will cause an SIGABRT when
  it is called on any other thread.

  Because a number of extension link (indirectly) to CoreFoundation and the
  Python core itself didn't the interpreter crashed when importing some
  extensions, such as _locale, on a secondary thread.

  This fix ensures that Python is linked to CoreFoundation on OSX, which results
  in the CoreFoundation constructor being called when Python is loaded. This
  does not require code changes.
........
2009-11-19 16:37:33 +00:00
Antoine Pitrou 632e93fb40 Merged revisions 75531,75725 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75531 | antoine.pitrou | 2009-10-19 20:17:18 +0200 (lun., 19 oct. 2009) | 4 lines

  Issue #5833: Fix extra space character in readline completion with the
  GNU readline library version 6.0.
........
  r75725 | antoine.pitrou | 2009-10-26 20:16:46 +0100 (lun., 26 oct. 2009) | 4 lines

  Some platforms have rl_completion_append_character but not rl_completion_suppress_append.
  Reported by Mark D.
........
2009-10-27 12:30:12 +00:00
Ronald Oussoren d08417182f Merged revisions 75131 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75131 | ronald.oussoren | 2009-09-29 15:00:44 +0200 (Tue, 29 Sep 2009) | 8 lines

  * Update the Mac/README file. Add the list of OSX-specific configure options
    to that README file with some explanation.

  * Be more strict in the configure script: complain loudly when the user has
    specified invalid combinations of OSX-specific configure arguments.

    The error message refers to the Mac/README file for more information.
........
2009-09-29 13:01:59 +00:00
Ronald Oussoren ba0aa6b544 Merged revisions 74978 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74978 | ronald.oussoren | 2009-09-20 22:05:44 +0200 (Sun, 20 Sep 2009) | 2 lines

  Fix typo in error message
........
2009-09-20 20:16:38 +00:00
Ronald Oussoren 7ab74358ee Merged revisions 74701 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74701 | ronald.oussoren | 2009-09-07 08:12:00 +0200 (Mon, 07 Sep 2009) | 2 lines

  Fix typo in configure.in
........
2009-09-08 07:10:07 +00:00
Ronald Oussoren 461f2205cc Merged revisions 74672 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74672 | ronald.oussoren | 2009-09-06 12:00:26 +0200 (Sun, 06 Sep 2009) | 1 line

  Fix build issues on OSX 10.6 (issue 6802)
........
2009-09-06 10:54:28 +00:00
Ronald Oussoren e6e62678d9 Merged revisions 73305 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73305 | ronald.oussoren | 2009-06-08 14:12:41 -0700 (Mon, 08 Jun 2009) | 4 lines

  This is a fix for Issue5809: you shouldn't specify both --enable-framework and
  --enable-shared
........
2009-06-08 21:19:36 +00:00
Benjamin Peterson 2eb65457a8 Merged revisions 72871-72872 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72871 | benjamin.peterson | 2009-05-23 14:24:37 -0500 (Sat, 23 May 2009) | 1 line

  support building with subversion 1.7 #6094
........
  r72872 | benjamin.peterson | 2009-05-23 14:31:02 -0500 (Sat, 23 May 2009) | 1 line

  reorder name
........
2009-05-23 19:35:33 +00:00
Mark Dickinson e05e8409e1 Issue #5724: Fix cmath failures on Solaris 10. 2009-05-04 13:30:43 +00:00
Ronald Oussoren 75d838532b Merged revisions 70730 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r70730 | ronald.oussoren | 2009-03-30 12:53:39 -0500 (Mon, 30 Mar 2009) | 3 lines

  Fix issue where 'make altinstall' or 'make install' would install everything
  that needs to be installed on OSX (depending on the configure flags)
........
2009-03-30 17:56:14 +00:00
Georg Brandl c04c2890c7 Merged revisions 68292,68344,68361,68378,68424,68426,68429-68430,68450,68457,68480-68481,68493,68495,68499,68501,68512,68514-68515 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r68292 | skip.montanaro | 2009-01-04 11:36:58 +0100 (So, 04 Jan 2009) | 3 lines

  If user configures --without-gcc give preference to $CC instead of blindly
  assuming the compiler will be "cc".
........
  r68344 | marc-andre.lemburg | 2009-01-05 20:43:35 +0100 (Mo, 05 Jan 2009) | 7 lines

  Fix #4846 (Py_UNICODE_ISSPACE causes linker error) by moving the declaration
  into the extern "C" section.

  Add a few more comments and apply some minor edits to make the file contents
  fit the original structure again.
........
  r68361 | antoine.pitrou | 2009-01-06 19:34:08 +0100 (Di, 06 Jan 2009) | 3 lines

  Use shutil.rmtree rather than os.rmdir.
........
  r68378 | mark.dickinson | 2009-01-07 18:48:33 +0100 (Mi, 07 Jan 2009) | 2 lines

  Issue #4869: clarify documentation for random.expovariate.
........
  r68424 | benjamin.peterson | 2009-01-09 03:53:35 +0100 (Fr, 09 Jan 2009) | 1 line

  specify what -3 warnings are about
........
  r68426 | benjamin.peterson | 2009-01-09 04:03:05 +0100 (Fr, 09 Jan 2009) | 1 line

  fix spelling
........
  r68429 | benjamin.peterson | 2009-01-09 04:05:14 +0100 (Fr, 09 Jan 2009) | 1 line

  add -3 to manpage
........
  r68430 | benjamin.peterson | 2009-01-09 04:07:27 +0100 (Fr, 09 Jan 2009) | 1 line

  be more specific in -3 option help
........
  r68450 | jeffrey.yasskin | 2009-01-09 17:47:07 +0100 (Fr, 09 Jan 2009) | 3 lines

  Fix issue 4884, preventing a crash in the socket code when python is compiled
  with llvm-gcc and run with a glibc <2.10.
........
  r68457 | kristjan.jonsson | 2009-01-09 21:10:59 +0100 (Fr, 09 Jan 2009) | 1 line

  Issue 3677:  Fix import from UNC paths on Windows.
........
  r68480 | vinay.sajip | 2009-01-10 14:38:04 +0100 (Sa, 10 Jan 2009) | 1 line

  Minor documentation changes cross-referencing NullHandler to the documentation on configuring logging in a library.
........
  r68481 | vinay.sajip | 2009-01-10 14:42:04 +0100 (Sa, 10 Jan 2009) | 1 line

  Corrected an incorrect self-reference.
........
  r68493 | benjamin.peterson | 2009-01-10 18:18:55 +0100 (Sa, 10 Jan 2009) | 1 line

  rewrite verbose conditionals
........
  r68495 | benjamin.peterson | 2009-01-10 18:36:44 +0100 (Sa, 10 Jan 2009) | 1 line

  tp_iter only exists with Py_TPFLAGS_HAVE_ITER #4901
........
  r68499 | mark.dickinson | 2009-01-10 20:14:55 +0100 (Sa, 10 Jan 2009) | 2 lines

  Remove an unnecessary check from test_decimal.
........
  r68501 | vinay.sajip | 2009-01-10 20:22:57 +0100 (Sa, 10 Jan 2009) | 1 line

  Corrected minor typo and added .currentmodule directives to fix missing cross-references.
........
  r68512 | benjamin.peterson | 2009-01-10 23:42:10 +0100 (Sa, 10 Jan 2009) | 1 line

  make tests fail if they can't be imported
........
  r68514 | benjamin.peterson | 2009-01-11 00:41:59 +0100 (So, 11 Jan 2009) | 1 line

  move seealso to a more appropiate place
........
  r68515 | benjamin.peterson | 2009-01-11 00:49:08 +0100 (So, 11 Jan 2009) | 1 line

  macos 9 isn't supported
........
2009-01-14 00:00:17 +00:00
Mark Dickinson 8fe413119c Merged revisions 68312 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r68312 | mark.dickinson | 2009-01-04 20:19:41 +0000 (Sun, 04 Jan 2009) | 4 lines

  It's wrong to use AC_REPLACE_FUNCS for hypot, since there's no longer any
  Python/hypot.c replacement file.  Use AC_CHECK_FUNCS instead.  This change
  should be backported to 2.6 and 3.0.
........
2009-01-05 19:41:31 +00:00
Ronald Oussoren e9cce8e092 Backport of r68146 2009-01-02 10:46:42 +00:00
Georg Brandl 5c7f8fb7fd Merged revisions 67398,67423-67424,67432,67440-67441,67444-67445,67454,67457,67463 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r67398 | benjamin.peterson | 2008-11-26 18:39:17 +0100 (Wed, 26 Nov 2008) | 1 line

  fix typo in sqlite3 docs
........
  r67423 | jesse.noller | 2008-11-28 19:59:35 +0100 (Fri, 28 Nov 2008) | 2 lines

  issue4238: bsd support for cpu_count
........
  r67424 | christian.heimes | 2008-11-28 20:33:33 +0100 (Fri, 28 Nov 2008) | 1 line

  Retain copyright of processing examples. This was requested by a Debian maintainer during packaging of the multiprocessing package for 2.4/2.5
........
  r67432 | benjamin.peterson | 2008-11-29 00:18:46 +0100 (Sat, 29 Nov 2008) | 1 line

  SVN format 9 is the same it seems
........
  r67440 | jeremy.hylton | 2008-11-29 00:42:59 +0100 (Sat, 29 Nov 2008) | 4 lines

  Move definition int sval into branch of ifdef where it is used.

  Otherwise, you get a warning about an undefined variable.
........
  r67441 | jeremy.hylton | 2008-11-29 01:09:16 +0100 (Sat, 29 Nov 2008) | 2 lines

  Reflow long lines.
........
  r67444 | amaury.forgeotdarc | 2008-11-29 03:03:32 +0100 (Sat, 29 Nov 2008) | 2 lines

  Fix a small typo in docstring
........
  r67445 | benjamin.peterson | 2008-11-30 04:07:33 +0100 (Sun, 30 Nov 2008) | 1 line

  StringIO.close() stops you from using the buffer, too
........
  r67454 | benjamin.peterson | 2008-11-30 15:43:23 +0100 (Sun, 30 Nov 2008) | 1 line

  note the version that works
........
  r67457 | christian.heimes | 2008-11-30 22:16:28 +0100 (Sun, 30 Nov 2008) | 1 line

  w# requires Py_ssize_t
........
  r67463 | skip.montanaro | 2008-12-01 02:55:22 +0100 (Mon, 01 Dec 2008) | 1 line

  typo in comment
........
2008-12-05 09:00:55 +00:00
Georg Brandl 6061612b0e Merged revisions 67227 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r67227 | georg.brandl | 2008-11-16 09:00:17 +0100 (Sun, 16 Nov 2008) | 2 lines

  #4316: fix configure.in markup problem.
........
2008-11-16 08:02:56 +00:00
Martin v. Löwis 7f08c1f109 Merged revisions 67098 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r67098 | martin.v.loewis | 2008-11-04 21:40:09 +0100 (Di, 04 Nov 2008) | 2 lines

  Issue #4204: Fixed module build errors on FreeBSD 4.
........
2008-11-04 20:43:31 +00:00
Gregory P. Smith 29ec750a86 bugfix to r66283 (see issue #1204). 2008-09-07 19:18:16 +00:00
Gregory P. Smith 980b99b529 - Issue #1204: The configure script now tests for additional libraries
that may be required when linking against readline.  This fixes issues
  with x86_64 builds on some platforms (at least a few Linux flavors as
  well as OpenBSD/amd64).
2008-09-07 05:15:18 +00:00
Gregory P. Smith ff7b2d5ac6 Fix issue 3645: OpenBSD required -lcurses when linking with readline
to get the correct completion_matches function to avoid crashes on
x86_64 (amd64).

I don't have OpenBSD to test myself.  I tested that it does not break
anything on linux.  It is simple.
2008-09-03 05:57:48 +00:00
Ronald Oussoren a4cb472fb0 Fix typo in the `arch` commandline 2008-08-12 12:29:13 +00:00
Ronald Oussoren 5a849d4911 Fix buglet in fix for issue3381 2008-07-22 07:06:00 +00:00
Benjamin Peterson 4347c44f18 #3381 fix framework builds on 10.4 2008-07-17 15:59:24 +00:00
Benjamin Peterson 0e6ea5d715 fix framework install on Mac 10.4 2008-07-16 20:17:04 +00:00
Mark Dickinson dc1688adbf Fix typo in configure.in, and propagate configure.in changes from r64002
to configure and pyconfig.h.in.
2008-06-27 22:20:14 +00:00
Travis E. Oliphant 711c9e954e Add long double check support to configure test. 2008-06-06 22:33:21 +00:00
Ronald Oussoren 0d236eb05a Fix build issue on OSX 10.4 2008-06-06 21:31:33 +00:00
Neal Norwitz 2a3e3d0446 Aldo Cortesi confirmed this is still needed for OpenBSD 4.2 and 4.3.
(I didn't regen configure, since I don't have a working autoconf.)
2008-06-06 04:47:01 +00:00
Ronald Oussoren 5640ce2f1e MacOS X: Enable 4-way universal builds
This patch adds a new configure argument on OSX:
        --with-universal-archs=[32-bit|64-bit|all]

When used with the --enable-universalsdk option this controls which
CPU architectures are includes in the framework. The default is 32-bit,
meaning i386 and ppc. The most useful alternative is 'all', which includes
all 4 CPU architectures supported by MacOS X (i386, ppc, x86_64 and ppc64).

This includes limited support for the Carbon bindings in 64-bit mode as well,
limited because (a) I haven't done extensive testing and (b) a large portion
of the Carbon API's aren't available in 64-bit mode anyway.

I've also duplicated a feature of Apple's build of python: setting the
environment variable 'ARCHFLAGS' controls the '-arch' flags used for building
extensions using distutils.
2008-06-05 12:58:24 +00:00
Benjamin Peterson 8b12ee1072 fix typo (thank Georg) 2008-05-26 14:51:54 +00:00
Benjamin Peterson d7c778477e put a big note on configure.in asking people to run autoconf 2008-05-26 13:01:25 +00:00
Mark Dickinson 0b334a64f2 Revert temporary checkin in revision 63545. 2008-05-23 18:04:06 +00:00