]> Savannah Git Hosting - gnulib.git/commit
Avoid "warning: The macro `AC_HEADER_STDC' is obsolete".
authorBruno Haible <bruno@clisp.org>
Sun, 27 Sep 2020 22:27:43 +0000 (00:27 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 27 Sep 2020 22:27:43 +0000 (00:27 +0200)
commitc67a05548870145a113207b124cdc138cd18abc5
tree4f2758e212169536fa9f44b0a21d17ad1dbe6d5a
parenta627ff514eb6766179a7e46cf261cca300f498ed
Avoid "warning: The macro `AC_HEADER_STDC' is obsolete".

Reported by Gavin Smith <gavinsmith0123@gmail.com> in
<https://lists.gnu.org/archive/html/bug-gnulib/2020-09/msg00154.html>.

Based on a patch by Paul Eggert.

* m4/malloc.m4 (_AC_FUNC_MALLOC_IF): Don't require AC_HEADER_STDC. Don't
test STDC_HEADERS. Assume <stdlib.h> exists.
* m4/realloc.m4 (_AC_FUNC_REALLOC_IF): Likewise.
ChangeLog
m4/malloc.m4
m4/realloc.m4