# HG changeset patch # User Andrew John Hughes # Date 1501740047 -3600 # Node ID 1742e9f317d3e25cfd3e47ff1080cf661ec4b0f9 # Parent a98aaa5d93116ace75e97f72065509e9ff9ef3ae PR3379: Perl should be mandatory 2017-05-10 Andrew John Hughes PR3379: Perl should be mandatory * configure.ac: Change Perl macro invocation to use IT_FIND_TOOL and make it unconditional. diff -r a98aaa5d9311 -r 1742e9f317d3 ChangeLog --- 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 + + 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 Bump to icedtea-2.7.0pre13. diff -r a98aaa5d9311 -r 1742e9f317d3 configure.ac --- 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])