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