diff options
author | Jakub Jelinek <jakub@redhat.com> | 2020-09-21 14:20:05 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2020-09-21 14:21:28 +0200 |
commit | 5187b01a4fcbea82f52798240595a32ddf7e0fe5 (patch) | |
tree | acfd693d1c7bdc7d50c16dec84b84f8c210c28de | |
parent | 2c62952f8160bdc8d4111edb34a4bc75096c1e05 (diff) | |
download | gcc-5187b01a4fcbea82f52798240595a32ddf7e0fe5.zip gcc-5187b01a4fcbea82f52798240595a32ddf7e0fe5.tar.gz gcc-5187b01a4fcbea82f52798240595a32ddf7e0fe5.tar.bz2 |
Fix fallout from Support new mallinfo2 function.
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.
-rw-r--r-- | gcc/config.in | 3 | ||||
-rwxr-xr-x | gcc/configure | 2 | ||||
-rw-r--r-- | gcc/configure.ac | 2 |
3 files changed, 4 insertions, 3 deletions
diff --git a/gcc/config.in b/gcc/config.in index 1832c11..5835cea 100644 --- a/gcc/config.in +++ b/gcc/config.in @@ -983,7 +983,8 @@ #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 diff --git a/gcc/configure b/gcc/configure index d33ee9f..33a3e34 100755 --- a/gcc/configure +++ b/gcc/configure @@ -11549,7 +11549,7 @@ fi 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 diff --git a/gcc/configure.ac b/gcc/configure.ac index fedb7b2..975f6d9 100644 --- a/gcc/configure.ac +++ b/gcc/configure.ac @@ -1488,7 +1488,7 @@ gcc_AC_CHECK_DECLS(getrlimit setrlimit getrusage, , ,[ #endif ]) -gcc_AC_CHECK_DECLS([mallinfo, mallinfo2], , ,[ +gcc_AC_CHECK_DECLS(mallinfo mallinfo2, , ,[ #include "ansidecl.h" #include "system.h" #ifdef HAVE_MALLOC_H |