Subject: wine980118's configure
To: None <port-i386@NetBSD.ORG>
From: Michael C. Richardson <mcr@sandelman.ottawa.on.ca>
List: port-i386
Date: 01/20/1998 00:28:28
 
  From the config.log:

configure:2074: checking for union semun
configure:2086: gcc -c -g -O2  conftest.c 1>&5
In file included from /usr/include/sys/sem.h:12,
                 from configure:2080:
/usr/include/sys/ipc.h:55: syntax error before `ushort'
In file included from /usr/include/sys/sem.h:12,
                 from configure:2080:
/usr/include/sys/ipc.h:93: syntax error before `ftok'
/usr/include/sys/ipc.h:93: warning: data definition has no type or storage class
In file included from configure:2080:
/usr/include/sys/sem.h:15: syntax error before `u_short'
/usr/include/sys/sem.h:24: syntax error before `u_short'
/usr/include/sys/sem.h:27: syntax error before `time_t'
/usr/include/sys/sem.h:38: syntax error before `u_short'
/usr/include/sys/sem.h:52: syntax error before `u_short'
/usr/include/sys/sem.h:171: syntax error before `int'
/usr/include/sys/sem.h:172: syntax error before `u_int'
configure: failed program was:
#line 2079 "configure"
#include "confdefs.h"
#include <sys/sem.h>
int main() {
union semun foo
; return 0; }


  Now, arguably, you should make the right includes, but perhaps sys/sem.h
should check for sys/types.h and include it if needed?

   :!mcr!:            |  Sandelman Software Works Corporation, Ottawa, ON  
   Michael Richardson |Network and security consulting and contract programming
 Personal: mcr@sandelman.ottawa.on.ca. PGP key available.
 Corporate: sales@sandelman.ottawa.on.ca.