From 59e87bd2515be932f39167b3a8302d3ba4b9de35 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Tue, 15 Feb 2011 19:48:59 +0000 Subject: [PATCH] #730467: Another small AIX fix. --- Python/dynload_aix.c | 2 +- configure | 4 ++-- configure.in | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Python/dynload_aix.c b/Python/dynload_aix.c index 8d56d7d008..149990d799 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 dbca957e86..63fae0f5ff 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 d4d33b5d26..26d4f6c3fe 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, -- 2.40.0