⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ac_prog_perl_version.m4

📁 开源备份软件源码 AMANDA, the Advanced Maryland Automatic Network Disk Archiver, is a backup system that a
💻 M4
字号:
##### http://autoconf-archive.cryp.to/ac_prog_perl_version.html## SYNOPSIS##   AC_PROG_PERL_VERSION(VERSION, [ACTION-IF-TRUE], [ACTION-IF-FALSE])## DESCRIPTION##   Makes sure that perl supports the version indicated. If true the#   shell commands in ACTION-IF-TRUE are executed. If not the shell#   commands in ACTION-IF-FALSE are run. Note if $PERL is not set (for#   example by running AC_CHECK_PROG or AC_PATH_PROG),#   AC_CHECK_PROG(PERL, perl, perl) will be run.##   Example:##     AC_PROG_PERL_VERSION(5.6.0)##   This will check to make sure that the perl you have supports at#   least version 5.6.0.## LAST MODIFICATION##   2002-09-25## COPYLEFT##   Copyright (c) 2002 Dean Povey <povey@wedgetail.com>##   Copying and distribution of this file, with or without#   modification, are permitted in any medium without royalty provided#   the copyright notice and this notice are preserved.AC_DEFUN([AC_PROG_PERL_VERSION],[dnl# Make sure we have perlif test -z "$PERL"; thenAC_CHECK_PROG(PERL,perl,perl)fi# Check if version of Perl is sufficientac_perl_version="$1"if test "x$PERL" != "x"; then  AC_MSG_CHECKING(for perl version greater than or equal to $ac_perl_version)  # NB: It would be nice to log the error if there is one, but we cannot rely  # on autoconf internals  $PERL -e "use $ac_perl_version;" > /dev/null 2>&1  if test $? -ne 0; then    AC_MSG_RESULT(no);    $3  else    AC_MSG_RESULT(ok);    $2  fielse  AC_MSG_WARN(could not find perl)fi])dnl

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -