Move AC_REQUIRE([AC_C_INLINE]) to top.
authorSimon Josefsson <simon@josefsson.org>
Mon, 28 Apr 2008 18:08:35 +0000 (20:08 +0200)
committerSimon Josefsson <simon@josefsson.org>
Mon, 28 Apr 2008 18:08:35 +0000 (20:08 +0200)
Suggested by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>.

ChangeLog
m4/sys_socket_h.m4

index 53fe2a8..36e8ab5 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 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.
 
        * lib/inet_ntop.c: Include arpa/inet.h instead of inet_ntop.h.
index 5526c06..2e4e2f6 100644 (file)
@@ -8,6 +8,8 @@ dnl From Simon Josefsson.
 
 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 @@ 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