* configure.in (sys/resource.h): Add to AC_CHECK_HEADERS list.
authorRichard Henderson <rth@redhat.com>
Thu, 6 May 1999 20:59:17 +0000 (20:59 +0000)
committerRichard Henderson <rth@redhat.com>
Thu, 6 May 1999 20:59:17 +0000 (20:59 +0000)
commit33fbbfbc00e8c3a6cbdadfdd367126c5f76170ec
tree20d6af70a308fc8e21d034cc9b6c8e68c2ae0a5a
parent03987ceda10cf6d46476f5bd53be660c018e7d12
    * configure.in (sys/resource.h): Add to AC_CHECK_HEADERS list.
        * getruntime.c: Only attempt to include sys/resource.h and
        use getrusage if both HAVE_GETRUSAGE and HAVE_SYS_RESOURCE_H
        are defined.
libiberty/ChangeLog
libiberty/configure
libiberty/configure.in
libiberty/getruntime.c