summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2022-07-08 19:38:18 +0400
committerSimon McVittie <smcv@collabora.com>2022-07-13 20:36:13 +0100
commitf0a4d9249078b5ce7f37aea254a4911e481ef584 (patch)
tree5bacde70b7df14020c3172a16adfd3f485fbacba /cmake
parente986c2b5b6e8f966d4f277c0c3b0779cb7b92c71 (diff)
downloaddbus-f0a4d9249078b5ce7f37aea254a4911e481ef584.tar.gz
cmake: drop needless headers checks
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Diffstat (limited to 'cmake')
-rw-r--r--cmake/ConfigureChecks.cmake13
-rw-r--r--cmake/config.h.cmake25
2 files changed, 0 insertions, 38 deletions
diff --git a/cmake/ConfigureChecks.cmake b/cmake/ConfigureChecks.cmake
index 8009effa..57986d08 100644
--- a/cmake/ConfigureChecks.cmake
+++ b/cmake/ConfigureChecks.cmake
@@ -10,36 +10,23 @@ check_include_file(alloca.h HAVE_ALLOCA_H)
check_include_file(byteswap.h HAVE_BYTESWAP_H)
check_include_file(crt/externs.h HAVE_CRT_EXTERNS_H)
check_include_file(dirent.h HAVE_DIRENT_H) # dbus-sysdeps-util.c
-check_include_file(dlfcn.h HAVE_DLFCN_H)
-check_include_file(execinfo.h HAVE_EXECINFO_H)
check_include_file(errno.h HAVE_ERRNO_H) # dbus-sysdeps.c
-check_include_file(expat.h HAVE_EXPAT_H)
-check_include_file(grp.h HAVE_GRP_H) # dbus-sysdeps-util-win.c
check_include_file(inttypes.h HAVE_INTTYPES_H) # dbus-pipe.h
check_include_file(io.h HAVE_IO_H) # internal
check_include_file(linux/close_range.h HAVE_LINUX_CLOSE_RANGE_H)
check_include_file(locale.h HAVE_LOCALE_H)
-check_include_file(memory.h HAVE_MEMORY_H)
check_include_file(signal.h HAVE_SIGNAL_H)
check_include_file(stdint.h HAVE_STDINT_H) # dbus-pipe.h
-check_include_file(stdlib.h HAVE_STDLIB_H)
check_include_file(stdio.h HAVE_STDIO_H) # dbus-sysdeps.h
-check_include_file(string.h HAVE_STRING_H)
-check_include_file(strings.h HAVE_STRINGS_H)
check_include_file(syslog.h HAVE_SYSLOG_H)
check_include_files("stdint.h;sys/types.h;sys/event.h" HAVE_SYS_EVENT_H)
check_include_file(sys/inotify.h HAVE_SYS_INOTIFY_H)
check_include_file(sys/random.h HAVE_SYS_RANDOM_H)
check_include_file(sys/resource.h HAVE_SYS_RESOURCE_H)
-check_include_file(sys/stat.h HAVE_SYS_STAT_H)
check_include_file(sys/syscall.h HAVE_SYS_SYSCALL_H)
-check_include_file(sys/types.h HAVE_SYS_TYPES_H)
-check_include_file(sys/uio.h HAVE_SYS_UIO_H)
check_include_file(sys/prctl.h HAVE_SYS_PRCTL_H)
check_include_file(sys/syslimits.h HAVE_SYS_SYSLIMITS_H) # dbus-sysdeps-unix.c
check_include_file(sys/time.h HAVE_SYS_TIME_H)# dbus-sysdeps-win.c
-check_include_file(sys/wait.h HAVE_SYS_WAIT_H)# dbus-sysdeps-win.c
-check_include_file(time.h HAVE_TIME_H) # dbus-sysdeps-win.c
check_include_file(ws2tcpip.h HAVE_WS2TCPIP_H)# dbus-sysdeps-win.c
check_include_file(unistd.h HAVE_UNISTD_H) # dbus-sysdeps-util-win.c
check_include_file(sys/inotify.h DBUS_BUS_ENABLE_INOTIFY)
diff --git a/cmake/config.h.cmake b/cmake/config.h.cmake
index f0fb75e2..69f88fea 100644
--- a/cmake/config.h.cmake
+++ b/cmake/config.h.cmake
@@ -101,17 +101,9 @@
/* Define to 1 if you have dirent.h */
#cmakedefine HAVE_DIRENT_H 1
-#cmakedefine HAVE_DLFCN_H 1
-
/* Define to 1 if you have errno.h */
#cmakedefine HAVE_ERRNO_H 1
-#cmakedefine HAVE_EXECINFO_H 1
-#cmakedefine HAVE_EXPAT_H 1
-
-/* Define to 1 if you have grp.h */
-#cmakedefine HAVE_GRP_H 1
-
/* Define to 1 if you have inttypes.h */
#cmakedefine HAVE_INTTYPES_H 1
@@ -121,8 +113,6 @@
/* Define to 1 if you have locale.h */
#cmakedefine HAVE_LOCALE_H 1
-#cmakedefine HAVE_MEMORY_H 1
-
/* Define to 1 if you have poll */
#cmakedefine HAVE_POLL 1
@@ -132,20 +122,15 @@
/* Define to 1 if you have stdint.h */
#cmakedefine HAVE_STDINT_H 1
-#cmakedefine HAVE_STDLIB_H 1
-
/* Define to 1 if you have stdio.h */
#cmakedefine HAVE_STDIO_H 1
-#cmakedefine HAVE_STRINGS_H 1
-#cmakedefine HAVE_STRING_H 1
#cmakedefine HAVE_SYSLOG_H 1
#cmakedefine HAVE_SYS_EVENTS_H 1
#cmakedefine HAVE_SYS_INOTIFY_H 1
#cmakedefine HAVE_SYS_PRCTL_H 1
#cmakedefine HAVE_SYS_RANDOM_H 1
#cmakedefine HAVE_SYS_RESOURCE_H 1
-#cmakedefine HAVE_SYS_STAT_H 1
/* Define to 1 if you have sys/syslimits.h */
#cmakedefine HAVE_SYS_SYSLIMITS_H 1
@@ -153,16 +138,6 @@
/* Define to 1 if you have sys/time.h */
#cmakedefine HAVE_SYS_TIME_H 1
-#cmakedefine HAVE_SYS_TYPES_H 1
-
-#cmakedefine HAVE_SYS_UIO_H 1
-
-/* Define to 1 if you have sys/wait.h */
-#cmakedefine HAVE_SYS_WAIT_H 1
-
-/* Define to 1 if you have time.h */
-#cmakedefine HAVE_TIME_H 1
-
/* Define to 1 if you have unistd.h */
#cmakedefine HAVE_UNISTD_H 1