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

📄 aclocal.m4

📁 Doc++,可以根据你的C/C++和java的源码文件中的注释行自动生成Html说明文件的工具
💻 M4
📖 第 1 页 / 共 5 页
字号:
am__include="#"am__quote=_am_result=none# First try GNU make style include.echo "include confinc" > confmf# We grep out `Entering directory' and `Leaving directory'# messages which can occur if `w' ends up in MAKEFLAGS.# In particular we don't look at `^make:' because GNU make might# be invoked under some other name (usually "gmake"), in which# case it prints its new name instead of `make'.if test "`$am_make -s -f confmf 2> /dev/null | fgrep -v 'ing directory'`" = "done"; then   am__include=include   am__quote=   _am_result=GNUfi# Now try BSD make style include.if test "$am__include" = "#"; then   echo '.include "confinc"' > confmf   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then      am__include=.include      am__quote="\""      _am_result=BSD   fifiAC_SUBST(am__include)AC_SUBST(am__quote)AC_MSG_RESULT($_am_result)rm -f confinc confmf])# AM_CONDITIONAL                                              -*- Autoconf -*-# Copyright 1997, 2000, 2001 Free Software Foundation, Inc.# This program is free software; you can redistribute it and/or modify# it under the terms of the GNU General Public License as published by# the Free Software Foundation; either version 2, or (at your option)# any later version.# This program is distributed in the hope that it will be useful,# but WITHOUT ANY WARRANTY; without even the implied warranty of# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the# GNU General Public License for more details.# You should have received a copy of the GNU General Public License# along with this program; if not, write to the Free Software# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA# 02111-1307, USA.# serial 5AC_PREREQ(2.52)# AM_CONDITIONAL(NAME, SHELL-CONDITION)# -------------------------------------# Define a conditional.AC_DEFUN([AM_CONDITIONAL],[ifelse([$1], [TRUE],  [AC_FATAL([$0: invalid condition: $1])],        [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnlAC_SUBST([$1_TRUE])AC_SUBST([$1_FALSE])if $2; then  $1_TRUE=  $1_FALSE='#'else  $1_TRUE='#'  $1_FALSE=fiAC_CONFIG_COMMANDS_PRE([if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then  AC_MSG_ERROR([conditional \"$1\" was never defined.Usually this means the macro was only invoked conditionally.])fi])])# Like AC_CONFIG_HEADER, but automatically create stamp file. -*- Autoconf -*-# Copyright 1996, 1997, 2000, 2001 Free Software Foundation, Inc.# This program is free software; you can redistribute it and/or modify# it under the terms of the GNU General Public License as published by# the Free Software Foundation; either version 2, or (at your option)# any later version.# This program is distributed in the hope that it will be useful,# but WITHOUT ANY WARRANTY; without even the implied warranty of# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the# GNU General Public License for more details.# You should have received a copy of the GNU General Public License# along with this program; if not, write to the Free Software# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA# 02111-1307, USA.AC_PREREQ([2.52])# serial 6# When config.status generates a header, we must update the stamp-h file.# This file resides in the same directory as the config header# that is generated.  We must strip everything past the first ":",# and everything past the last "/".# _AM_DIRNAME(PATH)# -----------------# Like AS_DIRNAME, only do it during macro expansionAC_DEFUN([_AM_DIRNAME],       [m4_if(regexp([$1], [^.*[^/]//*[^/][^/]*/*$]), -1,	      m4_if(regexp([$1], [^//\([^/]\|$\)]), -1,		    m4_if(regexp([$1], [^/.*]), -1,			  [.],			  patsubst([$1], [^\(/\).*], [\1])),		    patsubst([$1], [^\(//\)\([^/].*\|$\)], [\1])),	      patsubst([$1], [^\(.*[^/]\)//*[^/][^/]*/*$], [\1]))[]dnl])# _AM_DIRNAME# The stamp files are numbered to have different names.# We could number them on a directory basis, but that's additional# complications, let's have a unique counter.m4_define([_AM_STAMP_Count], [0])# _AM_STAMP(HEADER)# -----------------# The name of the stamp file for HEADER.AC_DEFUN([_AM_STAMP],[m4_define([_AM_STAMP_Count], m4_incr(_AM_STAMP_Count))dnlAS_ESCAPE(_AM_DIRNAME(patsubst([$1],                               [:.*])))/stamp-h[]_AM_STAMP_Count])# _AM_CONFIG_HEADER(HEADER[:SOURCES], COMMANDS, INIT-COMMANDS)# ------------------------------------------------------------# We used to try to get a real timestamp in stamp-h.  But the fear is that# that will cause unnecessary cvs conflicts.AC_DEFUN([_AM_CONFIG_HEADER],[# Add the stamp file to the list of files AC keeps track of,# along with our hook.AC_CONFIG_HEADERS([$1],                  [# update the timestampecho 'timestamp for $1' >"_AM_STAMP([$1])"$2],                  [$3])])# _AM_CONFIG_HEADER# AM_CONFIG_HEADER(HEADER[:SOURCES]..., COMMANDS, INIT-COMMANDS)# --------------------------------------------------------------AC_DEFUN([AM_CONFIG_HEADER],[AC_FOREACH([_AM_File], [$1], [_AM_CONFIG_HEADER(_AM_File, [$2], [$3])])])# AM_CONFIG_HEADER# isc-posix.m4 serial 2 (gettext-0.11.2)dnl Copyright (C) 1995-2002 Free Software Foundation, Inc.dnl This file is free software, distributed under the terms of the GNUdnl General Public License.  As a special exception to the GNU Generaldnl Public License, this file may be distributed as part of a programdnl that contains a configuration script generated by Autoconf, underdnl the same distribution terms as the rest of that program.# This file is not needed with autoconf-2.53 and newer.  Remove it in 2005.# This test replaces the one in autoconf.# Currently this macro should have the same name as the autoconf macro# because gettext's gettext.m4 (distributed in the automake package)# still uses it.  Otherwise, the use in gettext.m4 makes autoheader# give these diagnostics:#   configure.in:556: AC_TRY_COMPILE was called before AC_ISC_POSIX#   configure.in:556: AC_TRY_RUN was called before AC_ISC_POSIXundefine([AC_ISC_POSIX])AC_DEFUN([AC_ISC_POSIX],  [    dnl This test replaces the obsolescent AC_ISC_POSIX kludge.    AC_CHECK_LIB(cposix, strerror, [LIBS="$LIBS -lcposix"])  ])# Copyright 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.# This program is free software; you can redistribute it and/or modify# it under the terms of the GNU General Public License as published by# the Free Software Foundation; either version 2, or (at your option)# any later version.# This program is distributed in the hope that it will be useful,# but WITHOUT ANY WARRANTY; without even the implied warranty of# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the# GNU General Public License for more details.# You should have received a copy of the GNU General Public License# along with this program; if not, write to the Free Software# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA# 02111-1307, USA.# serial 3AC_PREREQ(2.50)# AM_PROG_LEX# -----------# Autoconf leaves LEX=: if lex or flex can't be found.  Change that to a# "missing" invocation, for better error output.AC_DEFUN([AM_PROG_LEX],[AC_REQUIRE([AM_MISSING_HAS_RUN])dnlAC_REQUIRE([AC_PROG_LEX])dnlif test "$LEX" = :; then  LEX=${am_missing_run}flexfi])# gettext.m4 serial 16 (gettext-0.11.4)dnl Copyright (C) 1995-2002 Free Software Foundation, Inc.dnl This file is free software, distributed under the terms of the GNUdnl General Public License.  As a special exception to the GNU Generaldnl Public License, this file may be distributed as part of a programdnl that contains a configuration script generated by Autoconf, underdnl the same distribution terms as the rest of that program.dnldnl This file can can be used in projects which are not available underdnl the GNU General Public License or the GNU Library General Publicdnl License but which still want to provide support for the GNU gettextdnl functionality.dnl Please note that the actual code of the GNU gettext library is covereddnl by the GNU Library General Public License, and the rest of the GNUdnl gettext package package is covered by the GNU General Public License.dnl They are *not* in the public domain.dnl Authors:dnl   Ulrich Drepper <drepper@cygnus.com>, 1995-2000.dnl   Bruno Haible <haible@clisp.cons.org>, 2000-2002.dnl Macro to add for using GNU gettext.dnl Usage: AM_GNU_GETTEXT([INTLSYMBOL], [NEEDSYMBOL], [INTLDIR]).dnl INTLSYMBOL can be one of 'external', 'no-libtool', 'use-libtool'. Thednl    default (if it is not specified or empty) is 'no-libtool'.dnl    INTLSYMBOL should be 'external' for packages with no intl directory,dnl    and 'no-libtool' or 'use-libtool' for packages with an intl directory.dnl    If INTLSYMBOL is 'use-libtool', then a libtool librarydnl    $(top_builddir)/intl/libintl.la will be created (shared and/or static,dnl    depending on --{enable,disable}-{shared,static} and on the presence ofdnl    AM-DISABLE-SHARED). If INTLSYMBOL is 'no-libtool', a static librarydnl    $(top_builddir)/intl/libintl.a will be created.dnl If NEEDSYMBOL is specified and is 'need-ngettext', then GNU gettextdnl    implementations (in libc or libintl) without the ngettext() functiondnl    will be ignored.  If NEEDSYMBOL is specified and isdnl    'need-formatstring-macros', then GNU gettext implementations that don'tdnl    support the ISO C 99 <inttypes.h> formatstring macros will be ignored.dnl INTLDIR is used to find the intl libraries.  If empty,dnl    the value `$(top_builddir)/intl/' is used.dnldnl The result of the configuration is one of three cases:dnl 1) GNU gettext, as included in the intl subdirectory, will be compileddnl    and used.dnl    Catalog format: GNU --> install in $(datadir)dnl    Catalog extension: .mo after installation, .gmo in source treednl 2) GNU gettext has been found in the system's C library.dnl    Catalog format: GNU --> install in $(datadir)dnl    Catalog extension: .mo after installation, .gmo in source treednl 3) No internationalization, always use English msgid.dnl    Catalog format: nonednl    Catalog extension: nonednl If INTLSYMBOL is 'external', only cases 2 and 3 can occur.dnl The use of .gmo is historical (it was needed to avoid overwriting thednl GNU format catalogs when building on a platform with an X/Open gettext),dnl but we keep it in order not to force irrelevant filename changes on thednl maintainers.dnlAC_DEFUN([AM_GNU_GETTEXT],[  dnl Argument checking.  ifelse([$1], [], , [ifelse([$1], [external], , [ifelse([$1], [no-libtool], , [ifelse([$1], [use-libtool], ,    [errprint([ERROR: invalid first argument to AM_GNU_GETTEXT])])])])])  ifelse([$2], [], , [ifelse([$2], [need-ngettext], , [ifelse([$2], [need-formatstring-macros], ,    [errprint([ERROR: invalid second argument to AM_GNU_GETTEXT])])])])  define(gt_included_intl, ifelse([$1], [external], [no], [yes]))  define(gt_libtool_suffix_prefix, ifelse([$1], [use-libtool], [l], []))  AC_REQUIRE([AM_PO_SUBDIRS])dnl  ifelse(gt_included_intl, yes, [    AC_REQUIRE([AM_INTL_SUBDIR])dnl  ])  dnl Prerequisites of AC_LIB_LINKFLAGS_BODY.  AC_REQUIRE([AC_LIB_PREPARE_PREFIX])  AC_REQUIRE([AC_LIB_RPATH])  dnl Sometimes libintl requires libiconv, so first search for libiconv.  dnl Ideally we would do this search only after the  dnl      if test "$USE_NLS" = "yes"; then  dnl        if test "$gt_cv_func_gnugettext_libc" != "yes"; then  dnl tests. But if configure.in invokes AM_ICONV after AM_GNU_GETTEXT  dnl the configure script would need to contain the same shell code  dnl again, outside any 'if'. There are two solutions:  dnl - Invoke AM_ICONV_LINKFLAGS_BODY here, outside any 'if'.  dnl - Control the expansions in more detail using AC_PROVIDE_IFELSE.  dnl Since AC_PROVIDE_IFELSE is only in autoconf >= 2.52 and not  dnl documented, we avoid it.  ifelse(gt_included_intl, yes, , [    AC_REQUIRE([AM_ICONV_LINKFLAGS_BODY])  ])  AC_MSG_CHECKING([whether NLS is requested])  dnl Default is enabled NLS  AC_ARG_ENABLE(nls,    [  --disable-nls           do not use Native Language Support],    USE_NLS=$enableval, USE_NLS=yes)  AC_MSG_RESULT($USE_NLS)  AC_SUBST(USE_NLS)  ifelse(gt_included_intl, yes, [    BUILD_INCLUDED_LIBINTL=no    USE_INCLUDED_LIBINTL=no  ])  LIBINTL=  LTLIBINTL=  POSUB=  dnl If we use NLS figure out what method  if test "$USE_NLS" = "yes"; then    gt_use_preinstalled_gnugettext=no    ifelse(gt_included_intl, yes, [      AC_MSG_CHECKING([whether included gettext is requested])      AC_ARG_WITH(included-gettext,        [  --with-included-gettext use the GNU gettext library included here],        nls_cv_force_use_gnu_gettext=$withval,        nls_cv_force_use_gnu_gettext=no)      AC_MSG_RESULT($nls_cv_force_use_gnu_gettext)      nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext"      if test "$nls_cv_force_use_gnu_gettext" != "yes"; then    ])        dnl User does not insist on using GNU NLS library.  Figure out what        dnl to use.  If GNU gettext is available we use this.  Else we have        dnl to fall back to GNU NLS library.        dnl Add a version number to the cache macros.        define([gt_api_version], ifelse([$2], [need-formatstring-macros], 3, ifelse([$2], [need-ngettext], 2, 1)))

⌨️ 快捷键说明

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