+2001-09-05 Akim Demaille <akim@epita.fr>
+
+ * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Use `_array_'
+ to avoid GCC warnings.
+ From Uwe Seimet.
+
2001-09-05 Akim Demaille <akim@epita.fr>
* bin/autom4te.in: --language is -l, not -s.
Tom Tromey tromey@cygnus.com
Tom Yu tlyu@mit.edu
Tony Leneis tony@plaza.ds.adp.com
+Uwe Seimet us@orbacus.com
Viktor Dukhovni viktor@anaheim.esm.com
Volker Borchert bt@teknon.de
Werner Lemberg wl@gnu.org
# AC_LANG_BOOL_COMPILE_TRY(C)(PROLOGUE, EXPRESSION)
# -------------------------------------------------
+# Be sure to use this array to avoid `unused' warnings, which are even
+# errors with `-W error'.
m4_define([AC_LANG_BOOL_COMPILE_TRY(C)],
-[AC_LANG_PROGRAM([$1], [int _array_ @<:@1 - 2 * !($2)@:>@])])
+[AC_LANG_PROGRAM([$1], [int _array_ @<:@1 - 2 * !($2)@:>@;
+_array_ @<:@0@:>@ = 0
+])])
# AC_LANG_INT_SAVE(C)(PROLOGUE, EXPRESSION)