-#serial 4
+#serial 7
dnl From Jim Meyering.
dnl Find a new-enough version of Perl.
dnl
-AC_DEFUN([jm_PERL],
+# Copyright (C) 1998, 1999, 2000, 2001, 2003, 2004 Free Software
+# Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+AC_DEFUN([gl_PERL],
[
dnl FIXME: don't hard-code 5.003
dnl FIXME: should we cache the result?
found=no
AC_SUBST(PERL)
- PERL="$missing_dir/missing perl"
+ PERL="$am_missing_run perl"
for perl in $candidate_perl_names; do
# Run test in a subshell; some versions of sh will print an error if
# an executable is not found, even if stderr is redirected.