tvheadend/tvheadend — pull request #140 by rkunze (2012-09-13 00:08:24+00:00)
Title: Fix compile error on systems without getloadavg() (e.g. uClibc)

Commit b310f6e035d1f1d48a91671714b98225d3e2753c breaks compilation on uClibc because uClibc does not provide getloadavg().

This quick fix adds a configure check for getloadavg() and always returns 0 if getloadavg() is not available.