summaryrefslogtreecommitdiff
path: root/m4/sockets.m4
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2012-09-30 16:20:43 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2012-09-30 16:21:03 -0700
commitb4938324b7113c9d73f8390d21f3ecbd842e74b9 (patch)
tree09a6b9005a35f048eb25e9c264bb9483fb133a65 /m4/sockets.m4
parentbbca62715f5400cb67443c4c3f1aaa001f5d835a (diff)
downloadgnulib-b4938324b7113c9d73f8390d21f3ecbd842e74b9.tar.gz
sockets, sys_stat: restore AC_C_INLINE
This undoes the 2012-09-22 patch. * m4/sockets.m4 (gl_SOCKETS): * m4/sys_stat_h.m4 (gl_HEADER_SYS_STAT_H): Restore AC_C_INLINE, since MSVC requires __inline or _inline and does not support plain 'inline'. Reported by Bruno Haible in <http://lists.gnu.org/archive/html/bug-gnulib/2012-09/msg00183.html>.
Diffstat (limited to 'm4/sockets.m4')
-rw-r--r--m4/sockets.m43
1 files changed, 2 insertions, 1 deletions
diff --git a/m4/sockets.m4 b/m4/sockets.m4
index 52c271dd3c..e3738d906f 100644
--- a/m4/sockets.m4
+++ b/m4/sockets.m4
@@ -1,4 +1,4 @@
-# sockets.m4 serial 8
+# sockets.m4 serial 7
dnl Copyright (C) 2008-2012 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
@@ -6,6 +6,7 @@ dnl with or without modifications, as long as this notice is preserved.
AC_DEFUN([gl_SOCKETS],
[
+ AC_REQUIRE([AC_C_INLINE])
AC_REQUIRE([gl_SOCKETLIB])
gl_PREREQ_SOCKETS
])