Mercurial > ~mikael > mcabber > hg
comparison mcabber/configure.ac @ 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 | a087125d8fc8 |
children | d7f26538c24c |
comparison
equal
deleted
inserted
replaced
1600:c5ee395fbc8c | 1601:3efc92a48945 |
---|---|
136 [Define if GLib has regex support])], | 136 [Define if GLib has regex support])], |
137 [AM_PATH_GLIB_2_0(2.0.0, , AC_MSG_ERROR([glib is required]), | 137 [AM_PATH_GLIB_2_0(2.0.0, , AC_MSG_ERROR([glib is required]), |
138 [g_list_append])], | 138 [g_list_append])], |
139 [g_regex_new]) | 139 [g_regex_new]) |
140 | 140 |
141 dnl AC_CHECK_LIB([loudmouth1],[lm_session_is_open],,AC_MSG_ERROR([ERROR! loudmouth1 not found...])) | 141 # Check for loudmouth |
142 LOUDMOUTH_CFLAGS=`pkg-config --cflags loudmouth-1.0` | 142 PKG_CHECK_MODULES(LOUDMOUTH, loudmouth-1.0 >= 1.4.3) |
143 LOUDMOUTH_LIBS=`pkg-config --libs loudmouth-1.0` | |
144 AC_SUBST(LOUDMOUTH_CFLAGS) | 143 AC_SUBST(LOUDMOUTH_CFLAGS) |
145 AC_SUBST(LOUDMOUTH_LIBS) | 144 AC_SUBST(LOUDMOUTH_LIBS) |
146 | 145 |
147 # Check for gpgme | 146 # Check for gpgme |
148 AC_ARG_ENABLE(gpgme, AC_HELP_STRING([--disable-gpgme], [disable GPGME support]), | 147 AC_ARG_ENABLE(gpgme, AC_HELP_STRING([--disable-gpgme], [disable GPGME support]), |