mirror of
git://git.sv.gnu.org/autoconf
synced 2024-11-27 01:49:56 +08:00
* lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Use `_array_'
to avoid GCC warnings. From Uwe Seimet.
This commit is contained in:
parent
15d0a48936
commit
503e11606c
@ -1,3 +1,9 @@
|
||||
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.
|
||||
|
1
THANKS
1
THANKS
@ -155,6 +155,7 @@ Tom Purcell Tom.Purcell@wang.com
|
||||
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
|
||||
|
@ -194,8 +194,12 @@ f = $1;
|
||||
|
||||
# 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)
|
||||
|
Loading…
Reference in New Issue
Block a user