summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorRalf Habacker <ralf.habacker@freenet.de>2015-03-05 09:02:03 +0100
committerRalf Habacker <ralf.habacker@freenet.de>2015-03-05 13:54:04 +0100
commitadd6b4f554f0246ed886a3cdd3f50cb1a54494e0 (patch)
tree7e85d05fda7fae3873d0a42e6269744a5c1e68bf /cmake
parent4d8a27701ba8f278ea61f513218dac1af3b7e589 (diff)
downloaddbus-add6b4f554f0246ed886a3cdd3f50cb1a54494e0.tar.gz
Keep include file checks in sync with autotools.
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=85418 Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
Diffstat (limited to 'cmake')
-rw-r--r--cmake/ConfigureChecks.cmake34
1 files changed, 25 insertions, 9 deletions
diff --git a/cmake/ConfigureChecks.cmake b/cmake/ConfigureChecks.cmake
index 697db869..da8c4fc5 100644
--- a/cmake/ConfigureChecks.cmake
+++ b/cmake/ConfigureChecks.cmake
@@ -3,23 +3,39 @@ include(CheckSymbolExists)
include(CheckStructMember)
include(CheckTypeSize)
+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(io.h HAVE_IO_H) # internal
+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(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_file(sys/inotify.h HAVE_SYS_INOTIFY_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/types.h HAVE_SYS_TYPES_H)
+check_include_file(sys/uio.h HAVE_SYS_UIO_H)
check_include_file(sys/poll.h HAVE_POLL) # dbus-sysdeps.c, dbus-sysdeps-win.c
+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(stdio.h HAVE_STDIO_H) # dbus-sysdeps.h
-check_include_file(sys/syslimits.h HAVE_SYS_SYSLIMITS_H) # dbus-sysdeps-unix.c
-check_include_file(errno.h HAVE_ERRNO_H) # dbus-sysdeps.c
-check_include_file(signal.h HAVE_SIGNAL_H)
-check_include_file(locale.h HAVE_LOCALE_H)
-check_include_file(inttypes.h HAVE_INTTYPES_H) # dbus-pipe.h
-check_include_file(stdint.h HAVE_STDINT_H) # dbus-pipe.h
-check_include_file(sys/prctl.h HAVE_SYS_PRCTL_H)
check_symbol_exists(backtrace "execinfo.h" HAVE_BACKTRACE) # dbus-sysdeps.c, dbus-sysdeps-win.c
check_symbol_exists(getgrouplist "grp.h" HAVE_GETGROUPLIST) # dbus-sysdeps.c