2020-09-21 Jakub Jelinek <jakub@redhat.com>
* configure.ac: Use mallinfo mallinfo2 as first operand of
gcc_AC_CHECK_DECLS rather than [mallinfo, mallinfo2].
* configure: Regenerated.
* config.in: Regenerated.
#endif
-/* Define to 1 if we found a declaration for 'mallinfo */
+/* Define to 1 if we found a declaration for 'mallinfo', otherwise define to
+ 0. */
#ifndef USED_FOR_TARGET
#undef HAVE_DECL_MALLINFO
#endif
done
-for ac_func in mallinfo, mallinfo2
+for ac_func in mallinfo mallinfo2
do
ac_tr_decl=`$as_echo "HAVE_DECL_$ac_func" | $as_tr_cpp`
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $ac_func is declared" >&5
#endif
])
-gcc_AC_CHECK_DECLS([mallinfo, mallinfo2], , ,[
+gcc_AC_CHECK_DECLS(mallinfo mallinfo2, , ,[
#include "ansidecl.h"
#include "system.h"
#ifdef HAVE_MALLOC_H