diff options
Diffstat (limited to 'gl/m4/inline.m4')
0 files changed, 0 insertions, 0 deletions
diff --git a/gl/m4/__inline.m4 b/gl/m4/__inline.m4 index acf8668..20baf16 100644 --- a/gl/m4/__inline.m4 +++ b/gl/m4/__inline.m4 | |||
@@ -1,9 +1,12 @@ | |||
1 | # Test for __inline keyword | 1 | # __inline.m4 |
2 | dnl Copyright 2017-2023 Free Software Foundation, Inc. | 2 | # serial 1 |
3 | dnl Copyright 2017-2024 Free Software Foundation, Inc. | ||
3 | dnl This file is free software; the Free Software Foundation | 4 | dnl This file is free software; the Free Software Foundation |
4 | dnl gives unlimited permission to copy and/or distribute it, | 5 | dnl gives unlimited permission to copy and/or distribute it, |
5 | dnl with or without modifications, as long as this notice is preserved. | 6 | dnl with or without modifications, as long as this notice is preserved. |
6 | 7 | ||
8 | # Test for __inline keyword | ||
9 | |||
7 | AC_DEFUN([gl___INLINE], | 10 | AC_DEFUN([gl___INLINE], |
8 | [ | 11 | [ |
9 | AC_CACHE_CHECK([whether the compiler supports the __inline keyword], | 12 | AC_CACHE_CHECK([whether the compiler supports the __inline keyword], |
diff --git a/gl/m4/extern-inline.m4 b/gl/m4/extern-inline.m4 index c001b1c..547da82 100644 --- a/gl/m4/extern-inline.m4 +++ b/gl/m4/extern-inline.m4 | |||
@@ -1,10 +1,12 @@ | |||
1 | dnl 'extern inline' a la ISO C99. | 1 | # extern-inline.m4 |
2 | 2 | # serial 1 | |
3 | dnl Copyright 2012-2023 Free Software Foundation, Inc. | 3 | dnl Copyright 2012-2024 Free Software Foundation, Inc. |
4 | dnl This file is free software; the Free Software Foundation | 4 | dnl This file is free software; the Free Software Foundation |
5 | dnl gives unlimited permission to copy and/or distribute it, | 5 | dnl gives unlimited permission to copy and/or distribute it, |
6 | dnl with or without modifications, as long as this notice is preserved. | 6 | dnl with or without modifications, as long as this notice is preserved. |
7 | 7 | ||
8 | dnl 'extern inline' a la ISO C99. | ||
9 | |||
8 | AC_DEFUN([gl_EXTERN_INLINE], | 10 | AC_DEFUN([gl_EXTERN_INLINE], |
9 | [ | 11 | [ |
10 | AC_CACHE_CHECK([whether ctype.h defines __header_inline], | 12 | AC_CACHE_CHECK([whether ctype.h defines __header_inline], |
@@ -79,7 +81,8 @@ AC_DEFUN([gl_EXTERN_INLINE], | |||
79 | # define _GL_EXTERN_INLINE_STDHEADER_BUG | 81 | # define _GL_EXTERN_INLINE_STDHEADER_BUG |
80 | #endif | 82 | #endif |
81 | #if ((__GNUC__ \ | 83 | #if ((__GNUC__ \ |
82 | ? defined __GNUC_STDC_INLINE__ && __GNUC_STDC_INLINE__ \ | 84 | ? (defined __GNUC_STDC_INLINE__ && __GNUC_STDC_INLINE__ \ |
85 | && !defined __PCC__) \ | ||
83 | : (199901L <= __STDC_VERSION__ \ | 86 | : (199901L <= __STDC_VERSION__ \ |
84 | && !defined __HP_cc \ | 87 | && !defined __HP_cc \ |
85 | && !defined __PGI \ | 88 | && !defined __PGI \ |
@@ -89,6 +92,7 @@ AC_DEFUN([gl_EXTERN_INLINE], | |||
89 | # define _GL_EXTERN_INLINE extern inline | 92 | # define _GL_EXTERN_INLINE extern inline |
90 | # define _GL_EXTERN_INLINE_IN_USE | 93 | # define _GL_EXTERN_INLINE_IN_USE |
91 | #elif (2 < __GNUC__ + (7 <= __GNUC_MINOR__) && !defined __STRICT_ANSI__ \ | 94 | #elif (2 < __GNUC__ + (7 <= __GNUC_MINOR__) && !defined __STRICT_ANSI__ \ |
95 | && !defined __PCC__ \ | ||
92 | && !defined _GL_EXTERN_INLINE_STDHEADER_BUG) | 96 | && !defined _GL_EXTERN_INLINE_STDHEADER_BUG) |
93 | # if defined __GNUC_GNU_INLINE__ && __GNUC_GNU_INLINE__ | 97 | # if defined __GNUC_GNU_INLINE__ && __GNUC_GNU_INLINE__ |
94 | /* __gnu_inline__ suppresses a GCC 4.2 diagnostic. */ | 98 | /* __gnu_inline__ suppresses a GCC 4.2 diagnostic. */ |