changeset 9994:d45f5069548a

Move AC_REQUIRE([AC_C_INLINE]) to top. Suggested by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>.
author Simon Josefsson <simon@josefsson.org>
date Mon, 28 Apr 2008 20:08:35 +0200
parents 4d5ba95a0dec
children 901b50b38fae
files ChangeLog m4/sys_socket_h.m4
diffstat 2 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-04-28  Simon Josefsson  <simon@josefsson.org>
+
+	* m4/sys_socket_h.m4: Move AC_REQUIRE([AC_C_INLINE]) to top.
+	Suggested by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>.
+
 2008-04-28  Simon Josefsson  <simon@josefsson.org>
 
 	* lib/inet_ntop.h, lib/inet_pton.h: Remove files.
--- a/m4/sys_socket_h.m4
+++ b/m4/sys_socket_h.m4
@@ -8,6 +8,8 @@
 
 AC_DEFUN([gl_HEADER_SYS_SOCKET],
 [
+  AC_REQUIRE([AC_C_INLINE])
+
   AC_CACHE_CHECK([whether <sys/socket.h> 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