aboutsummaryrefslogtreecommitdiff
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
commit7eb368b35276303266b257bebbf2ddaf34173ae8 (patch)
treed45afd758736388485d143f10a07bd29f7d43fb5 /gdb/configure.ac
parentc4f5c3d74c9a860cf1c762e2deb906212a71864c (diff)
downloadgdb-7eb368b35276303266b257bebbf2ddaf34173ae8.zip
gdb-7eb368b35276303266b257bebbf2ddaf34173ae8.tar.gz
gdb-7eb368b35276303266b257bebbf2ddaf34173ae8.tar.bz2
* 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 f0ce462..6cc61fe 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)