bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 4/9] sockets, sys_stat: remove AC_C_INLINE in MSVC-only cases


From: Paul Eggert
Subject: [PATCH 4/9] sockets, sys_stat: remove AC_C_INLINE in MSVC-only cases
Date: Wed, 29 Aug 2012 23:23:39 -0700
User-agent: Mozilla/5.0 (X11; Linux i686; rv:14.0) Gecko/20120714 Thunderbird/14.0

* 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        | 9 +++++++++
 m4/sockets.m4    | 3 +--
 m4/sys_stat_h.m4 | 5 +----
 3 files changed, 11 insertions(+), 6 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 5f8f5c7..3124aa3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2012-08-29  Paul Eggert  <address@hidden>
+
+       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.
+
 2012-08-27  Paul Eggert  <address@hidden>
 
        tls-tests: omit unnecessary 'inline'
diff --git a/m4/sockets.m4 b/m4/sockets.m4
index e3738d9..52c271d 100644
--- a/m4/sockets.m4
+++ b/m4/sockets.m4
@@ -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
 ])
diff --git a/m4/sys_stat_h.m4 b/m4/sys_stat_h.m4
index f45dee1..8af3353 100644
--- a/m4/sys_stat_h.m4
+++ b/m4/sys_stat_h.m4
@@ -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])
 
-- 
1.7.11.4




reply via email to

[Prev in Thread] Current Thread [Next in Thread]