qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] configure: use glib in glib pkg-config check.
@ 2014-02-03  4:26 Chris Johns
  2014-02-03 10:29 ` Daniel P. Berrange
  0 siblings, 1 reply; 6+ messages in thread
From: Chris Johns @ 2014-02-03  4:26 UTC (permalink / raw)
  To: qemu-devel; +Cc: 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 <chrisj@rtems.org>
---
 configure | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/configure b/configure
index b472694..12f730f 100755
--- a/configure
+++ b/configure
@@ -2343,9 +2343,9 @@ if test "$mingw32" = yes; then
 else
     glib_req_ver=2.12
 fi
-if $pkg_config --atleast-version=$glib_req_ver gthread-2.0; then
-    glib_cflags=`$pkg_config --cflags gthread-2.0`
-    glib_libs=`$pkg_config --libs gthread-2.0`
+if $pkg_config --atleast-version=$glib_req_ver glib-2.0; then
+    glib_cflags=`$pkg_config --cflags glib-2.0`
+    glib_libs=`$pkg_config --libs glib-2.0`
     LIBS="$glib_libs $LIBS"
     libs_qga="$glib_libs $libs_qga"
 else
-- 
1.8.3.4 (Apple Git-47)

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-02-05  5:31 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-03  4:26 [Qemu-devel] [PATCH] configure: use glib in glib pkg-config check Chris Johns
2014-02-03 10:29 ` Daniel P. Berrange
2014-02-03 22:56   ` Chris Johns
2014-02-03 23:17     ` Peter Maydell
2014-02-04  9:59     ` Daniel P. Berrange
2014-02-05  5:31       ` Chris Johns

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).