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/Makefile.am, tests/bison.in: Use it.
This commit is contained in:
Akim Demaille
2012-04-08 08:58:43 +02:00
parent a727e7124d
commit 45fdfd8108
4 changed files with 7 additions and 3 deletions

View File

@@ -940,7 +940,7 @@ EXTERNAL_GROUPS = YES
# The PERL_PATH should be the absolute path and name of the perl script
# interpreter (i.e. the result of `which perl').
PERL_PATH = /usr/bin/perl
PERL_PATH = @PERL@
#---------------------------------------------------------------------------
# Configuration options related to the dot tool