changeset 1601:3efc92a48945

Add pkg check for the Loudmouth library
author Mikael Berthe <mikael@lilotux.net>
date Sun, 11 Oct 2009 15:59:20 +0200
parents c5ee395fbc8c
children f4a2c6f767d1
files mcabber/configure.ac
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/mcabber/configure.ac	Tue Sep 23 10:59:25 2008 +0200
+++ b/mcabber/configure.ac	Sun Oct 11 15:59:20 2009 +0200
@@ -138,9 +138,8 @@
                                   [g_list_append])],
                  [g_regex_new])
 
-dnl AC_CHECK_LIB([loudmouth1],[lm_session_is_open],,AC_MSG_ERROR([ERROR! loudmouth1 not found...]))
-LOUDMOUTH_CFLAGS=`pkg-config --cflags loudmouth-1.0`
-LOUDMOUTH_LIBS=`pkg-config --libs loudmouth-1.0`
+# Check for loudmouth
+PKG_CHECK_MODULES(LOUDMOUTH, loudmouth-1.0 >= 1.4.3)
 AC_SUBST(LOUDMOUTH_CFLAGS)
 AC_SUBST(LOUDMOUTH_LIBS)