pidgin/pidgin

1d70f77644ca
Parents 3da74e727e78
Children 7687aa5f7880
configure.ac: Don't link libgadu to everything

When AC_CHECK_LIB() is used, if no argument is
passed, it automatically puts the library into $LIBS [1]. This was
happening for libgadu, which should only be in the gg prpl.
This patch gives it enough for an argument to
stop this from happening.

[1] https://www.gnu.org/software/autoconf/manual/autoconf-2.66/html_node/Libraries.html
  • +1 -1
    configure.ac
  • --- a/configure.ac Thu Jun 01 19:59:58 2017 -0500
    +++ b/configure.ac Wed Jun 07 16:14:42 2017 -0500
    @@ -1189,7 +1189,7 @@
    if test "x$enable_libgadu" = "xyes"; then
    PKG_CHECK_MODULES(LIBGADU, [libgadu >= 1.12.0], [
    have_libgadu=yes
    - AC_CHECK_LIB(gadu, gg_is_gpl_compliant, , [
    + AC_CHECK_LIB(gadu, gg_is_gpl_compliant, [ ], [
    LIBGADU_LIBS=""
    LIBGADU_CFLAGS=""
    have_libgadu=no