From 53e73c36ee52a646f4460f82fbcbd1fd36e188a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20v=2E=20L=C3=B6wis?= Date: Mon, 5 May 2003 05:13:18 +0000 Subject: [PATCH] Patch #732284: Disable _XOPEN_SOURCE on UnixWare 7. --- configure | 6 +++++- configure.in | 4 ++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/configure b/configure index d5cc892b361..31f7ae63a26 100755 --- 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 diff --git a/configure.in b/configure.in index fdda1f75145..5918bb0feaf 100644 --- a/configure.in +++ b/configure.in @@ -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