diff options
| author | Joakim Verona | 2012-12-12 12:27:09 +0100 |
|---|---|---|
| committer | Joakim Verona | 2012-12-12 12:27:09 +0100 |
| commit | fd2e292857ec77c1789c000b9a0f101a6815cd73 (patch) | |
| tree | be7465277adfb6705e3b2bac9f76c7df26e2d34f | |
| parent | 9a39645be77e39c3e7ff1056dd958eb1faa85573 (diff) | |
| parent | 4a9a8f1387fc4ed34a042ac9dfa66e79b59c55d7 (diff) | |
| download | emacs-fd2e292857ec77c1789c000b9a0f101a6815cd73.tar.gz emacs-fd2e292857ec77c1789c000b9a0f101a6815cd73.zip | |
auto upstream
| -rw-r--r-- | autogen/config.in | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/autogen/config.in b/autogen/config.in index fd34e6a6ec2..f9d839bc750 100644 --- a/autogen/config.in +++ b/autogen/config.in | |||
| @@ -1536,13 +1536,19 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 1536 | when FOO is an inline function in the header; see | 1536 | when FOO is an inline function in the header; see |
| 1537 | <http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54113>. | 1537 | <http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54113>. |
| 1538 | _GL_INLINE_HEADER_END contains useful stuff to put | 1538 | _GL_INLINE_HEADER_END contains useful stuff to put |
| 1539 | in the same include file, after uses of _GL_INLINE. */ | 1539 | in the same include file, after uses of _GL_INLINE. |
| 1540 | #if (__GNUC__ \ | 1540 | |
| 1541 | ? defined __GNUC_STDC_INLINE__ && __GNUC_STDC_INLINE__ \ | 1541 | Suppress the use of extern inline on Apple's platforms, |
| 1542 | : 199901L <= __STDC_VERSION__) | 1542 | as Libc-825.25 (2012-09-19) is incompatible with it; see |
| 1543 | <http://lists.gnu.org/archive/html/bug-gnulib/2012-12/msg00023.html>. | ||
| 1544 | Perhaps Apple will fix this some day. */ | ||
| 1545 | #if ((__GNUC__ \ | ||
| 1546 | ? defined __GNUC_STDC_INLINE__ && __GNUC_STDC_INLINE__ \ | ||
| 1547 | : 199901L <= __STDC_VERSION__) \ | ||
| 1548 | && !defined __APPLE__) | ||
| 1543 | # define _GL_INLINE inline | 1549 | # define _GL_INLINE inline |
| 1544 | # define _GL_EXTERN_INLINE extern inline | 1550 | # define _GL_EXTERN_INLINE extern inline |
| 1545 | #elif 2 < __GNUC__ + (7 <= __GNUC_MINOR__) | 1551 | #elif 2 < __GNUC__ + (7 <= __GNUC_MINOR__) && !defined __APPLE__ |
| 1546 | # if __GNUC_GNU_INLINE__ | 1552 | # if __GNUC_GNU_INLINE__ |
| 1547 | /* __gnu_inline__ suppresses a GCC 4.2 diagnostic. */ | 1553 | /* __gnu_inline__ suppresses a GCC 4.2 diagnostic. */ |
| 1548 | # define _GL_INLINE extern inline __attribute__ ((__gnu_inline__)) | 1554 | # define _GL_INLINE extern inline __attribute__ ((__gnu_inline__)) |
| @@ -1551,8 +1557,8 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 1551 | # endif | 1557 | # endif |
| 1552 | # define _GL_EXTERN_INLINE extern | 1558 | # define _GL_EXTERN_INLINE extern |
| 1553 | #else | 1559 | #else |
| 1554 | # define _GL_INLINE static | 1560 | # define _GL_INLINE static _GL_UNUSED |
| 1555 | # define _GL_EXTERN_INLINE static | 1561 | # define _GL_EXTERN_INLINE static _GL_UNUSED |
| 1556 | #endif | 1562 | #endif |
| 1557 | 1563 | ||
| 1558 | #if 4 < __GNUC__ + (6 <= __GNUC_MINOR__) | 1564 | #if 4 < __GNUC__ + (6 <= __GNUC_MINOR__) |