autoheader.m4

来自「这是一个自动生成MAKEFILE的工具。在LINUX工程项目里是很好的帮手。希望」· M4 代码 · 共 111 行

M4
111
字号
dnl Driver and redefinitions of some Autoconf macros for autoheader.dnl This file is part of Autoconf.dnl Copyright (C) 1994, 1995 Free Software Foundation, Inc.dnldnl This program is free software; you can redistribute it and/or modifydnl it under the terms of the GNU General Public License as published bydnl the Free Software Foundation; either version 2, or (at your option)dnl any later version.dnldnl This program is distributed in the hope that it will be useful,dnl but WITHOUT ANY WARRANTY; without even the implied warranty ofdnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See thednl GNU General Public License for more details.dnldnl You should have received a copy of the GNU General Public Licensednl along with this program; if not, write to the Free Softwarednl Foundation, Inc., 59 Temple Place - Suite 330, Boston, MAdnl 02111-1307, USA.dnldnl Written by Roland McGrath.dnlinclude(acgeneral.m4)dnlbuiltin(include, acspecific.m4)dnlbuiltin(include, acoldnames.m4)dnldnl These are alternate definitions of some macros, which producednl strings in the output marked with "@@@" so we can easily extractdnl the information we want.  The `#' at the end of the first line ofdnl each definition seems to be necessary to prevent m4 from eatingdnl the newline, which makes the @@@ not always be at the beginning ofdnl a line.define([AC_CHECK_FUNCS], [#@@@funcs="$funcs $1"@@@ifelse([$2], , , [# If it was found, we do:$2# If it was not found, we do:$3])])define([AC_CHECK_HEADERS], [#@@@headers="$headers $1"@@@ifelse([$2], , , [# If it was found, we do:$2# If it was not found, we do:$3])])define([AC_CHECK_HEADERS_DIRENT], [#@@@headers="$headers $1"@@@])define([AC_CHECK_LIB], [#  ifelse([$3], , [@@@libs="$libs $1"@@@], [# If it was found, we do:$3# If it was not found, we do:$4])])define([AC_HAVE_LIBRARY], [#changequote(<<, >>)dnldefine(<<AC_LIB_NAME>>, dnlpatsubst(patsubst($1, <<lib\([^\.]*\)\.a>>, <<\1>>), <<-l>>, <<>>))dnlchangequote([, ])dnl  ifelse([$2], , [@@@libs="$libs AC_LIB_NAME"@@@], [# If it was found, we do:$2# If it was not found, we do:$3])])define([AC_CHECK_SIZEOF], [#@@@types="$types,$1"@@@])define([AC_CONFIG_HEADER], [#define([AC_CONFIG_H], patsubst($1, [ .*$], []))dnl@@@config_h=AC_CONFIG_H@@@])define([AC_DEFINE], [#ifelse([$3],,[#@@@syms="$syms $1"@@@], [#@@@verbatim="$verbatim/* $3 */#undef $1"@@@])])define([AC_DEFINE_UNQUOTED], [#ifelse([$3],,[#@@@syms="$syms $1"@@@], [#@@@verbatim="$verbatim/* $3 */#undef $1"@@@])])

⌨️ 快捷键说明

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