mirror of
git://git.sv.gnu.org/autoconf
synced 2024-11-21 01:01:48 +08:00
1999-08-28 Ben Elliston <bje@cygnus.com>
* acspecific.m4 (AC_C_INLINE): Qualify the return type of the dummy inlined function to satisfy newer C++ compilers. Fix for autoconf/49.
This commit is contained in:
parent
7be3d59f1b
commit
bcdc1ba13e
@ -1,3 +1,9 @@
|
||||
1999-08-28 Ben Elliston <bje@cygnus.com>
|
||||
|
||||
* acspecific.m4 (AC_C_INLINE): Qualify the return type of the
|
||||
dummy inlined function to satisfy newer C++ compilers. Fix for
|
||||
autoconf/49.
|
||||
|
||||
1999-08-26 Ben Elliston <bje@cygnus.com>
|
||||
|
||||
* autoconf.texi (Changed Results): Correct an error in one of the
|
||||
|
@ -2044,7 +2044,7 @@ AC_DEFUN(AC_C_INLINE,
|
||||
[AC_CACHE_CHECK([for inline], ac_cv_c_inline,
|
||||
[ac_cv_c_inline=no
|
||||
for ac_kw in inline __inline__ __inline; do
|
||||
AC_TRY_COMPILE(, [} $ac_kw foo() {], [ac_cv_c_inline=$ac_kw; break])
|
||||
AC_TRY_COMPILE(, [} $ac_kw int foo() {], [ac_cv_c_inline=$ac_kw; break])
|
||||
done
|
||||
])
|
||||
case "$ac_cv_c_inline" in
|
||||
|
@ -2044,7 +2044,7 @@ AC_DEFUN(AC_C_INLINE,
|
||||
[AC_CACHE_CHECK([for inline], ac_cv_c_inline,
|
||||
[ac_cv_c_inline=no
|
||||
for ac_kw in inline __inline__ __inline; do
|
||||
AC_TRY_COMPILE(, [} $ac_kw foo() {], [ac_cv_c_inline=$ac_kw; break])
|
||||
AC_TRY_COMPILE(, [} $ac_kw int foo() {], [ac_cv_c_inline=$ac_kw; break])
|
||||
done
|
||||
])
|
||||
case "$ac_cv_c_inline" in
|
||||
|
Loading…
Reference in New Issue
Block a user