[Python-checkins] r62145 - in python/trunk: Misc/NEWS configure configure.in
thomas.heller
python-checkins at python.org
Fri Apr 4 12:08:07 CEST 2008
Author: thomas.heller
Date: Fri Apr 4 12:07:55 2008
New Revision: 62145
Modified:
python/trunk/Misc/NEWS
python/trunk/configure
python/trunk/configure.in
Log:
Issue #2544: On HP-UX systems, use 'gcc -shared' for linking when gcc
is used as compiler.
Modified: python/trunk/Misc/NEWS
==============================================================================
--- python/trunk/Misc/NEWS (original)
+++ python/trunk/Misc/NEWS Fri Apr 4 12:07:55 2008
@@ -28,6 +28,9 @@
Build
-----
+- Issue #2544: On HP-UX systems, use 'gcc -shared' for linking when
+ gcc is used as compiler.
+
C API
-----
Modified: python/trunk/configure
==============================================================================
--- python/trunk/configure (original)
+++ python/trunk/configure Fri Apr 4 12:07:55 2008
@@ -1,5 +1,5 @@
#! /bin/sh
-# From configure.in Revision: 61847 .
+# From configure.in Revision: 61992 .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.61 for python 2.6.
#
@@ -12417,7 +12417,11 @@
then LDSHARED='$(CC) -shared'
else LDSHARED='$(CC) -G';
fi ;;
- hp*|HP*) LDSHARED="ld -b";;
+ hp*|HP*)
+ if test "$GCC" = "yes"
+ then LDSHARED='$(CC) -shared'
+ else LDSHARED='ld -b';
+ fi ;;
OSF*) LDSHARED="ld -shared -expect_unresolved \"*\"";;
Darwin/1.3*)
LDSHARED='$(CC) $(LDFLAGS) -bundle'
Modified: python/trunk/configure.in
==============================================================================
--- python/trunk/configure.in (original)
+++ python/trunk/configure.in Fri Apr 4 12:07:55 2008
@@ -1485,7 +1485,11 @@
then LDSHARED='$(CC) -shared'
else LDSHARED='$(CC) -G';
fi ;;
- hp*|HP*) LDSHARED="ld -b";;
+ hp*|HP*)
+ if test "$GCC" = "yes"
+ then LDSHARED='$(CC) -shared'
+ else LDSHARED='ld -b';
+ fi ;;
OSF*) LDSHARED="ld -shared -expect_unresolved \"*\"";;
Darwin/1.3*)
LDSHARED='$(CC) $(LDFLAGS) -bundle'
More information about the Python-checkins
mailing list