X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=m4%2Fsys_socket_h.m4;h=2e4e2f6835c5872d65e4ae7a2aad8f0260bfebb6;hb=a962fe3f59df95b60112817ca87d0ab2a9f9b5f6;hp=5526c06da0e14ae43e61c7278a8e54932d48a330;hpb=c404b31376e0fc0373e063a95195d678f970212e;p=gnulib.git diff --git a/m4/sys_socket_h.m4 b/m4/sys_socket_h.m4 index 5526c06da..2e4e2f683 100644 --- a/m4/sys_socket_h.m4 +++ b/m4/sys_socket_h.m4 @@ -8,6 +8,8 @@ dnl From Simon Josefsson. AC_DEFUN([gl_HEADER_SYS_SOCKET], [ + AC_REQUIRE([AC_C_INLINE]) + AC_CACHE_CHECK([whether is self-contained], [gl_cv_header_sys_socket_h_selfcontained], [ @@ -45,7 +47,6 @@ AC_DEFUN([gl_HEADER_SYS_SOCKET], HAVE_WINSOCK2_H=0 HAVE_WS2TCPIP_H=0 else - AC_REQUIRE([AC_C_INLINE]) HAVE_SYS_SOCKET_H=0 dnl We cannot use AC_CHECK_HEADERS_ONCE here, because that would make dnl the check for those headers unconditional; yet cygwin reports