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.
........
This commit is contained in:
Antoine Pitrou 2011-01-02 19:38:30 +00:00
parent beef5dcf77
commit f1cc81a97d
4 changed files with 13 additions and 7 deletions

View file

@ -393,6 +393,7 @@ Fredrik Johansson
Gregory K. Johnson
Simon Johnston
Thomas Jollans
Nicolas Joly
Evan Jones
Jeremy Jones
Richard Jones

View file

@ -86,6 +86,12 @@ Extensions
- Issue #678250: Make mmap flush a noop on ACCESS_READ and ACCESS_COPY.
Build
-----
- Issue #10475: Don't hardcode compilers for LDSHARED/LDCXXSHARED on NetBSD
and DragonFly BSD. Patch by Nicolas Joly.
Tests
-----

11
configure vendored
View file

@ -1,5 +1,5 @@
#! /bin/sh
# From configure.in Revision: 86044 .
# From configure.in Revision: 86752 .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.65 for python 3.1.
#
@ -757,8 +757,7 @@ CFLAGS
LDFLAGS
LIBS
CPPFLAGS
CPP
CPPFLAGS'
CPP'
# Initialize some variables set by options.
@ -7564,7 +7563,7 @@ then
;;
esac
fi;;
NetBSD*|DragonFly*) LDSHARED="cc -shared ${LDFLAGS}";;
NetBSD*|DragonFly*) LDSHARED="$(CC) -shared ${LDFLAGS}";;
OpenUNIX*|UnixWare*)
if test "$GCC" = "yes"
then LDSHARED='$(CC) -shared'
@ -13923,8 +13922,8 @@ esac
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
# Files that config.status was made for.
config_files="$ac_config_files"
config_headers="$ac_config_headers"
config_files="`echo $ac_config_files`"
config_headers="`echo $ac_config_headers`"
_ACEOF

View file

@ -1814,7 +1814,7 @@ then
;;
esac
fi;;
NetBSD*|DragonFly*) LDSHARED="cc -shared ${LDFLAGS}";;
NetBSD*|DragonFly*) LDSHARED="$(CC) -shared ${LDFLAGS}";;
OpenUNIX*|UnixWare*)
if test "$GCC" = "yes"
then LDSHARED='$(CC) -shared'