getconf: only use specs that are available
commita1aaae7b8731a25b7dd8b6a58713dcfc339c3c44
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 4 Dec 2010 09:29:42 +0000 (4 10:29 +0100)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Wed, 8 Dec 2010 16:24:58 +0000 (8 17:24 +0100)
treee0d653950da5c86569b5f7d790d6144108f422ae
parente2903ddb06b1f50cb4ac9af0b035c74ed6b9d30f
getconf: only use specs that are available

On older glibc (like 2.7), the _SC_V7_* symbols are not defined,
making the build of current uClibc fail on Debian Lenny systems and
other systems using a fairly old glibc. So we make sure to only use
the specs names that are defined by the host C library.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
utils/getconf.c