changeset 4368:6a26dabad84f

Separate gthread test.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 25 Mar 2008 15:16:24 +0200
parents 3aeb45aeeaed
children 2fa51f742f25
files configure.ac
diffstat 1 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/configure.ac	Sun Mar 16 23:18:35 2008 +0100
+++ b/configure.ac	Tue Mar 25 15:16:24 2008 +0200
@@ -87,7 +87,12 @@
 
 dnl Check for GTK/GLib/GThread/Pango
 
-PKG_CHECK_MODULES(GLIB, [glib-2.0 >= 2.14.0 gthread-2.0],
+PKG_CHECK_MODULES(GLIB, [gthread-2.0],
+    [ADD_PC_REQUIRES([gthread-2.0 >= 2.14.0])],
+    [AC_MSG_ERROR([Cannot find gthread-2.0 >= 2.14.0])]
+)
+
+PKG_CHECK_MODULES(GLIB, [glib-2.0 >= 2.14.0],
     [ADD_PC_REQUIRES([glib-2.0 >= 2.14.0])],
     [AC_MSG_ERROR([Cannot find Glib2 >= 2.14.0])]
 )