]> granicus.if.org Git - python/commitdiff
#730467: Another small AIX fix.
authorGeorg Brandl <georg@python.org>
Tue, 15 Feb 2011 19:48:59 +0000 (19:48 +0000)
committerGeorg Brandl <georg@python.org>
Tue, 15 Feb 2011 19:48:59 +0000 (19:48 +0000)
Python/dynload_aix.c
configure
configure.in

index 8d56d7d00890946404945c2c684cf7743f9d506a..149990d799507f99a65663947b013abf3183e163 100644 (file)
@@ -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
index dbca957e864e67f7ae1c9908eca604d15d5f3f9c..63fae0f5ffbcd9524e19e444c940d0fde3259769 100755 (executable)
--- 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 <load.h>
 int
 main ()
 {
index d4d33b5d265a7bb645bd3fb9d8de6c1318025d4c..26d4f6c3febea0b62422557d44e1074717b42d35 100644 (file)
@@ -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,