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.in b/configure.in
index 7acb9d5..efcb8b8 100644
--- a/configure.in
+++ b/configure.in
@@ -97,7 +97,7 @@
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 @@
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";;