Test for getrusage() instead of the existence of resource.h
commit31567de35d261eeb23c9545fb652f28c749fe51a
authorTobias Grosser <tobias@grosser.es>
Sun, 16 Oct 2011 16:41:56 +0000 (16 17:41 +0100)
committerTobias Grosser <tobias@grosser.es>
Mon, 17 Oct 2011 17:06:01 +0000 (17 18:06 +0100)
tree329a73ec01c4f384b6783b150ab07a2d7131e11d
parent2542c0a191e24b5d91c447aee94992c318cb05b1
Test for getrusage() instead of the existence of resource.h

This fixes compilation on Minix, as this system has the sys/resource.h
header for getpriority() and getrlimit(), but it does not support
getrusage().

Contributed by: Thomas Cort <linuxgeek@gmail.com>
Signed-off-by: Tobias Grosser <tobias@grosser.es>
configure.ac