]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* doc/autoconf.texi (Particular Headers): Some about sys/socket.h,
authorAkim Demaille <akim@epita.fr>
Tue, 8 Apr 2003 07:18:15 +0000 (07:18 +0000)
committerAkim Demaille <akim@epita.fr>
Tue, 8 Apr 2003 07:18:15 +0000 (07:18 +0000)
net/if.h, stdlib.h.

ChangeLog
doc/autoconf.texi

index 34e3d8cb825c2ced62322098783835ca1c81c3ab..c9f968f630eb096af4a0e6caca316c4cc772d744 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,12 +1,17 @@
+2003-04-08  Akim Demaille  <akim@epita.fr>
+
+       * doc/autoconf.texi (Particular Headers): Some about sys/socket.h,
+       net/if.h, stdlib.h.
+
 2003-04-01  Derek Price  <derek@ximbiot.com>
 
        * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Correct syntax error
-       from Akim's checkin of 3-29.
-       
+       from Akim's checkin of 2003-03-29.
+
 2003-04-01  Derek Price  <derek@ximbiot.com>
 
        * tests/torture.at (Configuring subdirectories): Add missing
-       close-quote for Akim's change from 3-28.
+       close-quote for Akim's change from 2003-03-28.
 
 2003-04-01  Akim Demaille  <akim@epita.fr>
 
@@ -20,8 +25,8 @@
 
 2003-03-31  Derek Price  <derek@ximbiot.com>
 
-       * lib/autotest/general.m4: Revert the checkin from 3-27 which removed
-       the main loop.
+       * lib/autotest/general.m4: Revert the checkin from 2003-03-27
+       which removed the main loop.
        Thanks to Akim Demaille.
 
 2003-03-29  Akim Demaille  <akim@epita.fr>
index fc574101f948fc8067100cd1bbed5244b1cde97d..676522876abd30e2402bfcb87373a90256a77131 100644 (file)
@@ -4286,6 +4286,34 @@ separately in a standard environment.  Many implementations have
 know of any implementation that has @file{stdint.h} but not
 @file{inttypes.h}.  Nor do I know of any free software that includes
 @file{stdint.h}; @file{stdint.h} seems to be a creation of the committee.
+
+@item @file{net/if.h}
+On Darwin, this file requires that @file{sys/socket.h} be included
+beforehand.  One should run:
+
+@example
+AC_CHECK_HEADERS([sys/socket.h])
+AC_CHECK_HEADERS([net/if.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{stdlib.h}
+On many systems (e.g., Darwin), @file{stdio.h} is a prerequisite.
+
+@item @file{sys/socket.h}
+On Darwin, @file{stdlib.h} is a prerequisite.
 @end table
 
 
@@ -14854,6 +14882,9 @@ checking for number.h... yes
 checking for pi.h... yes
 @end example
 
+See @ref{Particular Headers}, for a list of headers with their
+prerequisite.
+
 @c ===================================================== History of Autoconf.
 
 @node History