From 1ee46a8603c33f84e92789bb88d8f2af127f4f42 Mon Sep 17 00:00:00 2001 From: Nick Roberts Date: Fri, 2 Feb 2007 22:55:54 +0000 Subject: * configure.ac: Test for sys/resource.h and getrusage. * configure, config.in: Regenerate. --- gdb/configure.ac | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gdb/configure.ac') diff --git a/gdb/configure.ac b/gdb/configure.ac index f0ce4629a67..6cc61fe212f 100644 --- a/gdb/configure.ac +++ b/gdb/configure.ac @@ -376,6 +376,7 @@ AC_CHECK_HEADERS(sys/file.h) AC_CHECK_HEADERS(sys/filio.h) AC_CHECK_HEADERS(sys/ioctl.h) AC_CHECK_HEADERS(sys/param.h) +AC_CHECK_HEADERS(sys/resource.h) AC_CHECK_HEADERS(sys/proc.h, [], [], [#if HAVE_SYS_PARAM_H # include @@ -463,6 +464,7 @@ AC_FUNC_ALLOCA AC_FUNC_MMAP AC_FUNC_VFORK AC_CHECK_FUNCS(canonicalize_file_name realpath) +AC_CHECK_FUNCS(getrusage) AC_CHECK_FUNCS(getuid getgid) AC_CHECK_FUNCS(poll) AC_CHECK_FUNCS(pread64) -- cgit v1.2.1