]> Savannah Git Hosting - gnulib.git/commitdiff
sockets, sys_stat: remove AC_C_INLINE in MSVC-only cases
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 30 Aug 2012 00:59:49 +0000 (17:59 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 22 Sep 2012 08:58:23 +0000 (01:58 -0700)
* 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.

ChangeLog
m4/sockets.m4
m4/sys_stat_h.m4

index 2440e73128964f9197696bea9c703cdcb2f8e76f..b9d798b977d0b7f490ac3b22f8381996f4390233 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 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.
index e3738d906faa6e597e9843f40b311dea5926d7b2..52c271dd3c7462a009b21c45fe7fd4a42c483afe 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -6,7 +6,6 @@ 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
 ])
index f45dee1dc4dc35c88c5fdc900244d4f8343ddee2..8af3353ea5108608e167f2b74e3feb362d15b8a5 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -11,9 +11,6 @@ AC_DEFUN([gl_HEADER_SYS_STAT_H],
 [
   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])