]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
1999-08-28 Ben Elliston <bje@cygnus.com>
authorBen Elliston <bje+keyword+gnu.7caf74@air.net.au>
Fri, 27 Aug 1999 14:54:40 +0000 (14:54 +0000)
committerBen Elliston <bje+keyword+gnu.7caf74@air.net.au>
Fri, 27 Aug 1999 14:54:40 +0000 (14:54 +0000)
* acspecific.m4 (AC_C_INLINE): Qualify the return type of the
dummy inlined function to satisfy newer C++ compilers. Fix for
autoconf/49.

ChangeLog
acspecific.m4
lib/autoconf/specific.m4

index f1f0207daae8d5c6eae6cff1fce3bb5dc444bbc1..e75fe72e333f283b7c2934f05798230f1abed51b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
index 21a20c2ff5ce5f375f0b9126fe2036fe20da4925..53836d401b68dce0f15133e6bd8e912f56c9564d 100644 (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
index 21a20c2ff5ce5f375f0b9126fe2036fe20da4925..53836d401b68dce0f15133e6bd8e912f56c9564d 100644 (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