From 4a94ad32336f739cbb7eed250cbea7ea937246f4 Mon Sep 17 00:00:00 2001 From: Frank Lichtenheld Date: Sun, 23 Sep 2007 00:26:14 +0200 Subject: [PATCH] perl.m4: Fix PERL_LIBDIR for prefix != default Replace the default prefix (vendorprefixexp) with $(prefix) in vendorlibexp. Detected by distcheck --- m4/perl.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/m4/perl.m4 b/m4/perl.m4 index 360cda32..79288d5c 100644 --- a/m4/perl.m4 +++ b/m4/perl.m4 @@ -5,5 +5,5 @@ AC_DEFUN([DPKG_PROG_PERL], [AC_ARG_VAR([PERL], [Perl interpreter])dnl AC_PATH_PROG([PERL], [perl], [/usr/bin/perl])dnl AC_ARG_VAR([PERL_LIBDIR], [Perl library directory])dnl -PERL_LIBDIR=`$PERL -MConfig -e 'print $Config{vendorlib}'`dnl +PERL_LIBDIR=`$PERL -MConfig -e 'my $r=$Config{vendorlibexp};$r=~s/$Config{vendorprefixexp}/\\$(prefix)/; print $r'`dnl ])# DPKG_PROG_PERL -- 2.39.5