[Commits] [SCM] claws branch, gtk2, updated. 3.19.1-3-gd473f965a
mones at claws-mail.org
mones at claws-mail.org
Mon Oct 24 16:33:02 UTC 2022
The branch, gtk2 has been updated
via d473f965a7a7c203b079cdbde1b80ccc2a275bda (commit)
from 40a6540eac73bdde2d4b96d6b1598f12ebf1b734 (commit)
Summary of changes:
configure.ac | 33 ++++++++++++++++++++-------------
1 file changed, 20 insertions(+), 13 deletions(-)
- Log -----------------------------------------------------------------
commit d473f965a7a7c203b079cdbde1b80ccc2a275bda
Author: Ricardo Mones <ricardo at mones.org>
Date: Mon Oct 24 18:32:07 2022 +0200
Allow building vCalendar without ExtUtils::Embed
Thanks Paul for the heads up!
diff --git a/configure.ac b/configure.ac
index f29b37271..07483efeb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1334,8 +1334,15 @@ if test x"$HAVE_PERL" = xyes; then
fi
if test x"$HAVE_PERL" = xyes; then
AC_MSG_CHECKING(for perl module ExtUtils::Embed)
+ PERL_MOD_EXT_UTILS_EMBED=no
if perl -MExtUtils::Embed; then
AC_MSG_RESULT(ok)
+ PERL_MOD_EXT_UTILS_EMBED=yes
+ else
+ AC_MSG_RESULT(no)
+ fi
+
+ if test x"$PERL_MOD_EXT_UTILS_EMBED" = xyes; then
AC_MSG_CHECKING(for Perl compile flags)
PERL_CFLAGS=`perl -MExtUtils::Embed -e ccopts`
PERL_CFLAGS=`echo $PERL_CFLAGS | sed 's/-D_FILE_OFFSET_BITS=[[0-9]]*//'`
@@ -1345,25 +1352,25 @@ if test x"$HAVE_PERL" = xyes; then
PERL_LDFLAGS=`echo $PERL_LDFLAGS |sed 's/-lc\>//'`
AC_MSG_RESULT(ok)
AC_MSG_NOTICE([Adding perl LIBS ${PERL_CFLAGS}])
- else
- AC_MSG_RESULT(no)
- HAVE_PERL=no
fi
-
+
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
+ if test x"$PERL_MOD_EXT_UTILS_EMBED" = xyes; 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
fi
PERL="perl"
AC_SUBST(PERL)
-----------------------------------------------------------------------
hooks/post-receive
--
Claws Mail
More information about the Commits
mailing list