check_autoconf213.m4
来自「传感器网络中的嵌入式操作系统源代码」· M4 代码 · 共 40 行
M4
40 行
dnldnl @synopsis CHECK_AUTOCONF213dnldnl This macro checks that the found autoconf is really 2.13.dnl AC_PREREQ doesn't make sure that we aren't using autoconf > 2.13. Grrr.dnl dnl @version $Id: check_autoconf213.m4,v 1.1 2003/06/26 17:52:59 idgay Exp $dnl @author Theodore A. Roth <troth@openavr.org>dnlAC_DEFUN(CHECK_AUTOCONF213,[dnldnlAC_MSG_CHECKING(for autoconf-2.13)dnlfound="no"for ac in ${AUTOCONF} autoconf213 autoconf-2.13do AUTOCONF_VER=`(${ac} --version 2>/dev/null | head -n 1 | cut -d ' ' -f 3 | cut -c -4) 2>/dev/null` if test $? != 0 then continue fi if test "$AUTOCONF_VER" = "2.13" then found="yes" AUTOHEADER=autoheader`expr "$ac" : 'autoconf\(.*\)'` break fidonednlif test "${found}" = "yes"then AC_MSG_RESULT(yes) AUTOCONF="${ac}"else AC_MSG_RESULT(no) AUTOCONF=/bin/true AUTOHEADER=/bin/truefi])dnl
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?