configure: Link test before auto-enabling crypto libraries
commita73e82ef91278f34990fa36c59842a9e35767a51
authorRichard Henderson <richard.henderson@linaro.org>
Fri, 10 May 2019 01:24:35 +0000 (9 18:24 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Wed, 22 May 2019 16:08:21 +0000 (22 12:08 -0400)
tree72490751b4a7279942f05a2730db0017f128e13c
parenta4f667b6714916683408b983cfe0a615a725775f
configure: Link test before auto-enabling crypto libraries

At least ubuntu 18.04 does not package static gnutls libraries.
At least Fedora 30 does not ship static nettle and gcrypt libraries.

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Laurent Vivier <lvivier@redhat.com>
Tested-by: Laurent Vivier <lvivier@redhat.com>
Message-Id: <20190510012458.22706-2-richard.henderson@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
configure