* m4/fcntl_h.m4 (gl_FCNTL_H): Test the atime, not the mtime.
[gnulib.git] / m4 / perl.m4
index 7df10f6..96421b9 100644 (file)
@@ -1,10 +1,17 @@
-#serial 2
+#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?
@@ -20,7 +27,7 @@ AC_DEFUN(jm_PERL,
 
   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.