]> git.ipfire.org Git - thirdparty/chrony.git/commitdiff
configure: suppress pkg-config errors
authorMiroslav Lichvar <mlichvar@redhat.com>
Wed, 5 Feb 2014 07:53:15 +0000 (08:53 +0100)
committerMiroslav Lichvar <mlichvar@redhat.com>
Wed, 5 Feb 2014 07:53:15 +0000 (08:53 +0100)
configure

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