[Python-checkins] python/dist/src configure.in,1.467,1.468

tmick at users.sourceforge.net tmick at users.sourceforge.net
Thu Aug 26 01:56:02 CEST 2004


Update of /cvsroot/python/python/dist/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31727

Modified Files:
	configure.in 
Log Message:
Apply patch #1016224: configure.in change to allow build of _bsddb module on
AIX 5.1.



Index: configure.in
===================================================================
RCS file: /cvsroot/python/python/dist/src/configure.in,v
retrieving revision 1.467
retrieving revision 1.468
diff -u -d -r1.467 -r1.468
--- configure.in	16 Aug 2004 11:35:50 -0000	1.467
+++ configure.in	25 Aug 2004 23:55:59 -0000	1.468
@@ -161,11 +161,16 @@
   # This should hopefully be fixed in FreeBSD 4.9
   FreeBSD/4.8* | Darwin/6* )
     define_xopen_source=no;;
-  # On AIX 4, mbstate_t is defined only when _XOPEN_SOURCE == 500 but used in
-  # wcsnrtombs() and mbsnrtowcs() even if _XOPEN_SOURCE is not defined or
-  # has another value. By not (re)defining it, the defaults come in place.
+  # On AIX 4 and 5.1, mbstate_t is defined only when _XOPEN_SOURCE == 500 but
+  # used in wcsnrtombs() and mbsnrtowcs() even if _XOPEN_SOURCE is not defined
+  # or has another value. By not (re)defining it, the defaults come in place.
   AIX/4)
     define_xopen_source=no;;
+  AIX/5)
+    if test `uname -r` -eq 1; then
+      define_xopen_source=no
+    fi
+    ;;
 esac
 
 if test $define_xopen_source = yes



More information about the Python-checkins mailing list