[Commits] [SCM] claws branch, master, updated. 3.11.1-50-g22e05b4

ticho at claws-mail.org ticho at claws-mail.org
Mon Dec 22 19:45:16 CET 2014


The branch, master has been updated
       via  22e05b492f09ed1d20cd48e1917d1dead0fc248e (commit)
      from  b018455356c552441128c1004be4633b9947ff7a (commit)

Summary of changes:
 configure.ac |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


- Log -----------------------------------------------------------------
commit 22e05b492f09ed1d20cd48e1917d1dead0fc248e
Author: Andrej Kacian <ticho at claws-mail.org>
Date:   Mon Dec 22 19:42:55 2014 +0100

    Use AC_CHECK_LIB instead of AC_SEARCH_LIBS, to prevent adding -larchive to global LIBS variable. This gets rid of superfluous dynamic link against libarchive in all built executables (claws-mail and plugins).

diff --git a/configure.ac b/configure.ac
index 3966e41..9439980 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1096,7 +1096,7 @@ AC_SUBST(LIBSOUP_GNOME_CFLAGS)
 AC_SUBST(LIBSOUP_GNOME_LIBS)
 
 dnl libarchive *****************************************************************
-AC_SEARCH_LIBS([archive_read_new], [archive],
+AC_CHECK_LIB([archive], [archive_read_new],
 		       ARCHIVE_LIBS=-larchive
 		       HAVE_ARCHIVE=yes
 		       AC_SUBST(ARCHIVE_LIBS),

-----------------------------------------------------------------------


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list