• S
    ./configure: add link check for nss-smartcard · 5f01e06f
    Sergei Trofimovich 提交于
    Current './configure --static && make' fails for me:
    
        LINK  qemu-nbd
        /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lssl3
        /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lsmime3
        /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lnssutil3
        /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lnss3
        /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lplds4
        /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lplc4
        /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lnspr4
    
    My system does not provide static libraries for nss, so
    fix autoconfiguration by link checking.
    Signed-off-by: NSergei Trofimovich <slyfox@gentoo.org>
    CC: qemu-trivial <qemu-trivial@nongnu.org>
    Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
    5f01e06f
configure 96.5 KB