]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* aclang.m4 (AC_C_INLINE): Define "inline" to empty if the
authorAkim Demaille <akim@epita.fr>
Mon, 19 Feb 2001 15:11:52 +0000 (15:11 +0000)
committerAkim Demaille <akim@epita.fr>
Mon, 19 Feb 2001 15:11:52 +0000 (15:11 +0000)
compiler doesn't support 'static inline'.  This is needed for
Encore Umax-3.0.9.16b.

ChangeLog
aclang.m4
lib/autoconf/c.m4
lib/autoconf/fortran.m4
lib/autoconf/lang.m4

index f1cdb3b7910c5093e42006cacb0653bcec77a377..acef4e67e480a991ab62a18eccfb991d2f9a7759 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2001-02-19  Paul Eggert  <eggert@twinsun.com>
+
+       * aclang.m4 (AC_C_INLINE): Define "inline" to empty if the
+       compiler doesn't support 'static inline'.  This is needed for
+       Encore Umax-3.0.9.16b.
+
 2001-02-19  Akim Demaille  <akim@epita.fr>
 
        * aclang.m4 (_AC_LANG_COMPILER_WORKS): Rename as...
index 61e01a9de50dd67853c925753e68fdc85e8426fd..dbd7530d089b07b72c0fc44b0c388cdf2ec83874 100644 (file)
--- a/aclang.m4
+++ b/aclang.m4
@@ -1533,6 +1533,7 @@ AC_CACHE_CHECK([for inline], ac_cv_c_inline,
 for ac_kw in inline __inline__ __inline; do
   AC_COMPILE_IFELSE([AC_LANG_SOURCE(
 [#ifndef __cplusplus
+static $ac_kw int static_foo () {return 0; }
 $ac_kw int foo () {return 0; }
 #endif
 ])],
index 61e01a9de50dd67853c925753e68fdc85e8426fd..dbd7530d089b07b72c0fc44b0c388cdf2ec83874 100644 (file)
@@ -1533,6 +1533,7 @@ AC_CACHE_CHECK([for inline], ac_cv_c_inline,
 for ac_kw in inline __inline__ __inline; do
   AC_COMPILE_IFELSE([AC_LANG_SOURCE(
 [#ifndef __cplusplus
+static $ac_kw int static_foo () {return 0; }
 $ac_kw int foo () {return 0; }
 #endif
 ])],
index 61e01a9de50dd67853c925753e68fdc85e8426fd..dbd7530d089b07b72c0fc44b0c388cdf2ec83874 100644 (file)
@@ -1533,6 +1533,7 @@ AC_CACHE_CHECK([for inline], ac_cv_c_inline,
 for ac_kw in inline __inline__ __inline; do
   AC_COMPILE_IFELSE([AC_LANG_SOURCE(
 [#ifndef __cplusplus
+static $ac_kw int static_foo () {return 0; }
 $ac_kw int foo () {return 0; }
 #endif
 ])],
index 61e01a9de50dd67853c925753e68fdc85e8426fd..dbd7530d089b07b72c0fc44b0c388cdf2ec83874 100644 (file)
@@ -1533,6 +1533,7 @@ AC_CACHE_CHECK([for inline], ac_cv_c_inline,
 for ac_kw in inline __inline__ __inline; do
   AC_COMPILE_IFELSE([AC_LANG_SOURCE(
 [#ifndef __cplusplus
+static $ac_kw int static_foo () {return 0; }
 $ac_kw int foo () {return 0; }
 #endif
 ])],