~ubuntu-branches/ubuntu/feisty/clamav/feisty

« back to all changes in this revision

Viewing changes to libclamav/c++/llvm/autoconf/m4/path_perl.m4

  • Committer: Bazaar Package Importer
  • Author(s): Kees Cook
  • Date: 2007-02-20 10:33:44 UTC
  • mto: This revision was merged to the branch mainline in revision 16.
  • Revision ID: james.westby@ubuntu.com-20070220103344-zgcu2psnx9d98fpa
Tags: upstream-0.90
ImportĀ upstreamĀ versionĀ 0.90

Show diffs side-by-side

added added

removed removed

Lines of Context:
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
14
 
fi
15
 
])
16