--- configure.in.orig 2006-02-17 09:39:55.000000000 +0100 +++ configure.in 2006-08-17 11:09:15.000000000 +0200 @@ -499,7 +499,7 @@ exp_extra="\"\"" if test $ac_sys_release -ge 5 -o \ $ac_sys_release -eq 4 -a `uname -r` -ge 2 ; then - exp_extra="." + exp_extra=".." fi LINKCC="\$(srcdir)/Modules/makexp_aix Modules/python.exp $exp_extra \$(LIBRARY); $LINKCC";; Monterey64*) @@ -563,6 +563,10 @@ if test $enable_shared = "yes"; then AC_DEFINE(Py_ENABLE_SHARED, 1, [Defined if Python is built as a shared library.]) case $ac_sys_system in + AIX*) + LDLIBRARY='libpython$(VERSION).so' + RUNSHARED=LIBPATH=`pwd`:${LIBPATH} + ;; BeOS*) LDLIBRARY='libpython$(VERSION).so' ;;