diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2012-12-20 20:40:35 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2013-01-12 17:19:38 +0100 |
commit | b6fc675b25d32f018870e202eb4b2a6eb509f88b (patch) | |
tree | 53702e8cae473a9448bc8115ac2aa1f7550e9ce3 /configure | |
parent | e832341bde5448a6a1392ea903a553497a13763b (diff) | |
download | qemu-b6fc675b25d32f018870e202eb4b2a6eb509f88b.zip qemu-b6fc675b25d32f018870e202eb4b2a6eb509f88b.tar.gz qemu-b6fc675b25d32f018870e202eb4b2a6eb509f88b.tar.bz2 |
libcacard: require libtool to build it
Do not fail at build time, instead just disable the library if libtool
is not present.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -2824,7 +2824,8 @@ EOF if test "$werror" = "yes"; then test_cflags="-Werror $test_cflags" fi - if $pkg_config --atleast-version=3.12.8 nss >/dev/null 2>&1 && \ + if test -n "$libtool" && + $pkg_config --atleast-version=3.12.8 nss >/dev/null 2>&1 && \ compile_prog "$test_cflags" "$libcacard_libs"; then smartcard_nss="yes" QEMU_CFLAGS="$QEMU_CFLAGS $libcacard_cflags" |