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

📄 aclocal.m4

📁 linux下的人机对话编程
💻 M4
📖 第 1 页 / 共 5 页
字号:
  # So let's grep whole file.  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then    dirpart=`AS_DIRNAME("$mf")`  else    continue  fi  grep '^DEP_FILES *= *[[^ @%:@]]' < "$mf" > /dev/null || continue  # Extract the definition of DEP_FILES from the Makefile without  # running `make'.  DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`  test -z "$DEPDIR" && continue  # When using ansi2knr, U may be empty or an underscore; expand it  U=`sed -n -e '/^U = / s///p' < "$mf"`  test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"  # We invoke sed twice because it is the simplest approach to  # changing $(DEPDIR) to its actual value in the expansion.  for file in `sed -n -e '    /^DEP_FILES = .*\\\\$/ {      s/^DEP_FILES = //      :loop	s/\\\\$//	p	n	/\\\\$/ b loop      p    }    /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do    # Make sure the directory exists.    test -f "$dirpart/$file" && continue    fdir=`AS_DIRNAME(["$file"])`    AS_MKDIR_P([$dirpart/$fdir])    # echo "creating $dirpart/$file"    echo '# dummy' > "$dirpart/$file"  donedone])# _AM_OUTPUT_DEPENDENCY_COMMANDS# AM_OUTPUT_DEPENDENCY_COMMANDS# -----------------------------# This macro should only be invoked once -- use via AC_REQUIRE.## This code is only required when automatic dependency tracking# is enabled.  FIXME.  This creates each `.P' file that we will# need in order to bootstrap the dependency handling code.AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],[AC_CONFIG_COMMANDS([depfiles],     [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],     [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])])# Copyright 2001 Free Software Foundation, Inc.             -*- Autoconf -*-# 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 2# AM_MAKE_INCLUDE()# -----------------# Check to see how make treats includes.AC_DEFUN([AM_MAKE_INCLUDE],[am_make=${MAKE-make}cat > confinc << 'END'doit:	@echo doneEND# If we don't find an include directive, just comment out the code.AC_MSG_CHECKING([for style of include used by $am_make])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])])# Add --enable-maintainer-mode option to configure.# From Jim Meyering# Copyright 1996, 1998, 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 1AC_DEFUN([AM_MAINTAINER_MODE],[AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])  dnl maintainer-mode is disabled by default  AC_ARG_ENABLE(maintainer-mode,[  --enable-maintainer-mode enable make rules and dependencies not useful                          (and sometimes confusing) to the casual installer],      USE_MAINTAINER_MODE=$enableval,      USE_MAINTAINER_MODE=no)  AC_MSG_RESULT([$USE_MAINTAINER_MODE])  AM_CONDITIONAL(MAINTAINER_MODE, [test $USE_MAINTAINER_MODE = yes])  MAINT=$MAINTAINER_MODE_TRUE  AC_SUBST(MAINT)dnl])# 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"])  ])# 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)

⌨️ 快捷键说明

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