From: Guido van Rossum Date: Fri, 29 Aug 1997 18:44:06 +0000 (+0000) Subject: Subtle changes to the AIX shared library things to make them work X-Git-Tag: v1.5a4~284 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=45140f97a66156d14105ceca03ee106303523d22;p=python Subtle changes to the AIX shared library things to make them work when building outside the source directory. Courtesy Donn Cave. --- diff --git a/configure b/configure index 6625af1cf8..a06ce33348 100755 --- a/configure +++ b/configure @@ -1,6 +1,6 @@ #! /bin/sh -# From configure.in Revision: 1.63 +# From configure.in Revision: 1.64 # Guess values for system-dependent variables and create Makefiles. # Generated automatically using autoconf version 2.12 @@ -825,7 +825,7 @@ if test -z "$LINKCC" then case $ac_sys_system in AIX*) - LINKCC="makexp_aix python.exp \"\" \$(LIBRARY); \$(PURIFY) \$(CC)";; + LINKCC="\$(srcdir)/makexp_aix python.exp \"\" \$(LIBRARY); \$(PURIFY) \$(CC)";; *) LINKCC="\$(PURIFY) \$(CC)";; esac fi @@ -1746,7 +1746,7 @@ echo "configure:1746: checking LDSHARED" >&5 if test -z "$LDSHARED" then 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*/6*) LDSHARED="ld $SGI_ABI -shared -all"; OPT="$OPT $SGI_ABI";; SunOS/4*) LDSHARED="ld";; diff --git a/configure.in b/configure.in index 7acb9d5c30..efcb8b8f15 100644 --- a/configure.in +++ b/configure.in @@ -97,7 +97,7 @@ if test -z "$LINKCC" then case $ac_sys_system in AIX*) - LINKCC="makexp_aix python.exp \"\" \$(LIBRARY); \$(PURIFY) \$(CC)";; + LINKCC="\$(srcdir)/makexp_aix python.exp \"\" \$(LIBRARY); \$(PURIFY) \$(CC)";; *) LINKCC="\$(PURIFY) \$(CC)";; esac fi @@ -219,7 +219,7 @@ AC_MSG_CHECKING(LDSHARED) if test -z "$LDSHARED" then 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*/6*) LDSHARED="ld $SGI_ABI -shared -all"; OPT="$OPT $SGI_ABI";; SunOS/4*) LDSHARED="ld";;