configure: suppress pkg-config errors

This commit is contained in:
Miroslav Lichvar 2014-02-05 08:53:15 +01:00
parent 726cf84e19
commit ea526b96dd

4
configure vendored
View file

@ -537,8 +537,8 @@ HASH_COMPILE=""
HASH_LINK="" HASH_LINK=""
if [ $try_nss = "1" ]; then if [ $try_nss = "1" ]; then
test_cflags="`pkg-config --cflags nss`" test_cflags="`pkg-config --cflags nss 2> /dev/null`"
test_link="`pkg-config --libs-only-L nss` -lfreebl3" test_link="`pkg-config --libs-only-L nss 2> /dev/null` -lfreebl3"
if test_code 'NSS' 'nss.h hasht.h nsslowhash.h' \ if test_code 'NSS' 'nss.h hasht.h nsslowhash.h' \
"$test_cflags" "$test_link" \ "$test_cflags" "$test_link" \
'NSSLOWHASH_Begin(NSSLOWHASH_NewContext(NSSLOW_Init(), HASH_AlgSHA512));' 'NSSLOWHASH_Begin(NSSLOWHASH_NewContext(NSSLOW_Init(), HASH_AlgSHA512));'