From: Simon Josefsson Date: Mon, 28 Apr 2008 18:08:35 +0000 (+0200) Subject: Move AC_REQUIRE([AC_C_INLINE]) to top. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ca8e12bc871dc3ee65cec526ec2628abdd01ee8c;p=pspp Move AC_REQUIRE([AC_C_INLINE]) to top. Suggested by Ralf Wildenhues . --- diff --git a/ChangeLog b/ChangeLog index 53fe2a8903..36e8ab5a7f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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 --git a/m4/sys_socket_h.m4 b/m4/sys_socket_h.m4 index 5526c06da0..2e4e2f6835 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