[Commits] [SCM] claws branch, master, updated. 3.9.1-6-gb55ac02

claws at claws-mail.org claws at claws-mail.org
Thu May 9 20:56:20 CEST 2013


The branch master of project "claws" (Claws Mail) has been updated
       via  b55ac023dd385d88f31150ff14f2fcc3f48f2dbe (commit)
      from  24d781260b1c2ee451c8bffb39918137398ef06b (commit)


- Log -----------------------------------------------------------------
commit b55ac023dd385d88f31150ff14f2fcc3f48f2dbe
Author: Paul <paul at claws-mail.org>
Date:   Thu May 9 19:56:12 2013 +0100

    add secondary check for libperl.so for distros such as fedora

diff --git a/configure.ac b/configure.ac
index 2eedb04..2361120 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1195,6 +1195,17 @@ if test x"$HAVE_PERL" = xyes; then
 		AC_CHECK_LIB(perl,perl_alloc,[AC_DEFINE(HAVE_LIBPERL, 1, Check for libperl.)], 
 			 		     [ HAVE_LIBPERL=no ])
 	fi
+	if test x"$HAVE_LIBPERL" = xno; then
+		LIBPERL_PREFIX=`perl -MExtUtils::Embed -e perl_inc`
+		LIBPERL_PREFIX=`echo $LIBPERL_PREFIX |sed 's/-I//'`
+		AC_MSG_CHECKING([for libperl.so])
+		if test -f "$LIBPERL_PREFIX/libperl.so"; then
+			AC_MSG_RESULT(yes)
+			HAVE_LIBPERL=yes
+		else
+			AC_MSG_RESULT(no)
+		fi	
+	fi
 	PERL="perl"
 	AC_SUBST(PERL)
 	AC_SUBST(PERL_CFLAGS)

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

Summary of changes:
 configure.ac |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list