File: path_perl.m4

package info (click to toggle)
clamav 0.99%2Bdfsg-0%2Bdeb7u2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 57,644 kB
  • sloc: cpp: 267,214; ansic: 163,108; sh: 35,266; python: 2,630; makefile: 2,249; perl: 1,690; yacc: 1,352; pascal: 1,218; lex: 714; lisp: 184; csh: 117; xml: 38; asm: 32; exp: 4
file content (16 lines) | stat: -rw-r--r-- 368 bytes parent folder | download | duplicates (13)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
dnl Check for a reasonable version of Perl.
dnl   $1 - Minimum Perl version.  Typically 5.006.
dnl 
AC_DEFUN([LLVM_PROG_PERL], [
AC_PATH_PROG(PERL, [perl], [none])
if test "$PERL" != "none"; then
  AC_MSG_CHECKING(for Perl $1 or newer)
  if $PERL -e 'use $1;' 2>&1 > /dev/null; then
    AC_MSG_RESULT(yes)
  else
    PERL=none
    AC_MSG_RESULT(not found)
  fi
fi
])