]> granicus.if.org Git - python/commitdiff
Patch #732284: Disable _XOPEN_SOURCE on UnixWare 7.
authorMartin v. Löwis <martin@v.loewis.de>
Mon, 5 May 2003 05:13:18 +0000 (05:13 +0000)
committerMartin v. Löwis <martin@v.loewis.de>
Mon, 5 May 2003 05:13:18 +0000 (05:13 +0000)
configure
configure.in

index d5cc892b3612175ee4a6442fae271caae92bb871..31f7ae63a268e77ac61a0f42cc2b8fd1216d3d86 100755 (executable)
--- a/configure
+++ b/configure
@@ -1,5 +1,5 @@
 #! /bin/sh
-# From configure.in Revision: 1.405 .
+# From configure.in Revision: 1.406 .
 # Guess values for system-dependent variables and create Makefiles.
 # Generated by GNU Autoconf 2.53 for python 2.3.
 #
@@ -1354,6 +1354,10 @@ case $ac_sys_system/$ac_sys_release in
   # of union __?sigval. Reported by Stuart Bishop.
   SunOS/5.6)
     define_xopen_source=no;;
+  # On UnixWare 7, u_short is never defined with _XOPEN_SOURCE,
+  # but used in struct sockaddr.sa_family. Reported by Tim Rice.
+  OpenUNIX/8.0| UnixWare/7.1.[13])
+    define_xopen_source=no;;
 esac
 
 if test $define_xopen_source = yes
index fdda1f75145d263610c8344209346be51cec04b4..5918bb0feaf570e302abcb7d9d47526f82bcfcd6 100644 (file)
@@ -129,6 +129,10 @@ case $ac_sys_system/$ac_sys_release in
   # of union __?sigval. Reported by Stuart Bishop.
   SunOS/5.6)
     define_xopen_source=no;;
+  # On UnixWare 7, u_short is never defined with _XOPEN_SOURCE,
+  # but used in struct sockaddr.sa_family. Reported by Tim Rice.
+  OpenUNIX/8.0| UnixWare/7.1.@<:@13@:>@)
+    define_xopen_source=no;;
 esac
 
 if test $define_xopen_source = yes