diff options
author | Guido van Rossum <guido@python.org> | 1997-08-29 18:44:06 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1997-08-29 18:44:06 (GMT) |
commit | 45140f97a66156d14105ceca03ee106303523d22 (patch) | |
tree | 51f3925c21e742cfb8eb2f40ddb75982c17544a3 | |
parent | cf0be04b2c07436a155792018ef1376b35f3456f (diff) | |
download | cpython-45140f97a66156d14105ceca03ee106303523d22.zip cpython-45140f97a66156d14105ceca03ee106303523d22.tar.gz cpython-45140f97a66156d14105ceca03ee106303523d22.tar.bz2 |
Subtle changes to the AIX shared library things to make them work
when building outside the source directory. Courtesy Donn Cave.
-rwxr-xr-x | configure | 6 | ||||
-rw-r--r-- | configure.in | 4 |
2 files changed, 5 insertions, 5 deletions
@@ -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 7acb9d5..efcb8b8 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";; |