Allow building without Perl

This reverts commit a0c8de3f3f.
cf. https://github.com/tats/w3m/pull/221
This commit is contained in:
Tatsuya Kinoshita
2022-04-15 21:07:30 +09:00
parent 15c77e3687
commit 6338651e22
2 changed files with 20 additions and 14 deletions

View File

@@ -25,8 +25,7 @@ AC_PROG_INSTALL
AC_PROG_LN_S
AC_PROG_MAKE_SET
AC_PROG_RANLIB
AC_CHECK_PROG(PERL,[perl],[$(command -v perl)],[no])
test "$PERL" == "no" && AC_MSG_ERROR([Required program 'perl' not found.])
AC_PATH_PROGS(PERL, perl, /usr/local/bin/perl)
AC_PATH_PROGS(NKF, nkf, /usr/local/bin/nkf)
AC_PATH_PROGS(MAN, man, /usr/bin/man)
AC_PATH_XTRA