AC_LANG_BOOL_COMPILE_TRY(C): port to g++ with warnings
commitb854606885ca849e0b5a1488b6dc82105d3c138d
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 8 Dec 2011 06:41:04 +0000 (7 22:41 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 8 Dec 2011 06:41:36 +0000 (7 22:41 -0800)
tree917aac337f30f7f61e65ee96fac054555da9ab52
parenta8942db4d787ec19033e143151d79c5f2dac4046
AC_LANG_BOOL_COMPILE_TRY(C): port to g++ with warnings

* lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Use the
array as well as setting it, to pacify g++.  Reported by
Werner Lemberg in
<http://lists.gnu.org/archive/html/autoconf/2011-12/msg00005.html>.
ChangeLog
lib/autoconf/c.m4