]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
This patch implements a `long double' suggestion by Oliver Kiddle.
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 16 Nov 2001 20:12:10 +0000 (20:12 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 16 Nov 2001 20:12:10 +0000 (20:12 +0000)
* 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.

ChangeLog

index 31ced6f22117195ead3b285fa1746622ffbe0b7d..ca8980a409a8931caf84fb761aeafb603e850b0c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,17 @@
+2001-11-16  Paul Eggert  <eggert@twinsun.com>
+       
+       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  <akim@epita.fr>
 
        * tests/m4sh.at (LINENO): Protect from autom4te's substitution by