summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2012-10-26 13:10:27 +0200
committerSlávek Banko <slavek.banko@axis.cz>2012-10-26 13:49:54 +0200
commit265c466a8ced599d51457ec1630badf6b480460d (patch)
tree311e25859c6a6f442f9d19093c1daef0af33b095
parent98b77bd1165869ec8cfaf41ab86994030d02247a (diff)
downloadtdenetwork-265c466a8ced599d51457ec1630badf6b480460d.tar.gz
tdenetwork-265c466a8ced599d51457ec1630badf6b480460d.zip
Added test of the presence libgadu with automake
(cherry picked from commit 4a8e66dd7c4733046fd09fdd53c52c66f4e4e936)
-rw-r--r--kopete/protocols/configure.in.in10
1 files changed, 10 insertions, 0 deletions
diff --git a/kopete/protocols/configure.in.in b/kopete/protocols/configure.in.in
index 0008f19e..7a96cc9a 100644
--- a/kopete/protocols/configure.in.in
+++ b/kopete/protocols/configure.in.in
@@ -27,6 +27,16 @@ fi
dnl This may need a test still for compatibility
COMPILE_GADU=true
use_libgadu_copy=
+if test "$with_external_libgadu" != "no" ; then
+ # Check and setup for libgadu
+ KDE_PKG_CHECK_MODULES(LIBGG, libgadu, [have_libgg=yes], [have_libgg=no])
+ if test "x$have_libgg" = "xno"; then
+ COMPILE_GADU=
+ AC_MSG_RESULT([not found])
+ else
+ AC_MSG_RESULT([found])
+ fi
+fi
AC_SUBST(LIBGG_INCLUDES)
AC_SUBST(LIBGG_LIBS)