]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Merged revisions 62145 via svnmerge from
authorThomas Heller <theller@ctypes.org>
Fri, 4 Apr 2008 10:18:23 +0000 (10:18 +0000)
committerThomas Heller <theller@ctypes.org>
Fri, 4 Apr 2008 10:18:23 +0000 (10:18 +0000)
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r62145 | thomas.heller | 2008-04-04 12:07:55 +0200 (Fri, 04 Apr 2008) | 3 lines

  Issue #2544: On HP-UX systems, use 'gcc -shared' for linking when gcc
  is used as compiler.
........

Misc/NEWS
configure
configure.in

index 14fa793f7d74f7c6140240f7d4da630d291a1cc8..04685304573d308401eb5deae1299e06c522c950 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -18,6 +18,11 @@ Extension Modules
 Library
 -------
 
+Build
+-----
+
+- Issue #2544: On HP-UX systems, use 'gcc -shared' for linking when
+  gcc is used as compiler.
 
 What's New in Python 3.0a4?
 ===========================
index 37d97260df14a203f303315210566d1589a66187..0e9e7bbabdd75e1f208e4f1b00e5a345208721af 100755 (executable)
--- a/configure
+++ b/configure
@@ -1,5 +1,5 @@
 #! /bin/sh
-# From configure.in Revision: 61848 .
+# From configure.in Revision: 62003 .
 # Guess values for system-dependent variables and create Makefiles.
 # Generated by GNU Autoconf 2.61 for python 3.0.
 #
@@ -12846,7 +12846,11 @@ then
                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'
index dd96bbeb5ee6ec2313d8bbf5b103a59260bd15ea..a1c044f3a68c5ca3a9f4a4bae32795c251fc1f61 100644 (file)
@@ -1468,7 +1468,11 @@ then
                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'