]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* doc/autoconf.texi (Header Portability): netinet/if_ether.h.
authorAkim Demaille <akim@epita.fr>
Mon, 25 Aug 2003 06:29:48 +0000 (06:29 +0000)
committerAkim Demaille <akim@epita.fr>
Mon, 25 Aug 2003 06:29:48 +0000 (06:29 +0000)
From Ville Karaila.

ChangeLog
THANKS
doc/autoconf.texi

index fcbe5202d67f7fa0b7e7b80c918680293be17ef2..c01262501d30b460e9def23268f64af7544f622f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2003-08-25  Akim Demaille  <akim@epita.fr>
+
+       * doc/autoconf.texi (Header Portability): netinet/if_ether.h.
+       From Ville Karaila.
+
 2003-08-24  Akim Demaille  <akim@epita.fr>
 
        * configure.ac: Bump to 2.57c.
diff --git a/THANKS b/THANKS
index 52acdeb9d8923d771e2fa2d7447bb6324cfdf04f..c6a4bab034bee8b6b3748cf817f799ea543ee61d 100644 (file)
--- 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
index 0bbd6acff1b54b9f5cd0d8fa9843e167d2cde981..28e3f077f409ff3077c3ba78e8aab28770340ad5 100644 (file)
@@ -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 <stdio.h>
+#if STDC_HEADERS
+# include <stdlib.h>
+# include <stddef.h>
+#else
+# if HAVE_STDLIB_H
+#  include <stdlib.h>
+# endif
+#endif
+#if HAVE_SYS_SOCKET_H
+# include <sys/socket.h>
+#endif
+])
+@end example
+
 @item @file{stdint.h}
 See above, item @file{inttypes.h} vs.@: @file{stdint.h}.