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:
Ben Elliston 1999-08-27 14:54:40 +00:00
parent 7be3d59f1b
commit bcdc1ba13e
3 changed files with 8 additions and 2 deletions

View File

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

View File

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

View File

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