diff --git a/Python/dynload_aix.c b/Python/dynload_aix.c index 8d56d7d0089..149990d7995 100644 --- a/Python/dynload_aix.c +++ b/Python/dynload_aix.c @@ -12,7 +12,7 @@ #ifdef AIX_GENUINE_CPLUSPLUS -#include "/usr/lpp/xlC/include/load.h" +#include #define aix_load loadAndInit #else #define aix_load load diff --git a/configure b/configure index dbca957e864..63fae0f5ffb 100755 --- a/configure +++ b/configure @@ -1,5 +1,5 @@ #! /bin/sh -# From configure.in Revision: 88350 . +# From configure.in Revision: 88426 . # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.68 for python 3.2. # @@ -7890,7 +7890,7 @@ $as_echo_n "checking for genuine AIX C++ extensions support... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ - #include "/usr/lpp/xlC/include/load.h" + #include int main () { diff --git a/configure.in b/configure.in index d4d33b5d265..26d4f6c3feb 100644 --- a/configure.in +++ b/configure.in @@ -1912,7 +1912,7 @@ AC_CHECK_LIB(intl, textdomain, case "$ac_sys_system" in AIX*) AC_MSG_CHECKING(for genuine AIX C++ extensions support) AC_LINK_IFELSE([ - AC_LANG_PROGRAM([[#include "/usr/lpp/xlC/include/load.h"]], + AC_LANG_PROGRAM([[#include ]], [[loadAndInit("", 0, "")]]) ],[ AC_DEFINE(AIX_GENUINE_CPLUSPLUS, 1,