bug-autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: BUG in GNU autoconf (WineX)


From: Akim Demaille
Subject: Re: BUG in GNU autoconf (WineX)
Date: Tue, 06 May 2003 18:04:14 +0200
User-agent: Gnus/5.1001 (Gnus v5.10.1) Emacs/21.3 (gnu/linux)

| Hello,
| I have attached the logs of the run of GNU autoconf
| in Transgaming WineX CVS 2003-03-29, within the MirBSD
| ports tree.
| 
| MirBSD is quasi OpenBSD/i386 on ELF instead of a.out.
| 
| Note: I had to fix another bug
|  - "checking for GNU-style IPX support"
| This uses <sys/socket.h> but that can only succeed if
| <sys/param.h> is included:
| 
| --- configure.orig    Sun Mar  9 18:37:58 2003
| +++ configure Tue Apr  8 11:32:01 2003
| @@ -9983,6 +9986,9 @@ _ACEOF
|  cat confdefs.h >>conftest.$ac_ext
|  cat >>conftest.$ac_ext <<_ACEOF
|  /* end confdefs.h.  */
| +#ifdef __OpenBSD__
| +#include <sys/param.h>
| +#endif
|  #include <sys/socket.h>
|      #include <netipx/ipx.h>
|  int
| @@ -10040,6 +10046,9 @@ _ACEOF
|  cat confdefs.h >>conftest.$ac_ext
|  cat >>conftest.$ac_ext <<_ACEOF
|  /* end confdefs.h.  */
| +#ifdef __OpenBSD__
| +#include <sys/param.h>
| +#endif
|  #include <sys/socket.h>
|       #include <asm/types.h>
|       #include <linux/ipx.h>
| @@ -14331,6 +14340,10 @@ cat >>conftest.$ac_ext <<_ACEOF
| 
|  #include <netdb.h>
| 
| +#ifdef __OpenBSD__
| +#error Nope, we are not GNU/Linux, damnit!
| +#endif
| +
|  int
|  main ()
|  {
| 
| 
| Please tell me if I can help you further, e.g. by giving you more
| information, testing ReWind instead of WineX, testing patches sent
| by you...
| 
| Thanks in advance,
| //Thorsten

Thanks for the detailed analysis!  It is just slightly unclear to me
when param.h is required.  Is it required for sys/socket.h?  What is
the smallest set of #include to have sys/socket.h compile?  Thanks a
lot!




reply via email to

[Prev in Thread] Current Thread [Next in Thread]