[Commits] [SCM] claws branch, gtk2, updated. 3.19.1-18-g146a81457

jonathan at claws-mail.org jonathan at claws-mail.org
Mon Nov 28 05:57:13 CET 2022


The branch, gtk2 has been updated
       via  146a814572340558048e43a638458f6832fcb02b (commit)
      from  9cdbafc6528dadc4cb74a7f9f5391283a838010e (commit)

Summary of changes:
 configure.ac | 5 +++++
 1 file changed, 5 insertions(+)


- Log -----------------------------------------------------------------
commit 146a814572340558048e43a638458f6832fcb02b
Author: Jonathan Boeing <jonathan at claws-mail.org>
Date:   Sun Nov 27 18:47:38 2022 -0700

    Use libetpan CFLAGS for header check

diff --git a/configure.ac b/configure.ac
index 6e260a345..b455eff85 100644
--- a/configure.ac
+++ b/configure.ac
@@ -984,13 +984,18 @@ if test x"$enable_libetpan" = xyes; then
         fi
     ])
     if test "x$libetpan_config" = "xyes"; then
+        libetpan_save_CPPFLAGS=$CPPFLAGS
+        CPPFLAGS="$CPPFLAGS $LIBETPAN_CFLAGS"
         AC_CHECK_HEADER(libetpan/libetpan.h, [libetpan_result=yes])
         if test "x$libetpan_result" = "xyes"; then
             AC_MSG_CHECKING([whether libetpan-config hints compiles and links fine])
+            libetpan_save_LIBS=$LIBS
             LIBS="$LIBS $LIBETPAN_LIBS"
             AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <libetpan/dbstorage.h>]], [[db_mailstorage_init(NULL, NULL);]])],[libetpan_result=yes],[libetpan_result=no])
+            LIBS=$libetpan_save_LIBS
             AC_MSG_RESULT([$libetpan_result])
         fi
+        CPPFLAGS=$libetpan_save_CPPFLAGS
     fi
     if test "x$libetpan_result" = "xyes"; then
         if test $libetpan_versiontype -eq 1; then

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


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list