diff options
author | Thomas Heller <theller@ctypes.org> | 2008-04-04 10:18:23 (GMT) |
---|---|---|
committer | Thomas Heller <theller@ctypes.org> | 2008-04-04 10:18:23 (GMT) |
commit | f44b9a1ac2cef6c0dd837c06a0090bd220e91c7d (patch) | |
tree | d921578712bf51fdfed0ae7368865b00a2b941d2 /configure | |
parent | 5314068a260dc4b688f414f5349847624e963976 (diff) | |
download | cpython-f44b9a1ac2cef6c0dd837c06a0090bd220e91c7d.zip cpython-f44b9a1ac2cef6c0dd837c06a0090bd220e91c7d.tar.gz cpython-f44b9a1ac2cef6c0dd837c06a0090bd220e91c7d.tar.bz2 |
Merged revisions 62145 via svnmerge from
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.
........
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -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' |