further pcc fixes in configure
authorRich Felker <dalias@aerifal.cx>
Fri, 26 Oct 2012 22:15:51 +0000 (18:15 -0400)
committerRich Felker <dalias@aerifal.cx>
Fri, 26 Oct 2012 22:15:51 +0000 (18:15 -0400)
commitcd31a1fc089ab89fba2720926ea55e69eb311042
tree91903803d10cd85d7de3573448f3fd984307783e
parent3d99266b5e8fc6374a9d930f3ae9d444ffebb11e
further pcc fixes in configure

-lpcc only works if -nostdlib is not passed, so it's useless. instead,
use -print-file-name to look up the full pathname for libpcc.a, and
check whether that succeeds before trying to link with the result.

also, silence pcc's junk printed on stdout during tests.
configure