diff options
author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-05-06 20:57:01 +0000 |
---|---|---|
committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-05-06 20:57:01 +0000 |
commit | 29723d262a200fd27ecc9c27f63a1c7c329c6f0a (patch) | |
tree | c84425eff1ad8e35c49d867dbd132fee45ed254a /libiberty/configure | |
parent | 55ac77b45c5080c441115f93821553270b49de4d (diff) | |
download | ppe42-gcc-29723d262a200fd27ecc9c27f63a1c7c329c6f0a.tar.gz ppe42-gcc-29723d262a200fd27ecc9c27f63a1c7c329c6f0a.zip |
Fred Fish <fnf@be.com>
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26808 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libiberty/configure')
-rwxr-xr-x | libiberty/configure | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libiberty/configure b/libiberty/configure index c55721e9a91..c4ffbd083ce 100755 --- a/libiberty/configure +++ b/libiberty/configure @@ -1055,7 +1055,7 @@ else fi echo "$ac_t""$CPP" 1>&6 -for ac_hdr in sys/file.h sys/param.h stdlib.h string.h unistd.h strings.h sys/time.h +for ac_hdr in sys/file.h sys/param.h stdlib.h string.h unistd.h strings.h sys/time.h sys/resource.h do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |