Fix gnutls autodetection when using a cross-compiler.
authoraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>
Wed, 6 Aug 2008 16:55:50 +0000 (16:55 +0000)
committeraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>
Wed, 6 Aug 2008 16:55:50 +0000 (16:55 +0000)
commitae6b5e5afd991b52ab2bc2c13ef18837544d741d
tree0ca5bd8043ba3772f5e725220775683b414375a6
parent95f9397c75fad78ccb9eb8e878035554f0e3763d
Fix gnutls autodetection when using a cross-compiler.

It is not enough to check for pkg-config gnutls.  You may be using a
cross-compiler and have gnutls available on the host but not for the target.
This patch changes the detection to try and build an application using gnutls
and whatever compiler is available.

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4989 c046a42c-6fe2-441c-8c8c-71466251a162
configure