configure.ac: Fix test for gg_is_gpl_complaint in non-standard location

Sun, 25 Sep 2016 13:10:06 -0500

author
Mike Ruprecht <cmaiku@gmail.com>
date
Sun, 25 Sep 2016 13:10:06 -0500
changeset 38065
2faa45c9123a
parent 38064
7cb860a7bb2e
child 38066
2e94b6fa06a0

configure.ac: Fix test for gg_is_gpl_complaint in non-standard location

If libgadu isn't in a standard library include directory (aka Windows),
AC_CHECK_LIB() will fail, unable to find it. This patch adds the
pkg-config $LIBGADU_LIBS variable to AC_CHECK_LIB()'s other-libraries
argument in order to allow it to find the library, wherever it is.

configure.ac file | annotate | diff | comparison | revisions
--- a/configure.ac	Thu Sep 22 14:00:27 2016 -0500
+++ b/configure.ac	Sun Sep 25 13:10:06 2016 -0500
@@ -1198,7 +1198,7 @@
 
 Falling back to using our own copy of libgadu.
 		])
-	])
+	], [$LIBGADU_LIBS])
 fi
 
 AM_CONDITIONAL(HAVE_LIBGADU, test "x$have_libgadu" = "xyes")

mercurial