Mercurial > hg > octave-nkf > gnulib-hg
changeset 17117:622e1fb82f06
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>.
author | Paul Eggert <eggert@cs.ucla.edu> |
---|---|
date | Sun, 30 Sep 2012 16:20:43 -0700 |
parents | d45221b76b37 |
children | 00956ff1864c |
files | ChangeLog m4/sockets.m4 m4/sys_stat_h.m4 |
diffstat | 3 files changed, 16 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +2012-09-30 Paul Eggert <eggert@cs.ucla.edu> + + 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>. + 2012-09-30 Bruno Haible <bruno@clisp.org> localeconv tests: Avoid test failure on OpenIndiana.
--- 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 @@ AC_DEFUN([gl_SOCKETS], [ + AC_REQUIRE([AC_C_INLINE]) AC_REQUIRE([gl_SOCKETLIB]) gl_PREREQ_SOCKETS ])
--- a/m4/sys_stat_h.m4 +++ b/m4/sys_stat_h.m4 @@ -1,4 +1,4 @@ -# sys_stat_h.m4 serial 28 -*- Autoconf -*- +# sys_stat_h.m4 serial 27 -*- Autoconf -*- dnl Copyright (C) 2006-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, @@ -11,6 +11,9 @@ [ AC_REQUIRE([gl_SYS_STAT_H_DEFAULTS]) + dnl For the mkdir substitute. + AC_REQUIRE([AC_C_INLINE]) + dnl Check for broken stat macros. AC_REQUIRE([AC_HEADER_STAT])