From 486467fc8f67863ac9d191ac52f1ad4c607397aa Mon Sep 17 00:00:00 2001 From: Peter Kokot Date: Wed, 5 Sep 2018 03:43:02 +0200 Subject: Remove HAVE_STDDEF_H The `` header file is part of the standard C89 headers [1] and on current systems there is no need to manually check if header is present anymore. Since the libgd requires at least C89 or greater, the `HAVE_STDDEF_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.2 [2] https://git.savannah.gnu.org/cgit/autoconf.git/tree/lib/autoconf/headers.m4 --- cmake/modules/AC_HEADER_STDC.cmake | 1 - 1 file changed, 1 deletion(-) (limited to 'cmake') diff --git a/cmake/modules/AC_HEADER_STDC.cmake b/cmake/modules/AC_HEADER_STDC.cmake index 6d34272..1d1a56b 100644 --- a/cmake/modules/AC_HEADER_STDC.cmake +++ b/cmake/modules/AC_HEADER_STDC.cmake @@ -2,7 +2,6 @@ check_include_files(dirent.h HAVE_DIRENT_H) check_include_files(inttypes.h HAVE_INTTYPES_H) -check_include_files(stddef.h HAVE_STDDEF_H) check_include_files(stdint.h HAVE_STDINT_H) check_include_files(stdlib.h HAVE_STDLIB_H) check_include_files(string.h HAVE_STRING_H) -- cgit v1.2.1