summaryrefslogtreecommitdiff
path: root/macros
diff options
context:
space:
mode:
authorDaniel Elstner <danielk@openismus.com>2009-08-21 12:14:49 +0200
committerDaniel Elstner <danielk@openismus.com>2009-08-21 12:14:49 +0200
commit8ef4ec8560a887fdea8d9bc434d3d3db8088c77b (patch)
treeedaca37185258c6ce07a8b88565595c022c4e4e0 /macros
parent82cb7f751f4e15e5f97c6f21fc83447cbaba4174 (diff)
downloadmm-common-8ef4ec8560a887fdea8d9bc434d3d3db8088c77b.tar.gz
Remove mistaken M4 assertion
* macros/mm-pkg.m4 (MM_CHECK_PERL): Remove the bogus m4_assert() on the number of arguments being at least two. Since a default action is implemented, it is perfectly valid to call MM_CHECK_PERL() with less than two arguments.
Diffstat (limited to 'macros')
-rw-r--r--macros/mm-pkg.m41
1 files changed, 0 insertions, 1 deletions
diff --git a/macros/mm-pkg.m4 b/macros/mm-pkg.m4
index 0b8813b..2618310 100644
--- a/macros/mm-pkg.m4
+++ b/macros/mm-pkg.m4
@@ -61,7 +61,6 @@ AS_IF([$PERL -e 'require v$1; exit 0;' >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD]
##
AC_DEFUN([MM_CHECK_PERL],
[dnl
-m4_assert([$# >= 2])[]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