]> granicus.if.org Git - python/commitdiff
Subtle changes to the AIX shared library things to make them work
authorGuido van Rossum <guido@python.org>
Fri, 29 Aug 1997 18:44:06 +0000 (18:44 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 29 Aug 1997 18:44:06 +0000 (18:44 +0000)
when building outside the source directory.  Courtesy Donn Cave.

configure
configure.in

index 6625af1cf8051c060aa582802b7f9900ec5dbb41..a06ce333485bafcbf72d8376519794d963522b3c 100755 (executable)
--- 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";;
index 7acb9d5c3014e1d9d6544f4477b21db751282cb0..efcb8b8f151e5c35d73646b9e54d843017efeb3e 100644 (file)
@@ -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";;