summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorPeter Kokot <peterkokot@gmail.com>2018-09-05 01:02:44 +0200
committerMike Frysinger <vapier@gmail.com>2018-09-05 01:39:49 -0400
commit1e7f93922fb3adf9f131d7e94aa13386062ffe11 (patch)
tree7b06263ffa91058586e27c5936e6eeebb4187c90 /configure.ac
parent96d68e36142a3a6446ca7d1d7f764c0156bb2b1e (diff)
downloadlibgd-1e7f93922fb3adf9f131d7e94aa13386062ffe11.tar.gz
Remove HAVE_ERRNO_H
The `<errno.h>` header file is part of the standard C89 headers [1] and on older systems there needed to be also a manual check if header is present. Since libgd requires at least C89 or greater, the `HAVE_ERRNO_H` symbol defined by Autoconf in configure.ac [2], and Cmake build system files can be removed and simplifed. Refs: [1] https://port70.net/~nsz/c/c89/c89-draft.html#4.1.3 [2] https://git.savannah.gnu.org/cgit/autoconf.git/tree/lib/autoconf/headers.m4
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac1
1 files changed, 0 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index bdd7a74..db5db52 100644
--- a/configure.ac
+++ b/configure.ac
@@ -60,7 +60,6 @@ dnl Keep in sync with cmake/modules/AC_HEADER_STDC.cmake.
AC_HEADER_STDC
AC_CHECK_HEADERS_ONCE(m4_flatten([
dirent.h
- errno.h
inttypes.h
limits.h
stddef.h