2012-09-22 Paul Eggert <eggert@cs.ucla.edu>
+ sockets, sys_stat: remove AC_C_INLINE in MSVC-only cases
+ * m4/sockets.m4 (gl_SOCKETS):
+ * m4/sys_stat_h.m4 (gl_HEADER_SYS_STAT_H):
+ Remove AC_C_INLINE. Here, 'inline' is used only in MSVC
+ environments where it's already guaranteed to work, so we needn't
+ check for it at 'configure'-time.
+
tls-tests: omit unnecessary 'inline'
* tests/test-tls.c (perhaps_yield): No longer inline.
Simplicity and portability trump efficiency in test cases.
-# sockets.m4 serial 7
+# sockets.m4 serial 8
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,
AC_DEFUN([gl_SOCKETS],
[
- AC_REQUIRE([AC_C_INLINE])
AC_REQUIRE([gl_SOCKETLIB])
gl_PREREQ_SOCKETS
])
-# sys_stat_h.m4 serial 27 -*- Autoconf -*-
+# sys_stat_h.m4 serial 28 -*- 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,
[
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])