Subtle changes to the AIX shared library things to make them work

when building outside the source directory.  Courtesy Donn Cave.
This commit is contained in:
Guido van Rossum 1997-08-29 18:44:06 +00:00
parent cf0be04b2c
commit 45140f97a6
2 changed files with 5 additions and 5 deletions

6
configure vendored
View File

@ -1,6 +1,6 @@
#! /bin/sh #! /bin/sh
# From configure.in Revision: 1.63 # From configure.in Revision: 1.64
# Guess values for system-dependent variables and create Makefiles. # Guess values for system-dependent variables and create Makefiles.
# Generated automatically using autoconf version 2.12 # Generated automatically using autoconf version 2.12
@ -825,7 +825,7 @@ if test -z "$LINKCC"
then then
case $ac_sys_system in case $ac_sys_system in
AIX*) AIX*)
LINKCC="makexp_aix python.exp \"\" \$(LIBRARY); \$(PURIFY) \$(CC)";; LINKCC="\$(srcdir)/makexp_aix python.exp \"\" \$(LIBRARY); \$(PURIFY) \$(CC)";;
*) LINKCC="\$(PURIFY) \$(CC)";; *) LINKCC="\$(PURIFY) \$(CC)";;
esac esac
fi fi
@ -1746,7 +1746,7 @@ echo "configure:1746: checking LDSHARED" >&5
if test -z "$LDSHARED" if test -z "$LDSHARED"
then then
case $ac_sys_system/$ac_sys_release in case $ac_sys_system/$ac_sys_release in
AIX*) LDSHARED="ld_so_aix \$(CC)";; AIX*) LDSHARED="\$(srcdir)/ld_so_aix \$(CC)";;
IRIX/5*) LDSHARED="ld -shared";; IRIX/5*) LDSHARED="ld -shared";;
IRIX*/6*) LDSHARED="ld $SGI_ABI -shared -all"; OPT="$OPT $SGI_ABI";; IRIX*/6*) LDSHARED="ld $SGI_ABI -shared -all"; OPT="$OPT $SGI_ABI";;
SunOS/4*) LDSHARED="ld";; SunOS/4*) LDSHARED="ld";;

View File

@ -97,7 +97,7 @@ if test -z "$LINKCC"
then then
case $ac_sys_system in case $ac_sys_system in
AIX*) AIX*)
LINKCC="makexp_aix python.exp \"\" \$(LIBRARY); \$(PURIFY) \$(CC)";; LINKCC="\$(srcdir)/makexp_aix python.exp \"\" \$(LIBRARY); \$(PURIFY) \$(CC)";;
*) LINKCC="\$(PURIFY) \$(CC)";; *) LINKCC="\$(PURIFY) \$(CC)";;
esac esac
fi fi
@ -219,7 +219,7 @@ AC_MSG_CHECKING(LDSHARED)
if test -z "$LDSHARED" if test -z "$LDSHARED"
then then
case $ac_sys_system/$ac_sys_release in case $ac_sys_system/$ac_sys_release in
AIX*) LDSHARED="ld_so_aix \$(CC)";; AIX*) LDSHARED="\$(srcdir)/ld_so_aix \$(CC)";;
IRIX/5*) LDSHARED="ld -shared";; IRIX/5*) LDSHARED="ld -shared";;
IRIX*/6*) LDSHARED="ld $SGI_ABI -shared -all"; OPT="$OPT $SGI_ABI";; IRIX*/6*) LDSHARED="ld $SGI_ABI -shared -all"; OPT="$OPT $SGI_ABI";;
SunOS/4*) LDSHARED="ld";; SunOS/4*) LDSHARED="ld";;