From: Frank Lichtenheld Date: Sat, 22 Sep 2007 22:26:14 +0000 (+0200) Subject: perl.m4: Fix PERL_LIBDIR for prefix != default X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4a94ad32336f739cbb7eed250cbea7ea937246f4;p=dpkg perl.m4: Fix PERL_LIBDIR for prefix != default Replace the default prefix (vendorprefixexp) with $(prefix) in vendorlibexp. Detected by distcheck --- 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