* 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.
This commit is contained in:
Akim Demaille 2001-02-19 15:11:52 +00:00
parent 185f365117
commit bdfd64b325
5 changed files with 10 additions and 0 deletions

View File

@ -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...

View 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
])],

View 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
])],

View 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
])],

View 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
])],