]> git.ipfire.org Git - thirdparty/dbus.git/commitdiff
Keep include file checks in sync with autotools.
authorRalf Habacker <ralf.habacker@freenet.de>
Thu, 5 Mar 2015 08:02:03 +0000 (09:02 +0100)
committerRalf Habacker <ralf.habacker@freenet.de>
Thu, 5 Mar 2015 12:54:04 +0000 (13:54 +0100)
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=85418
Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
cmake/ConfigureChecks.cmake

index 697db869988664e6316f920697aea7dab706cc23..da8c4fc57abe8f8b8239dc438d25b5d58ce95a99 100644 (file)
@@ -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