Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
58e28887
Commit
58e28887
authored
May 19, 2006
by
Neal Norwitz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug/Patch #1481770: Use .so extension for shared libraries on HP-UX for ia64.
I suppose this could be backported if anyone cares.
parent
5ef92244
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
41 additions
and
5 deletions
+41
-5
Misc/ACKS
Misc/ACKS
+1
-0
Misc/NEWS
Misc/NEWS
+2
-0
configure
configure
+20
-3
configure.in
configure.in
+15
-2
pyconfig.h.in
pyconfig.h.in
+3
-0
No files found.
Misc/ACKS
View file @
58e28887
...
...
@@ -189,6 +189,7 @@ Carey Evans
Stephen D Evans
Tim Everett
Paul Everitt
David Everly
Greg Ewing
Martijn Faassen
Andreas Faerber
...
...
Misc/NEWS
View file @
58e28887
...
...
@@ -81,6 +81,8 @@ Library
Build
-----
-
Bug
/
Patch
#
1481770
:
Use
.
so
extension
for
shared
libraries
on
HP
-
UX
for
ia64
.
-
Patch
#
1471883
:
Add
--
enable
-
universalsdk
.
C
API
...
...
configure
View file @
58e28887
#! /bin/sh
# From configure.in Revision: 4
5995
.
# From configure.in Revision: 4
6010
.
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.59 for python 2.5.
#
...
...
@@ -3387,7 +3387,14 @@ _ACEOF
INSTSONAME
=
"
$LDLIBRARY
"
.
$SOVERSION
;;
hp
*
|
HP
*
)
LDLIBRARY
=
'libpython$(VERSION).sl'
case
`
uname
-m
`
in
ia64
)
LDLIBRARY
=
'libpython$(VERSION).so'
;;
*
)
LDLIBRARY
=
'libpython$(VERSION).sl'
;;
esac
BLDLIBRARY
=
'-Wl,+b,$(LIBDIR) -L. -lpython$(VERSION)'
RUNSHARED
=
SHLIB_PATH
=
`
pwd
`
:
${
SHLIB_PATH
}
;;
...
...
@@ -10869,7 +10876,12 @@ echo $ECHO_N "checking SO... $ECHO_C" >&6
if
test
-z
"
$SO
"
then
case
$ac_sys_system
in
hp
*
|
HP
*
)
SO
=
.sl
;;
hp
*
|
HP
*
)
case
`
uname
-m
`
in
ia64
)
SO
=
.so
;;
*
)
SO
=
.sl
;;
esac
;;
CYGWIN
*
)
SO
=
.dll
;;
*
)
SO
=
.so
;;
esac
...
...
@@ -10887,6 +10899,11 @@ else
fi
echo
"
$as_me
:
$LINENO
: result:
$SO
"
>
&5
echo
"
${
ECHO_T
}
$SO
"
>
&6
cat
>>
confdefs.h
<<
_ACEOF
#define SHLIB_EXT "
$SO
"
_ACEOF
# LDSHARED is the ld *command* used to create shared library
# -- "cc -G" on SunOS 5.x, "ld -shared" on IRIX 5
# (Shared libraries in this instance are shared modules to be loaded into
...
...
configure.in
View file @
58e28887
...
...
@@ -611,7 +611,14 @@ if test $enable_shared = "yes"; then
INSTSONAME="$LDLIBRARY".$SOVERSION
;;
hp*|HP*)
LDLIBRARY='libpython$(VERSION).sl'
case `uname -m` in
ia64)
LDLIBRARY='libpython$(VERSION).so'
;;
*)
LDLIBRARY='libpython$(VERSION).sl'
;;
esac
BLDLIBRARY='-Wl,+b,$(LIBDIR) -L. -lpython$(VERSION)'
RUNSHARED=SHLIB_PATH=`pwd`:${SHLIB_PATH}
;;
...
...
@@ -1359,7 +1366,12 @@ AC_MSG_CHECKING(SO)
if test -z "$SO"
then
case $ac_sys_system in
hp*|HP*) SO=.sl;;
hp*|HP*)
case `uname -m` in
ia64) SO=.so;;
*) SO=.sl;;
esac
;;
CYGWIN*) SO=.dll;;
*) SO=.so;;
esac
...
...
@@ -1376,6 +1388,7 @@ else
sleep 10
fi
AC_MSG_RESULT($SO)
AC_DEFINE_UNQUOTED(SHLIB_EXT, "$SO", [Define this to be extension of shared libraries (including the dot!).])
# LDSHARED is the ld *command* used to create shared library
# -- "cc -G" on SunOS 5.x, "ld -shared" on IRIX 5
# (Shared libraries in this instance are shared modules to be loaded into
...
...
pyconfig.h.in
View file @
58e28887
...
...
@@ -754,6 +754,9 @@
/* Define if setpgrp() must be called as setpgrp(0, 0). */
#undef SETPGRP_HAVE_ARG
/* Define this to be extension of shared libraries (including the dot!). */
#undef SHLIB_EXT
/* Define if i>>j for signed int i does not extend the sign bit when i < 0 */
#undef SIGNED_RIGHT_SHIFT_ZERO_FILLS
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment