changeset 2928:2f57ce09fe1e

PR3379: Perl should be mandatory 2017-05-10 Andrew John Hughes <gnu.andrew@member.fsf.org> PR3379: Perl should be mandatory * NEWS: Updated. * 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 Tue, 16 May 2017 02:58:07 +0100
parents 8dab14649af2
children 7b2c9f581fd9
files ChangeLog NEWS configure.ac
diffstat 3 files changed, 10 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Fri May 12 17:42:28 2017 +0100
+++ b/ChangeLog	Tue May 16 02:58:07 2017 +0100
@@ -1,3 +1,11 @@
+2017-05-10  Andrew John Hughes  <gnu.andrew@member.fsf.org>
+
+	PR3379: Perl should be mandatory
+	* NEWS: Updated.
+	* configure.ac:
+	Change Perl macro invocation to use IT_FIND_TOOL
+	and make it unconditional.
+
 2017-05-12  Andrew John Hughes  <gnu_andrew@member.fsf.org>
 
 	Bump to icedtea-2.6.10.
--- a/NEWS	Fri May 12 17:42:28 2017 +0100
+++ b/NEWS	Tue May 16 02:58:07 2017 +0100
@@ -111,6 +111,7 @@
 * Bug fixes
   - PR3349: Architectures unsupported by SystemTap tapsets throw a parse error
   - PR3370: Disable ARM32 JIT by default in jdk_generic_profile.sh
+  - PR3379: Perl should be mandatory
 * CACAO
   - PR2732: Raise javadoc memory limits for CACAO again!
 * AArch64 port
--- a/configure.ac	Fri May 12 17:42:28 2017 +0100
+++ b/configure.ac	Tue May 16 02:58:07 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])
@@ -328,11 +329,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])