From: Akim Demaille Date: Mon, 25 Aug 2003 06:29:48 +0000 (+0000) Subject: * doc/autoconf.texi (Header Portability): netinet/if_ether.h. X-Git-Tag: AUTOCONF-2.57c~27 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=550208e189c8e115ea6500deec866682bede2b25;p=thirdparty%2Fautoconf.git * doc/autoconf.texi (Header Portability): netinet/if_ether.h. From Ville Karaila. --- diff --git a/ChangeLog b/ChangeLog index fcbe5202..c0126250 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2003-08-25 Akim Demaille + + * doc/autoconf.texi (Header Portability): netinet/if_ether.h. + From Ville Karaila. + 2003-08-24 Akim Demaille * configure.ac: Bump to 2.57c. diff --git a/THANKS b/THANKS index 52acdeb9..c6a4bab0 100644 --- a/THANKS +++ b/THANKS @@ -194,6 +194,7 @@ Tom Yu tlyu@mit.edu Tony Leneis tony@plaza.ds.adp.com Uwe Seimet us@orbacus.com Vance Shipley vances@motivity.ca +Ville Karaila k151810@luukku.com Viktor Dukhovni viktor@anaheim.esm.com Vladimir Volovich vvv@vsu.ru Volker Borchert bt@teknon.de diff --git a/doc/autoconf.texi b/doc/autoconf.texi index 0bbd6acf..28e3f077 100644 --- a/doc/autoconf.texi +++ b/doc/autoconf.texi @@ -4332,6 +4332,29 @@ AC_CHECK_HEADERS([net/if.h], [], [], ]) @end example +@item @file{netinet/if_ether.h} +@hdrindex netinet/if_ether.h +On Darwin, this file requires that @file{stdio.h} and +@file{sys/socket.h} be included beforehand. One should run: + +@example +AC_CHECK_HEADERS([sys/socket.h]) +AC_CHECK_HEADERS([netinet/if_ether.h], [], [], +[#include +#if STDC_HEADERS +# include +# include +#else +# if HAVE_STDLIB_H +# include +# endif +#endif +#if HAVE_SYS_SOCKET_H +# include +#endif +]) +@end example + @item @file{stdint.h} See above, item @file{inttypes.h} vs.@: @file{stdint.h}.