#730467: Another small AIX fix.

This commit is contained in:
Georg Brandl 2011-02-15 19:48:59 +00:00
parent 9a829bed97
commit 59e87bd251
3 changed files with 4 additions and 4 deletions

View File

@ -12,7 +12,7 @@
#ifdef AIX_GENUINE_CPLUSPLUS #ifdef AIX_GENUINE_CPLUSPLUS
#include "/usr/lpp/xlC/include/load.h" #include <load.h>
#define aix_load loadAndInit #define aix_load loadAndInit
#else #else
#define aix_load load #define aix_load load

4
configure vendored
View File

@ -1,5 +1,5 @@
#! /bin/sh #! /bin/sh
# From configure.in Revision: 88350 . # From configure.in Revision: 88426 .
# Guess values for system-dependent variables and create Makefiles. # Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.68 for python 3.2. # 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 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */ /* end confdefs.h. */
#include "/usr/lpp/xlC/include/load.h" #include <load.h>
int int
main () main ()
{ {

View File

@ -1912,7 +1912,7 @@ AC_CHECK_LIB(intl, textdomain,
case "$ac_sys_system" in case "$ac_sys_system" in
AIX*) AC_MSG_CHECKING(for genuine AIX C++ extensions support) AIX*) AC_MSG_CHECKING(for genuine AIX C++ extensions support)
AC_LINK_IFELSE([ AC_LINK_IFELSE([
AC_LANG_PROGRAM([[#include "/usr/lpp/xlC/include/load.h"]], AC_LANG_PROGRAM([[#include <load.h>]],
[[loadAndInit("", 0, "")]]) [[loadAndInit("", 0, "")]])
],[ ],[
AC_DEFINE(AIX_GENUINE_CPLUSPLUS, 1, AC_DEFINE(AIX_GENUINE_CPLUSPLUS, 1,