From 4a8e66dd7c4733046fd09fdd53c52c66f4e4e936 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Fri, 26 Oct 2012 13:10:27 +0200 Subject: Added test of the presence libgadu with automake --- kopete/protocols/configure.in.in | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'kopete/protocols') 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) -- cgit v1.2.1