Commit f1cc81a9 authored by Antoine Pitrou's avatar Antoine Pitrou

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.
........
parent beef5dcf
...@@ -393,6 +393,7 @@ Fredrik Johansson ...@@ -393,6 +393,7 @@ Fredrik Johansson
Gregory K. Johnson Gregory K. Johnson
Simon Johnston Simon Johnston
Thomas Jollans Thomas Jollans
Nicolas Joly
Evan Jones Evan Jones
Jeremy Jones Jeremy Jones
Richard Jones Richard Jones
......
...@@ -86,6 +86,12 @@ Extensions ...@@ -86,6 +86,12 @@ Extensions
- Issue #678250: Make mmap flush a noop on ACCESS_READ and ACCESS_COPY. - 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 Tests
----- -----
......
#! /bin/sh #! /bin/sh
# From configure.in Revision: 86044 . # From configure.in Revision: 86752 .
# Guess values for system-dependent variables and create Makefiles. # Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.65 for python 3.1. # Generated by GNU Autoconf 2.65 for python 3.1.
# #
...@@ -757,8 +757,7 @@ CFLAGS ...@@ -757,8 +757,7 @@ CFLAGS
LDFLAGS LDFLAGS
LIBS LIBS
CPPFLAGS CPPFLAGS
CPP CPP'
CPPFLAGS'
# Initialize some variables set by options. # Initialize some variables set by options.
...@@ -7564,7 +7563,7 @@ then ...@@ -7564,7 +7563,7 @@ then
;; ;;
esac esac
fi;; fi;;
NetBSD*|DragonFly*) LDSHARED="cc -shared ${LDFLAGS}";; NetBSD*|DragonFly*) LDSHARED="$(CC) -shared ${LDFLAGS}";;
OpenUNIX*|UnixWare*) OpenUNIX*|UnixWare*)
if test "$GCC" = "yes" if test "$GCC" = "yes"
then LDSHARED='$(CC) -shared' then LDSHARED='$(CC) -shared'
...@@ -13923,8 +13922,8 @@ esac ...@@ -13923,8 +13922,8 @@ esac
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
# Files that config.status was made for. # Files that config.status was made for.
config_files="$ac_config_files" config_files="`echo $ac_config_files`"
config_headers="$ac_config_headers" config_headers="`echo $ac_config_headers`"
_ACEOF _ACEOF
......
...@@ -1814,7 +1814,7 @@ then ...@@ -1814,7 +1814,7 @@ then
;; ;;
esac esac
fi;; fi;;
NetBSD*|DragonFly*) LDSHARED="cc -shared ${LDFLAGS}";; NetBSD*|DragonFly*) LDSHARED="$(CC) -shared ${LDFLAGS}";;
OpenUNIX*|UnixWare*) OpenUNIX*|UnixWare*)
if test "$GCC" = "yes" if test "$GCC" = "yes"
then LDSHARED='$(CC) -shared' then LDSHARED='$(CC) -shared'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment