mirror of
git://git.sv.gnu.org/autoconf
synced 2025-02-17 14:01:27 +08:00
* 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:
parent
185f365117
commit
bdfd64b325
@ -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...
|
||||
|
@ -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
|
||||
])],
|
||||
|
@ -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
|
||||
])],
|
||||
|
@ -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
|
||||
])],
|
||||
|
@ -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
|
||||
])],
|
||||
|
Loading…
Reference in New Issue
Block a user