From: Paul Eggert Date: Fri, 16 Nov 2001 20:12:10 +0000 (+0000) Subject: This patch implements a `long double' suggestion by Oliver Kiddle. X-Git-Tag: AUTOCONF-2.52g~49 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5c2dde6b40c132cc098a0b8d5280590ef11f2283;p=thirdparty%2Fautoconf.git This patch implements a `long double' suggestion by Oliver Kiddle. * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Make the array static, to catch errors if the value isn't known at compile-time and the compiler supports dynamic arrays. Change its name from `_array_' to `test_array' to avoid potential name clashes. (AC_C_LONG_DOUBLE): Make it a compile-time test, not a run-time test. Do not define HAVE_LONG_DOUBLE if `long double' is no better than double. Catch a bug in GCC 2.95.2 x86. * doc/autoconf.texi (C Compiler): Document the above. * NEWS: Likewise. --- diff --git a/ChangeLog b/ChangeLog index 31ced6f22..ca8980a40 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,17 @@ +2001-11-16 Paul Eggert + + This patch implements a `long double' suggestion by Oliver Kiddle. + + * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Make the array + static, to catch errors if the value isn't known at compile-time + and the compiler supports dynamic arrays. Change its name from + `_array_' to `test_array' to avoid potential name clashes. + (AC_C_LONG_DOUBLE): Make it a compile-time test, not a run-time + test. Do not define HAVE_LONG_DOUBLE if `long double' is no + better than double. Catch a bug in GCC 2.95.2 x86. + * doc/autoconf.texi (C Compiler): Document the above. + * NEWS: Likewise. + 2001-11-13 Akim Demaille * tests/m4sh.at (LINENO): Protect from autom4te's substitution by