mirror of
https://github.com/python/cpython.git
synced 2024-11-24 18:34:43 +08:00
#730467: Another small AIX fix.
This commit is contained in:
parent
9a829bed97
commit
59e87bd251
@ -12,7 +12,7 @@
|
||||
|
||||
|
||||
#ifdef AIX_GENUINE_CPLUSPLUS
|
||||
#include "/usr/lpp/xlC/include/load.h"
|
||||
#include <load.h>
|
||||
#define aix_load loadAndInit
|
||||
#else
|
||||
#define aix_load load
|
||||
|
4
configure
vendored
4
configure
vendored
@ -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 <load.h>
|
||||
int
|
||||
main ()
|
||||
{
|
||||
|
@ -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 <load.h>]],
|
||||
[[loadAndInit("", 0, "")]])
|
||||
],[
|
||||
AC_DEFINE(AIX_GENUINE_CPLUSPLUS, 1,
|
||||
|
Loading…
Reference in New Issue
Block a user