diff options
author | Akim Demaille <akim@lrde.epita.fr> | 2012-04-08 08:58:43 +0200 |
---|---|---|
committer | Akim Demaille <akim@lrde.epita.fr> | 2012-04-08 09:49:06 +0200 |
commit | 5aaad6c43154f3e69c4e49616d29b1f95b012881 (patch) | |
tree | d4fbc8b8a65ad21bafcdcc60103f8b361f465e21 /tests/bison.in | |
parent | 8e15fef554bd31b6284eceb3e9e4888ae3658769 (diff) | |
download | bison-5aaad6c43154f3e69c4e49616d29b1f95b012881.tar.gz |
build: look for Perl in configure.
Bison uses "/usr/bin/perl" or "perl" in several places, and it does
not appear to be a problem. But, at least to make it simpler to
change PERL on the make command line, check for perl in configure.
* configure.ac (PERL): New.
* doc/Doxyfile.in, doc/local.mk, examples/local.mk,
* tests/bison.in: Use it.
Diffstat (limited to 'tests/bison.in')
-rw-r--r-- | tests/bison.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/bison.in b/tests/bison.in index 651178d3..aedd75d9 100644 --- a/tests/bison.in +++ b/tests/bison.in @@ -19,6 +19,7 @@ abs_top_srcdir='@abs_top_srcdir@' abs_top_builddir='@abs_top_builddir@' +: ${PERL='@perl@'} # Use the shipped files, not those installed. BISON_PKGDATADIR=$abs_top_srcdir/data @@ -34,7 +35,6 @@ for i do case $i in */src/parse-gram.y) - : ${PERL=perl} if $PERL --version >/dev/null; then # We are called by ylwrap which still uses y.tab.*, and # post-processes the synclines on y.tab.c itself. Don't let it |