diff options
author | Bruno Haible <bruno@clisp.org> | 2009-12-31 16:13:01 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2009-12-31 18:06:08 +0100 |
commit | 9072c434ac94ee3e8352aba6c48de06bc62dfd50 (patch) | |
tree | ff791d568f81092146cecbe8a4f7382c75c18d5d | |
parent | 69fe567051cd45f3d71166a9956a4621163b33fb (diff) | |
download | gnulib-9072c434ac94ee3e8352aba6c48de06bc62dfd50.tar.gz |
Use AC_C_INLINE where necessary.
-rw-r--r-- | ChangeLog | 14 | ||||
-rw-r--r-- | m4/chdir-long.m4 | 3 | ||||
-rw-r--r-- | m4/fatal-signal.m4 | 3 | ||||
-rw-r--r-- | m4/fts.m4 | 3 | ||||
-rw-r--r-- | m4/mbchar.m4 | 3 | ||||
-rw-r--r-- | m4/mbfile.m4 | 3 | ||||
-rw-r--r-- | m4/mbiter.m4 | 3 | ||||
-rw-r--r-- | m4/regex.m4 | 3 | ||||
-rw-r--r-- | m4/stat.m4 | 4 | ||||
-rw-r--r-- | m4/wait-process.m4 | 3 | ||||
-rw-r--r-- | modules/u64 | 5 |
11 files changed, 38 insertions, 9 deletions
@@ -1,5 +1,19 @@ 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. * modules/inline (Description): Clarify purpose. * m4/count-one-bits.m4 (gl_COUNT_ONE_BITS): Require AC_C_INLINE. diff --git a/m4/chdir-long.m4 b/m4/chdir-long.m4 index fe6a21bd94..e5aef45a15 100644 --- a/m4/chdir-long.m4 +++ b/m4/chdir-long.m4 @@ -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]) : ]) diff --git a/m4/fatal-signal.m4 b/m4/fatal-signal.m4 index e8b9bf93fc..81de08f0f6 100644 --- a/m4/fatal-signal.m4 +++ b/m4/fatal-signal.m4 @@ -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 @@ -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]) diff --git a/m4/mbchar.m4 b/m4/mbchar.m4 index 3f66a565c6..452f6eb3f6 100644 --- a/m4/mbchar.m4 +++ b/m4/mbchar.m4 @@ -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]) ]) diff --git a/m4/mbfile.m4 b/m4/mbfile.m4 index e76ae1744c..939487d27c 100644 --- a/m4/mbfile.m4 +++ b/m4/mbfile.m4 @@ -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. diff --git a/m4/mbiter.m4 b/m4/mbiter.m4 index 7609072d29..745d20271f 100644 --- a/m4/mbiter.m4 +++ b/m4/mbiter.m4 @@ -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. diff --git a/m4/regex.m4 b/m4/regex.m4 index fee2f45a0a..4e24b84c52 100644 --- a/m4/regex.m4 +++ b/m4/regex.m4 @@ -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]) diff --git a/m4/stat.m4 b/m4/stat.m4 index ce6933b3cd..7b9b80d1b8 100644 --- a/m4/stat.m4 +++ b/m4/stat.m4 @@ -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 ]) diff --git a/m4/wait-process.m4 b/m4/wait-process.m4 index f03ad76f0f..84c26add61 100644 --- a/m4/wait-process.m4 +++ b/m4/wait-process.m4 @@ -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]) ]) diff --git a/modules/u64 b/modules/u64 index e875fe2a7f..23138d0f8d 100644 --- a/modules/u64 +++ b/modules/u64 @@ -7,6 +7,11 @@ lib/u64.h Depends-on: stdint +configure.ac: +AC_REQUIRE([AC_C_INLINE]) + +Makefile.am: + Include: "u64.h" |