the pointer MMI keeps will start out with object-file format specific stuff
[llvm/avr.git] / autoconf / m4 / path_perl.m4
blob406656cb0322d8ec0b7bd68741085c5a1482f773
1 dnl Check for a reasonable version of Perl.
2 dnl   $1 - Minimum Perl version.  Typically 5.006.
3 dnl 
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
9     AC_MSG_RESULT(yes)
10   else
11     PERL=none
12     AC_MSG_RESULT(not found)
13   fi