* m4/net_if_h.m4: Check to make sure <net/if.h> actually defines
struct if_nameindex. If not, enable the replacement header.
linkat_nofollow: Add fallback case for cross compiling
* m4/linkat.m4: Guess no for Darwin, yes otherwise.
+ net_if: Handle content-free <net/if.h> system headers
+ * m4/net_if_h.m4: Check to make sure <net/if.h> actually defines
+ struct if_nameindex. If not, enable the replacement header.
+
2015-02-08 Daiki Ueno <ueno@gnu.org>
uniname/unimame-tests: don't link with -lunistring
AC_CACHE_CHECK([whether <net/if.h> is self-contained],
[gl_cv_header_net_if_h_selfcontained],
[
- AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <net/if.h>]], [[]])],
+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <net/if.h>]],
+ [[struct if_nameindex ni;]])],
[gl_cv_header_net_if_h_selfcontained=yes],
[gl_cv_header_net_if_h_selfcontained=no])
])