diff options
author | Peter Kokot <peterkokot@gmail.com> | 2018-09-06 16:24:45 +0200 |
---|---|---|
committer | Mike Frysinger <vapier@gmail.com> | 2018-09-08 03:29:27 -0400 |
commit | 5dc2dd8b49520c9c8a59798a03553a7e88d94072 (patch) | |
tree | 298c7f23a0e75e31825165f78adf5a7681143235 /configure.ac | |
parent | d8ead0b8e0470a70f4d67fbc391b24471cdd405a (diff) | |
download | libgd-5dc2dd8b49520c9c8a59798a03553a7e88d94072.tar.gz |
Remove HAVE_STDLIB_H
The C89 and later standard defines the `<stdlib.h>` header as part of
the standard headers [1] and on current systems it is always present
and the `HAVE_STDLIB_H` symbol can be removed.
Also Autoconf suggests doing this and relying on C89 or above [2] and [3].
[1] https://port70.net/~nsz/c/c89/c89-draft.html#4.1.2
[2] http://git.savannah.gnu.org/cgit/autoconf.git/tree/lib/autoconf/headers.m4
[3] https://www.gnu.org/software/autoconf/manual/autoconf-2.69/autoconf.html
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index eb69a45..890c36e 100644 --- a/configure.ac +++ b/configure.ac @@ -62,7 +62,6 @@ AC_CHECK_HEADERS_ONCE(m4_flatten([ dirent.h inttypes.h stdint.h - stdlib.h strings.h unistd.h sys/stat.h |