Re: [Qemu-devel] [PATCH] configure: use glib in glib pkg-config check.

2014-02-04 Thread Chris Johns
On 4/02/2014 8:59 pm, Daniel P. Berrange wrote: On Linux there are more flags present in gthread-2.0.pc that are not present in glib-2.0.pc: Name: GThread Description: Thread support for GLib Requires: glib-2.0 Version: 2.38.2 Libs: -L${libdir} -lgthread-2.0 -pthread Cflags: -

Re: [Qemu-devel] [PATCH] configure: use glib in glib pkg-config check.

2014-02-04 Thread Daniel P. Berrange
On Tue, Feb 04, 2014 at 09:56:38AM +1100, Chris Johns wrote: > On 3/02/2014 9:29 pm, Daniel P. Berrange wrote: > >On Mon, Feb 03, 2014 at 03:26:15PM +1100, Chris Johns wrote: > >>Building against with a recent glib in a custom prefix fails because > >>the gthread cflags in the pkg-config file do no

Re: [Qemu-devel] [PATCH] configure: use glib in glib pkg-config check.

2014-02-03 Thread Peter Maydell
On 3 February 2014 22:56, Chris Johns wrote: > On 3/02/2014 9:29 pm, Daniel P. Berrange wrote: >> This change will cause -pthread linker + compiler flag to be lost. >> > > I see in gthread-2.0.pc .. > > Libs: -L${libdir} -lgthread-2.0 > Cflags: -D_REENTRANT > > and qemu includes 'glib.h'. Witho

Re: [Qemu-devel] [PATCH] configure: use glib in glib pkg-config check.

2014-02-03 Thread Chris Johns
On 3/02/2014 9:29 pm, Daniel P. Berrange wrote: On Mon, Feb 03, 2014 at 03:26:15PM +1100, Chris Johns wrote: Building against with a recent glib in a custom prefix fails because the gthread cflags in the pkg-config file do not have the correct path while the glib pc file does. Signed-off-by: Ch

Re: [Qemu-devel] [PATCH] configure: use glib in glib pkg-config check.

2014-02-03 Thread Daniel P. Berrange
On Mon, Feb 03, 2014 at 03:26:15PM +1100, Chris Johns wrote: > Building against with a recent glib in a custom prefix fails because > the gthread cflags in the pkg-config file do not have the correct path > while the glib pc file does. > > Signed-off-by: Chris Johns > --- > configure | 6 +++---

[Qemu-devel] [PATCH] configure: use glib in glib pkg-config check.

2014-02-02 Thread Chris Johns
Building against with a recent glib in a custom prefix fails because the gthread cflags in the pkg-config file do not have the correct path while the glib pc file does. Signed-off-by: Chris Johns --- configure | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/configure b/