This is an automated email from the git hooks/post-receive script.

guillem pushed a commit to branch master
in repository dpkg.

commit 9999d4b6bdefe5ccf54ffda534cd243ea1de89a4
Author: Guillem Jover <guil...@debian.org>
Date:   Sat Mar 31 17:16:16 2018 +0200

    build: Make PERL_MIN_VERSION also a configure output variable
    
    We need to rename the m4 macro to avoid infinite loops. We will need
    this output variable for the CPAN support.
---
 m4/dpkg-progs.m4 | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/m4/dpkg-progs.m4 b/m4/dpkg-progs.m4
index f5abeef..3793fc4 100644
--- a/m4/dpkg-progs.m4
+++ b/m4/dpkg-progs.m4
@@ -7,18 +7,19 @@
 # Locate perl interpreter in the path
 AC_DEFUN([DPKG_PROG_PERL], [
   AC_ARG_VAR([PERL], [Perl interpreter])dnl
-  m4_define([PERL_MIN_VERSION], [5.20.2])
-  AC_CACHE_CHECK([for perl >= PERL_MIN_VERSION], [ac_cv_path_PERL], [
+  m4_define([_PERL_MIN_VERSION], [5.20.2])
+  AC_SUBST([PERL_MIN_VERSION], [_PERL_MIN_VERSION])
+  AC_CACHE_CHECK([for perl >= _PERL_MIN_VERSION], [ac_cv_path_PERL], [
     AC_PATH_PROGS_FEATURE_CHECK([PERL], [perl], [
       perlcheck=$(test -x $ac_path_PERL && \
                   $ac_path_PERL -MConfig -Mversion -e \
-                  'my $r = qv("v$Config{version}") >= qv("PERL_MIN_VERSION");
+                  'my $r = qv("v$Config{version}") >= qv("_PERL_MIN_VERSION");
                    print "yes" if $r')
       AS_IF([test "x$perlcheck" = "xyes"], [
         ac_cv_path_PERL=$ac_path_PERL ac_path_PERL_found=:
       ])
     ], [
-      AC_MSG_ERROR([cannot find perl >= PERL_MIN_VERSION])
+      AC_MSG_ERROR([cannot find perl >= _PERL_MIN_VERSION])
     ])
   ])
   AC_SUBST([PERL], [$ac_cv_path_PERL])

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/dpkg/dpkg.git

Reply via email to