Use AC_C_INLINE where necessary.
authorBruno Haible <bruno@clisp.org>
Thu, 31 Dec 2009 15:13:01 +0000 (16:13 +0100)
committerBruno Haible <bruno@clisp.org>
Thu, 31 Dec 2009 17:06:08 +0000 (18:06 +0100)
ChangeLog
m4/chdir-long.m4
m4/fatal-signal.m4
m4/fts.m4
m4/mbchar.m4
m4/mbfile.m4
m4/mbiter.m4
m4/regex.m4
m4/stat.m4
m4/wait-process.m4
modules/u64

index 20c23ae80854dc17f9fcd840f757c4b1a654c0e6..78d2a5ce5f90747d960aeedae07813e83f3632fd 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,17 @@
+2009-12-31  Bruno Haible  <bruno@clisp.org>
+
+       Use AC_C_INLINE where necessary.
+       * m4/chdir-long.m4 (gl_PREREQ_CHDIR_LONG): Require AC_C_INLINE.
+       * m4/fatal-signal.m4 (gl_FATAL_SIGNAL): Likewise.
+       * m4/fts.m4 (gl_FUNC_FTS_CORE): Likewise.
+       * m4/mbchar.m4 (gl_MBCHAR): Likewise.
+       * m4/mbfile.m4 (gl_MBFILE): Likewise.
+       * m4/mbiter.m4 (gl_MBITER): Likewise.
+       * m4/regex.m4 (gl_PREREQ_REGEX): Likewise.
+       * m4/stat.m4 (gl_FUNC_STAT): Likewise.
+       * m4/wait-process.m4 (gl_WAIT_PROCESS): Likewise.
+       * modules/u64 (configure.ac): Likewise.
+
 2009-12-31  Bruno Haible  <bruno@clisp.org>
 
        Use AC_C_INLINE instead of module 'inline' where possible.
index fe6a21bd94ed5b8720738a50b372ca276f7ac208..e5aef45a15ca90c5a4ccb438aced04a3ec2666a5 100644 (file)
@@ -1,4 +1,4 @@
-#serial 10
+#serial 11
 
 # Use Gnulib's robust chdir function.
 # It can handle arbitrarily long directory names, which means
@@ -34,5 +34,6 @@ have_arbitrary_file_name_length_limit
 
 AC_DEFUN([gl_PREREQ_CHDIR_LONG],
 [
+  AC_REQUIRE([AC_C_INLINE])
   :
 ])
index e8b9bf93fc9d139184573769f32f5db8b2defa48..81de08f0f6cf7cb43e6ae5b7503a0e30780eccb3 100644 (file)
@@ -1,4 +1,4 @@
-# fatal-signal.m4 serial 7
+# fatal-signal.m4 serial 8
 dnl Copyright (C) 2003-2004, 2006, 2008, 2009 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_FATAL_SIGNAL],
 [
+  AC_REQUIRE([AC_C_INLINE])
   AC_REQUIRE([gt_TYPE_SIG_ATOMIC_T])
   AC_CHECK_HEADERS_ONCE([unistd.h])
   gl_PREREQ_SIG_HANDLER_H
index 33209be6e34864c932074d834fad6e234ec62e15..f8e74966a03ca5d4166ad435703223d1abadc885 100644 (file)
--- a/m4/fts.m4
+++ b/m4/fts.m4
@@ -1,4 +1,4 @@
-#serial 16
+#serial 17
 dnl Copyright (C) 2005-2009 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
@@ -21,6 +21,7 @@ AC_DEFUN([gl_FUNC_FTS_CORE],
   AC_LIBOBJ([fts])
 
   dnl Prerequisites of lib/fts.c.
+  AC_REQUIRE([AC_C_INLINE])
   gl_FUNC_OPENAT
 
   AC_CHECK_FUNCS_ONCE([fstatfs])
index 3f66a565c6d73f84f6a57bc58ad73cc3bdbc51d3..452f6eb3f698ea9181246b7ec0702b1f10cc5579 100644 (file)
@@ -1,4 +1,4 @@
-# mbchar.m4 serial 7
+# mbchar.m4 serial 8
 dnl Copyright (C) 2005-2007, 2009 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
@@ -10,4 +10,5 @@ dnl From Bruno Haible.
 AC_DEFUN([gl_MBCHAR],
 [
   AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])
+  AC_REQUIRE([AC_C_INLINE])
 ])
index e76ae1744c86a82b9058f1f25f1f80a8ecc0adbc..939487d27c0abe28c8c07df8f18b2540dd448cd2 100644 (file)
@@ -1,4 +1,4 @@
-# mbfile.m4 serial 4
+# mbfile.m4 serial 5
 dnl Copyright (C) 2005, 2008, 2009 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
@@ -9,6 +9,7 @@ dnl From Bruno Haible.
 
 AC_DEFUN([gl_MBFILE],
 [
+  AC_REQUIRE([AC_C_INLINE])
   AC_REQUIRE([AC_TYPE_MBSTATE_T])
   dnl The following line is that so the user can test HAVE_MBRTOWC before
   dnl #include "mbfile.h". It can be removed in 2010.
index 7609072d296f4c4f68f5cbea62aea83982ea452f..745d20271f49900dc3e2be1525f52a1ee264f655 100644 (file)
@@ -1,4 +1,4 @@
-# mbiter.m4 serial 4
+# mbiter.m4 serial 5
 dnl Copyright (C) 2005, 2008, 2009 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
@@ -9,6 +9,7 @@ dnl From Bruno Haible.
 
 AC_DEFUN([gl_MBITER],
 [
+  AC_REQUIRE([AC_C_INLINE])
   AC_REQUIRE([AC_TYPE_MBSTATE_T])
   dnl The following line is that so the user can test HAVE_MBRTOWC before
   dnl #include "mbiter.h" or "mbuiter.h". It can be removed in 2010.
index fee2f45a0a59cc25834146e3030ec360623e6194..4e24b84c52c0a636f220910a4ebbc04f265d0fcc 100644 (file)
@@ -1,4 +1,4 @@
-# serial 54
+# serial 55
 
 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
@@ -213,6 +213,7 @@ AC_DEFUN([gl_REGEX],
 AC_DEFUN([gl_PREREQ_REGEX],
 [
   AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])
+  AC_REQUIRE([AC_C_INLINE])
   AC_REQUIRE([AC_C_RESTRICT])
   AC_REQUIRE([AC_TYPE_MBSTATE_T])
   AC_CHECK_HEADERS([libintl.h])
index ce6933b3cd05370b1de0e8e13026d703d0d60f84..7b9b80d1b8827bfa485d3522d5bd6c8dcb68f920 100644 (file)
@@ -1,4 +1,4 @@
-# serial 3
+# serial 4
 
 # Copyright (C) 2009 Free Software Foundation, Inc.
 #
@@ -57,5 +57,7 @@ AC_DEFUN([gl_FUNC_STAT],
   esac
   if test $REPLACE_STAT = 1; then
     AC_LIBOBJ([stat])
+    dnl Prerequisites of lib/stat.c.
+    AC_REQUIRE([AC_C_INLINE])
   fi
 ])
index f03ad76f0f2dd31f8b6f2ec44dceea83d9077974..84c26add61c8660538d874309553cf0f78b25d42 100644 (file)
@@ -1,4 +1,4 @@
-# wait-process.m4 serial 4
+# wait-process.m4 serial 5
 dnl Copyright (C) 2003, 2008, 2009 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
@@ -7,6 +7,7 @@ dnl with or without modifications, as long as this notice is preserved.
 AC_DEFUN([gl_WAIT_PROCESS],
 [
   dnl Prerequisites of lib/wait-process.c.
+  AC_REQUIRE([AC_C_INLINE])
   AC_REQUIRE([gt_TYPE_SIG_ATOMIC_T])
   AC_CHECK_FUNCS([waitid])
 ])
index e875fe2a7fb97e5355d0572c42cc51f464dffdb0..23138d0f8dc9485142057af938f4602e9d76e805 100644 (file)
@@ -7,6 +7,11 @@ lib/u64.h
 Depends-on:
 stdint
 
+configure.ac:
+AC_REQUIRE([AC_C_INLINE])
+
+Makefile.am:
+
 Include:
 "u64.h"