# HG changeset patch # User Simon Josefsson # Date 1209406115 -7200 # Node ID d45f5069548a5564d122c6b445d0d7b4d1add75f # Parent 4d5ba95a0deca036da25797699633eaa6eb2cedd Move AC_REQUIRE([AC_C_INLINE]) to top. Suggested by Ralf Wildenhues . diff -r 4d5ba95a0dec -r d45f5069548a ChangeLog --- a/ChangeLog Mon Apr 28 17:40:25 2008 +0200 +++ b/ChangeLog Mon Apr 28 20:08:35 2008 +0200 @@ -1,3 +1,8 @@ +2008-04-28 Simon Josefsson + + * m4/sys_socket_h.m4: Move AC_REQUIRE([AC_C_INLINE]) to top. + Suggested by Ralf Wildenhues . + 2008-04-28 Simon Josefsson * lib/inet_ntop.h, lib/inet_pton.h: Remove files. diff -r 4d5ba95a0dec -r d45f5069548a m4/sys_socket_h.m4 --- a/m4/sys_socket_h.m4 Mon Apr 28 17:40:25 2008 +0200 +++ b/m4/sys_socket_h.m4 Mon Apr 28 20:08:35 2008 +0200 @@ -8,6 +8,8 @@ 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 @@ 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