Re: Resolv.h detection in configure [fix]

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

 



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

Pierre.

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,,,


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





[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux