The following commit has been merged in the master branch:
commit e65993b1968d1a832b7bffacd6e4b1480299eda3
Author: Guillem Jover <[email protected]>
Date: Thu Sep 29 06:06:29 2011 +0200
build: Let the user override PERL_LIBDIR at configure time
The variable is declared as precious via AC_ARG_VAR, but assigned to
unconditionally.
diff --git a/m4/dpkg-progs.m4 b/m4/dpkg-progs.m4
index 616a783..47c8690 100644
--- a/m4/dpkg-progs.m4
+++ b/m4/dpkg-progs.m4
@@ -12,9 +12,12 @@ if test "$PERL" = "no" || test ! -x "$PERL"; then
AC_MSG_ERROR([cannot find the Perl interpreter])
fi
AC_ARG_VAR([PERL_LIBDIR], [Perl library directory])dnl
+# Let the user override the variable.
+if test -z "$PERL_LIBDIR"; then
PERL_LIBDIR=$($PERL -MConfig -e 'my $r = $Config{vendorlibexp};
$r =~ s/$Config{vendorprefixexp}/\$(prefix)/;
- print $r')dnl
+ print $r')
+fi
])# DPKG_PROG_PERL
# DPKG_PROG_PO4A
--
dpkg's main repository
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]