Mercurial > hg > icedtea7
changeset 2919:1742e9f317d3
PR3379: Perl should be mandatory
2017-05-10 Andrew John Hughes <gnu.andrew@member.fsf.org>
PR3379: Perl should be mandatory
* configure.ac:
Change Perl macro invocation to use IT_FIND_TOOL
and make it unconditional.
author | Andrew John Hughes <gnu_andrew@member.fsf.org> |
---|---|
date | Thu, 03 Aug 2017 07:00:47 +0100 |
parents | a98aaa5d9311 |
children | 12c4c5ba02a1 |
files | ChangeLog configure.ac |
diffstat | 2 files changed, 8 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Wed Aug 02 09:19:23 2017 +0100 +++ b/ChangeLog Thu Aug 03 07:00:47 2017 +0100 @@ -1,3 +1,10 @@ +2017-05-10 Andrew John Hughes <gnu.andrew@member.fsf.org> + + PR3379: Perl should be mandatory + * configure.ac: + Change Perl macro invocation to use IT_FIND_TOOL + and make it unconditional. + 2017-08-01 Andrew John Hughes <gnu_andrew@member.fsf.org> Bump to icedtea-2.7.0pre13.
--- a/configure.ac Wed Aug 02 09:19:23 2017 +0100 +++ b/configure.ac Thu Aug 03 07:00:47 2017 +0100 @@ -42,6 +42,7 @@ dnl OpenJDK's README-builds.html lists gawk as a build dependency so we dnl check for it explicitly rather than using AC_PROG_AWK. IT_FIND_TOOL([GAWK], [gawk]) +IT_FIND_TOOL([PERL], [perl]) IT_CHECK_FOR_MERCURIAL IT_OBTAIN_HG_REVISIONS AC_PATH_TOOL([LSB_RELEASE],[lsb_release]) @@ -329,11 +330,6 @@ ]])], [AC_MSG_RESULT([yes])], [SDT_H_FOUND='no'; AC_MSG_WARN([systemtap sdt.h or g++ too old])]) AC_LANG_POP([C++]) if test "x${SDT_H_FOUND}" = "xyes"; then - AC_PATH_TOOL([PERL],[perl]) - if test x"${PERL}" = x ; then - AC_MSG_WARN([Perl not found in PATH; SystemTap tests will not be able to run]) - fi - AC_SUBST(PERL) AC_PATH_TOOL([STAP],[stap]) if test x"${STAP}" = x ; then AC_MSG_WARN([stap not found in PATH; SystemTap tests will not be able to run])