Permalink
Browse files

respect ./configure --with-perl=/bin/perl

  • Loading branch information...
Dan Gildea
Dan Gildea committed Dec 1, 2018
1 parent 3bea02b commit 14ec6426213c78e01c530f53215eea9e8c19cc06
Showing with 7 additions and 1 deletion.
  1. +1 −0 Changes
  2. +5 −1 config/config.pl
  3. +1 −0 configure
@@ -112,6 +112,7 @@
# A more detailed log history can be found within the particular files, near
# the top.
#
# - respect ./configure --with-perl=/bin/perl
# - fallback for unknown column types, such as those
# introduced by \newcolumntype.
# https://bugs.debian.org/899306
@@ -619,7 +619,11 @@ package main;

# only perl gets an absolute pathname
my $abs_path_names = 1;
$newcfg{'PERL'} = &find_prog($^X); # take the perl internal executable name
if($opt{'PERL'}) {
$newcfg{'PERL'} = &find_prog(&get_name('PERL',1));
} else {
$newcfg{'PERL'} = &find_prog($^X); # take the perl internal executable name
}
&checking('perl version');
&result($]);

@@ -1219,6 +1219,7 @@ interpval="$ac_cv_sys_interpreter"
echo "launching proprietary configuration..."

$PERL $srcdir/config/config.pl \
PERL=$PERL \
HASHBANG=$ac_cv_sys_interpreter \
OLDCONFIG=$with_oldconfig \
EXTRAPATH=$with_extrapath \

0 comments on commit 14ec642

Please sign in to comment.