configure: Declare GPERF and PERL as variables

These are documented in --help and will be cached.
This commit is contained in:
Tobias Brunner 2019-12-05 15:45:01 +01:00
parent c81a8a8f36
commit 251ac44df3
1 changed files with 2 additions and 0 deletions

View File

@ -374,7 +374,9 @@ AC_PROG_LEX
AC_PROG_YACC
AM_PATH_PYTHON(,,[:])
AC_PATH_PROG([PERL], [perl], [], [$PATH:/bin:/usr/bin:/usr/local/bin])
AC_ARG_VAR([PERL], [the Perl interpreter])
AC_PATH_PROG([GPERF], [gperf], [], [$PATH:/bin:/usr/bin:/usr/local/bin])
AC_ARG_VAR([GPERF], [the GNU gperf program])
# because gperf is not needed by end-users we just report it but do not abort on failure
AC_MSG_CHECKING([gperf version >= 3.0.0])