1 dnl Check for a reasonable version of Perl.
2 dnl $1 - Minimum Perl version. Typically 5.006.
4 AC_DEFUN([LLVM_PROG_PERL], [
5 AC_PATH_PROG(PERL, [perl], [none])
6 if test "$PERL" != "none"; then
7 AC_MSG_CHECKING(for Perl $1 or newer)
8 if $PERL -e 'use $1;' 2>&1 > /dev/null; then
12 AC_MSG_RESULT(not found)