summaryrefslogtreecommitdiff
path: root/gdb/configure.ac
diff options
context:
space:
mode:
authorNick Roberts <nickrob@snap.net.nz>2007-02-02 22:55:54 +0000
committerNick Roberts <nickrob@snap.net.nz>2007-02-02 22:55:54 +0000
commit1ee46a8603c33f84e92789bb88d8f2af127f4f42 (patch)
tree10c5790406aaabc3e4fb0a19da16eff0b640097e /gdb/configure.ac
parentb5b460f992fed1a701507c0e83bb5b638dacf67e (diff)
downloadgdb-1ee46a8603c33f84e92789bb88d8f2af127f4f42.tar.gz
* configure.ac: Test for sys/resource.h and getrusage.
* configure, config.in: Regenerate.
Diffstat (limited to 'gdb/configure.ac')
-rw-r--r--gdb/configure.ac2
1 files changed, 2 insertions, 0 deletions
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 <sys/param.h>
@@ -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)