aboutsummaryrefslogtreecommitdiffstats
path: root/m4/extern-inline.m4
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2018-03-11 20:35:16 +0200
committerArnold D. Robbins <arnold@skeeve.com>2018-03-11 20:35:16 +0200
commit07f64759d541a033e79b232c4a186f4414ec811c (patch)
tree067613d8f9e80755fbb69c078c53b625a96fd308 /m4/extern-inline.m4
parent28b143c3a489e2699834812214eeaa6347ac1c01 (diff)
downloadegawk-07f64759d541a033e79b232c4a186f4414ec811c.tar.gz
egawk-07f64759d541a033e79b232c4a186f4414ec811c.tar.bz2
egawk-07f64759d541a033e79b232c4a186f4414ec811c.zip
Make extension directory fully gettextized. Fixes autoreconf problems.
Diffstat (limited to 'm4/extern-inline.m4')
-rw-r--r--m4/extern-inline.m47
1 files changed, 4 insertions, 3 deletions
diff --git a/m4/extern-inline.m4 b/m4/extern-inline.m4
index 0edbe3c8..72800650 100644
--- a/m4/extern-inline.m4
+++ b/m4/extern-inline.m4
@@ -1,6 +1,6 @@
dnl 'extern inline' a la ISO C99.
-dnl Copyright 2012-2014 Free Software Foundation, Inc.
+dnl Copyright 2012-2015 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
@@ -74,12 +74,13 @@ AC_DEFUN([gl_EXTERN_INLINE],
# define _GL_EXTERN_INLINE static _GL_UNUSED
#endif
-/* In GCC, suppress bogus "no previous prototype for 'FOO'"
+/* In GCC 4.6 (inclusive) to 5.1 (exclusive),
+ suppress bogus "no previous prototype for 'FOO'"
and "no previous declaration for 'FOO'" diagnostics,
when FOO is an inline function in the header; see
<https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54113> and
<https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63877>. */
-#if 4 < __GNUC__ + (6 <= __GNUC_MINOR__)
+#if __GNUC__ == 4 && 6 <= __GNUC_MINOR__
# if defined __GNUC_STDC_INLINE__ && __GNUC_STDC_INLINE__
# define _GL_INLINE_HEADER_CONST_PRAGMA
# else