Re: [Qemu-devel] [PATCH] configure: Work around broken static pkg-config info for Ubuntu gnutls

2015-07-27 Thread Peter Maydell
On 24 July 2015 at 18:35, Daniel P. Berrange wrote: > On Fri, Jul 24, 2015 at 06:28:08PM +0100, Peter Maydell wrote: >> 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 aroun

Re: [Qemu-devel] [PATCH] configure: Work around broken static pkg-config info for Ubuntu gnutls

2015-07-24 Thread Daniel P. Berrange
On Fri, Jul 24, 2015 at 06:28:08PM +0100, Peter Maydell wrote: > 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 outpu

[Qemu-devel] [PATCH] configure: Work around broken static pkg-config info for Ubuntu gnutls

2015-07-24 Thread Peter Maydell
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. Sign