summaryrefslogtreecommitdiff
path: root/libiberty/configure.in
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>2000-07-23 19:20:18 +0000
committerJeff Law <law@redhat.com>2000-07-23 19:20:18 +0000
commit8e9f87b700a8bd144afd92d2193cc8180d780504 (patch)
tree174af06f7c7ff13881d87ee71a931acca3466fed /libiberty/configure.in
parent2fa8dafa17c86759408817477167cdc2d377f556 (diff)
downloadbinutils-redhat-8e9f87b700a8bd144afd92d2193cc8180d780504.tar.gz
* configure.in (AC_CHECK_HEADERS): Add time.h.
(AC_HEADER_TIME): Add check. * configure, config.in: Regenerate. * getruntime.c: Portably #include <sys/time.h> and/or <time.h>.
Diffstat (limited to 'libiberty/configure.in')
-rw-r--r--libiberty/configure.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/libiberty/configure.in b/libiberty/configure.in
index ecae1b1b63..041a43dc3c 100644
--- a/libiberty/configure.in
+++ b/libiberty/configure.in
@@ -109,8 +109,9 @@ AC_SUBST_FILE(host_makefile_frag)
# It's OK to check for header files. Although the compiler may not be
# able to link anything, it had better be able to at least compile
# something.
-AC_CHECK_HEADERS(sys/file.h sys/param.h stdlib.h string.h unistd.h strings.h sys/time.h sys/resource.h sys/stat.h sys/mman.h fcntl.h)
+AC_CHECK_HEADERS(sys/file.h sys/param.h limits.h stdlib.h string.h unistd.h strings.h sys/time.h time.h sys/resource.h sys/stat.h sys/mman.h fcntl.h)
AC_HEADER_SYS_WAIT
+AC_HEADER_TIME
libiberty_AC_DECLARE_ERRNO