configure: Work around broken static pkg-config info for Ubuntu gnutls
commit3737129917c918767cdb8acd8ca6b342c45fa154
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 24 Jul 2015 17:28:08 +0000 (24 18:28 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 27 Jul 2015 15:15:32 +0000 (27 16:15 +0100)
treeb123ad49ac0dab244e4977fc04ad36937f42f239
parent122e7dab8ac549c8c5a9e1e13aa2464190e888de
configure: Work around broken static pkg-config info for Ubuntu gnutls

Unfortunately Ubuntu's pkg-config information for gnutls is broken
for the static linking case, and outputs --libs options which the
compiler does not recognize. Work around this problem by testing
that the --cflags/--libs output will at least allow compilation
before enabling gnutls support.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Daniel P. Berrange <berrange@redhat.com>
Message-id: 1437758888-22486-1-git-send-email-peter.maydell@linaro.org
configure