From 4d038935246576fecd13e243f2e58b1fcbff7e92 Mon Sep 17 00:00:00 2001 From: Krzesimir Nowak Date: Mon, 2 Jul 2012 22:58:35 +0200 Subject: Bump default minimum perl version to 5.12.0. * macros/mm-pkg.m4: Version 5.12.0 is the one needed by refactored gmmproc. --- macros/mm-pkg.m4 | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/macros/mm-pkg.m4 b/macros/mm-pkg.m4 index 86f94d2..f1f49ca 100644 --- a/macros/mm-pkg.m4 +++ b/macros/mm-pkg.m4 @@ -1,4 +1,5 @@ ## Copyright (c) 2009 Openismus GmbH +## Copyright (c) 2012 Krzesimir Nowak ## ## This file is part of mm-common. ## @@ -15,7 +16,7 @@ ## You should have received a copy of the GNU General Public License ## along with mm-common. If not, see . -#serial 20090822 +#serial 20120702 ## _MM_CHECK_GNU_MAKE ## @@ -35,8 +36,8 @@ AS_IF([[$]{MAKE-make} -f conftest.make >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD] [mm_gnu_make=yes], [mm_gnu_make=no]) rm -f conftest.make AC_MSG_RESULT([$mm_gnu_make]) -AS_IF([test "x$mm_gnu_make" != xyes], - [AC_MSG_FAILURE([[The GNU make program is required to build $PACKAGE_NAME.]])])[]dnl +AS_VAR_IF([mm_gnu_make], ['yes'],, + [AC_MSG_FAILURE([[The GNU make program is required to build $PACKAGE_NAME.]])])[]dnl ]) ## MM_CHECK_GNU_MAKE @@ -89,14 +90,14 @@ AS_IF([$PERL -e "require v$1; exit 0;" >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD] ## Run MM_PATH_PERL and then check whether the Perl interpreter can be ## executed and whether it meets the version requirement of ## or later. Execute on success, otherwise execute -## . The default value of is 5.6.0 +## . The default value of is 5.12.0 ## if the argument is empty. ## AC_DEFUN([MM_CHECK_PERL], [dnl AC_REQUIRE([_MM_PRE_INIT])[]dnl AC_REQUIRE([_MM_PATH_PERL])[]dnl -_MM_CHECK_PERL(m4_ifval([$1], [[$1]], [[5.6.0]]), [$2], [$3])[]dnl +_MM_CHECK_PERL(m4_ifval([$1], [[$1]], [[5.12.0]]), [$2], [$3])[]dnl ]) ## MM_PKG_CONFIG_SUBST(variable, arguments, [action-if-found], [action-if-not-found]) -- cgit v1.2.1