From 1e7f93922fb3adf9f131d7e94aa13386062ffe11 Mon Sep 17 00:00:00 2001 From: Peter Kokot Date: Wed, 5 Sep 2018 01:02:44 +0200 Subject: Remove HAVE_ERRNO_H The `` 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 --- configure.ac | 1 - 1 file changed, 1 deletion(-) (limited to 'configure.ac') 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 -- cgit v1.2.1