summaryrefslogtreecommitdiff
path: root/cmake/ConfigureChecks.cmake
diff options
context:
space:
mode:
authorRalf Habacker <ralf.habacker@freenet.de>2007-03-08 08:36:47 +0000
committerRalf Habacker <ralf.habacker@freenet.de>2007-03-08 08:36:47 +0000
commit5f5a1a3366e2b30a2e2183222e3e5d704b9d5e58 (patch)
tree8b8a956384156ed6ba510be380fba2be559ccda5 /cmake/ConfigureChecks.cmake
parente24922e4b59ed6d9a76e71213cdfe9f6f9b1f564 (diff)
downloaddbus-5f5a1a3366e2b30a2e2183222e3e5d704b9d5e58.tar.gz
* cmake/ConfigureChecks.cmake: fixed socketpair check, added setrlimit check really
Diffstat (limited to 'cmake/ConfigureChecks.cmake')
-rw-r--r--cmake/ConfigureChecks.cmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmake/ConfigureChecks.cmake b/cmake/ConfigureChecks.cmake
index ec80e74a..7798ecc4 100644
--- a/cmake/ConfigureChecks.cmake
+++ b/cmake/ConfigureChecks.cmake
@@ -20,9 +20,10 @@ check_symbol_exists(getpeerucred "ucred.h" HAVE_GETPEERUCRED) #
check_symbol_exists(nanosleep "time.h" HAVE_NANOSLEEP) # dbus-sysdeps.c
check_symbol_exists(getpwnam_r "errno.h pwd.h" HAVE_POSIX_GETPWNAM_R) # dbus-sysdeps-util-unix.c
check_symbol_exists(setenv "stdlib.h" HAVE_SETENV) # dbus-sysdeps.c
-check_symbol_exists(socketpair "sys/socket.h.h" HAVE_SOCKETPAIR) # dbus-sysdeps.c
+check_symbol_exists(socketpair "sys/socket.h" HAVE_SOCKETPAIR) # dbus-sysdeps.c
check_symbol_exists(unsetenv "stdlib.h" HAVE_UNSETENV) # dbus-sysdeps.c
check_symbol_exists(writev "sys/uio.h" HAVE_WRITEV) # dbus-sysdeps.c, dbus-sysdeps-win.c
+check_symbol_exists(setrlimit "sys/resource.h" HAVE_SETRLIMIT) # dbus-sysdeps.c, dbus-sysdeps-win.c, test/test-segfault.c
check_struct_member(cmsgcred cmcred_pid "sys/types.h sys/socket.h" HAVE_CMSGCRED) # dbus-sysdeps.c