From 45140f97a66156d14105ceca03ee106303523d22 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Fri, 29 Aug 1997 18:44:06 +0000 Subject: Subtle changes to the AIX shared library things to make them work when building outside the source directory. Courtesy Donn Cave. --- configure | 6 +++--- configure.in | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/configure b/configure index 6625af1..a06ce33 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 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";; -- cgit v0.12