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 /doc/local.mk | |
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 'doc/local.mk')
-rw-r--r-- | doc/local.mk | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/local.mk b/doc/local.mk index d5f8d2a4..f7a96c23 100644 --- a/doc/local.mk +++ b/doc/local.mk @@ -36,7 +36,7 @@ $(CROSS_OPTIONS_TEXI): doc/bison.help $(CROSS_OPTIONS_PL) $(AM_V_GEN){ test ! -f $@ || cat $@; } >$@~ $(AM_V_at)test ! -f $@.tmp || rm -f $@.tmp $(AM_V_at)src/bison$(EXEEXT) --help | \ - perl $(CROSS_OPTIONS_PL) $(top_srcdir)/src/scan-gram.l >$@.tmp + $(PERL) $(CROSS_OPTIONS_PL) $(top_srcdir)/src/scan-gram.l >$@.tmp $(AM_V_at)diff -u $@~ $@.tmp || true $(AM_V_at)mv $@.tmp $@ MAINTAINERCLEANFILES = $(CROSS_OPTIONS_TEXI) @@ -127,6 +127,7 @@ html-local: doc/Doxyfile edit = sed -e 's,@PACKAGE_NAME\@,$(PACKAGE_NAME),g' \ -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' \ + -e 's,@PERL\@,$(PERL),g' \ -e 's,@top_builddir\@,$(top_builddir),g' \ -e 's,@top_srcdir\@,$(top_srcdir),g' |