Resolv.h detection in configure [fix]

Pierre d'Herbemont stegefin at free.fr
Thu Oct 23 12:59:35 CDT 2003


Oops, should have been arpa/nameser.h and not sys/nameser.h.
Sorry.

Pierre.

-------------- next part --------------
Index: configure.ac
===================================================================
RCS file: /home/wine/wine/configure.ac,v
retrieving revision 1.192
diff -u -r1.192 configure.ac
--- configure.ac	16 Oct 2003 05:16:05 -0000	1.192
+++ configure.ac	23 Oct 2003 17:32:19 -0000
@@ -1088,11 +1088,11 @@
 
 AC_CHECK_HEADERS([resolv.h],,,
     [#include <sys/types.h>
-     #if HAVE_SYS_SOCKET_H
-     # include <sys/socket.h>
-     #endif
      #if HAVE_NETINET_IN_H
      # include <netinet/in.h>
+     #endif
+     #if HAVE_ARPA_NAMESER_H
+     # include <arpa/nameser.h>
      #endif])
 
 AC_CHECK_HEADERS(netinet/ip.h,,,
-------------- next part --------------


Le jeudi, 23 oct 2003, ? 19:34 Europe/Paris, Pierre d'Herbemont a ?crit  
:

> Hi!
>
> According to :
> http://support.sas.com/documentation/onlinedoc/sasc/doc700/html/lr2/ 
> zr2bsdhf.htm
> resolv.h needs sys/types, netinet/in.h and arpa/nameser.h to be  
> included first (and not sys/socket.h). it does not work on darwin if  
> those headers are not included.
>
> Thanks,
>
> Pierre
>
> ChangeLog:
> <resolv.h> needs <sys/types>, <netinet/in.h> and <arpa/nameser.h> to  
> be included first
>




More information about the wine-patches mailing list