diff options
author | Nick Wellnhofer <wellnhofer@aevum.de> | 2022-03-02 00:29:17 +0100 |
---|---|---|
committer | Nick Wellnhofer <wellnhofer@aevum.de> | 2022-03-02 00:43:54 +0100 |
commit | 776d15d38359255434f5d55722430dfcb7b3eba5 (patch) | |
tree | 2c205ab402f337d78864fc601e3c9e1c777898c6 /CMakeLists.txt | |
parent | 8f3bd262413fbac0c2314249ea3836667fce4538 (diff) | |
download | libxml2-776d15d38359255434f5d55722430dfcb7b3eba5.tar.gz |
Don't check for standard C89 headers
Don't check for
- ctype.h
- errno.h
- float.h
- limits.h
- math.h
- signal.h
- stdarg.h
- stdlib.h
- string.h
- time.h
Stop including non-standard headers
- malloc.h
- strings.h
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index f922d5ab..7987ecbb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -160,13 +160,10 @@ else() set(ss_family __ss_family) endif() check_function_exists(class HAVE_CLASS) - check_include_files(ctype.h HAVE_CTYPE_H) check_include_files(dlfcn.h HAVE_DLFCN_H) check_library_exists(dl dlopen "" HAVE_DLOPEN) check_include_files(dl.h HAVE_DL_H) - check_include_files(errno.h HAVE_ERRNO_H) check_include_files(fcntl.h HAVE_FCNTL_H) - check_include_files(float.h HAVE_FLOAT_H) check_function_exists(fpclass HAVE_FPCLASS) check_function_exists(fprintf HAVE_FPRINTF) check_function_exists(ftime HAVE_FTIME) @@ -176,10 +173,7 @@ else() check_function_exists(isascii HAVE_ISASCII) check_library_exists(history append_history "" HAVE_LIBHISTORY) check_library_exists(readline readline "" HAVE_LIBREADLINE) - check_include_files(limits.h HAVE_LIMITS_H) check_function_exists(localtime HAVE_LOCALTIME) - check_include_files(malloc.h HAVE_MALLOC_H) - check_include_files(math.h HAVE_MATH_H) check_function_exists(mmap HAVE_MMAP) check_function_exists(munmap HAVE_MUNMAP) check_include_files(netdb.h HAVE_NETDB_H) @@ -192,18 +186,13 @@ else() check_function_exists(rand_r HAVE_RAND_R) check_include_files(resolv.h HAVE_RESOLV_H) check_library_exists(dld shl_load "" HAVE_SHLLOAD) - check_include_files(signal.h HAVE_SIGNAL_H) check_function_exists(snprintf HAVE_SNPRINTF) check_function_exists(sprintf HAVE_SPRINTF) check_function_exists(srand HAVE_SRAND) check_function_exists(sscanf HAVE_SSCANF) check_function_exists(stat HAVE_STAT) - check_include_files(stdarg.h HAVE_STDARG_H) check_include_files(stdint.h HAVE_STDINT_H) - check_include_files(stdlib.h HAVE_STDLIB_H) check_function_exists(strftime HAVE_STRFTIME) - check_include_files(strings.h HAVE_STRINGS_H) - check_include_files(string.h HAVE_STRING_H) check_include_files(sys/mman.h HAVE_SYS_MMAN_H) check_include_files(sys/select.h HAVE_SYS_SELECT_H) check_include_files(sys/socket.h HAVE_SYS_SOCKET_H) @@ -212,7 +201,6 @@ else() check_include_files(sys/time.h HAVE_SYS_TIME_H) check_include_files(sys/types.h HAVE_SYS_TYPES_H) check_function_exists(time HAVE_TIME) - check_include_files(time.h HAVE_TIME_H) check_include_files(unistd.h HAVE_UNISTD_H) check_function_exists(va_copy HAVE_VA_COPY) check_function_exists(vfprintf HAVE_VFPRINTF) |