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

📄 aclocal.m4

📁 Linux GPRS 模块多路复用实现多个虚拟串口
💻 M4
📖 第 1 页 / 共 3 页
字号:
  # side effect of compilation, but ICC will put the dependencies in  # the current directory while Tru64 will put them in the object  # directory.  mkdir sub  am_cv_$1_dependencies_compiler_type=none  if test "$am_compiler_list" = ""; then     am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`  fi  for depmode in $am_compiler_list; do    # Setup a source with many dependencies, because some compilers    # like to wrap large dependency lists on column 80 (with \), and    # we should not choose a depcomp mode which is confused by this.    #    # We need to recreate these files for each test, as the compiler may    # overwrite some of them when testing with obscure command lines.    # This happens at least with the AIX C compiler.    : > sub/conftest.c    for i in 1 2 3 4 5 6; do      echo '#include "conftst'$i'.h"' >> sub/conftest.c      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with      # Solaris 8's {/usr,}/bin/sh.      touch sub/conftst$i.h    done    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf    case $depmode in    nosideeffect)      # after this tag, mechanisms are not by side-effect, so they'll      # only be used when explicitly requested      if test "x$enable_dependency_tracking" = xyes; then	continue      else	break      fi      ;;    none) break ;;    esac    # We check with `-c' and `-o' for the sake of the "dashmstdout"    # mode.  It turns out that the SunPro C++ compiler does not properly    # handle `-M -o', and we need to detect this.    if depmode=$depmode \       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \         >/dev/null 2>conftest.err &&       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then      # icc doesn't choke on unknown options, it will just issue warnings      # or remarks (even with -Werror).  So we grep stderr for any message      # that says an option was ignored or not supported.      # When given -MP, icc 7.0 and 7.1 complain thusly:      #   icc: Command line warning: ignoring option '-M'; no argument required      # The diagnosis changed in icc 8.0:      #   icc: Command line remark: option '-MP' not supported      if (grep 'ignoring option' conftest.err ||          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else        am_cv_$1_dependencies_compiler_type=$depmode        break      fi    fi  done  cd ..  rm -rf conftest.direlse  am_cv_$1_dependencies_compiler_type=nonefi])AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])AM_CONDITIONAL([am__fastdep$1], [  test "x$enable_dependency_tracking" != xno \  && test "$am_cv_$1_dependencies_compiler_type" = gcc3])])# AM_SET_DEPDIR# -------------# Choose a directory name for dependency files.# This macro is AC_REQUIREd in _AM_DEPENDENCIESAC_DEFUN([AM_SET_DEPDIR],[AC_REQUIRE([AM_SET_LEADING_DOT])dnlAC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl])# AM_DEP_TRACK# ------------AC_DEFUN([AM_DEP_TRACK],[AC_ARG_ENABLE(dependency-tracking,[  --disable-dependency-tracking  speeds up one-time build  --enable-dependency-tracking   do not reject slow dependency extractors])if test "x$enable_dependency_tracking" != xno; then  am_depcomp="$ac_aux_dir/depcomp"  AMDEPBACKSLASH='\'fiAM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])AC_SUBST([AMDEPBACKSLASH])dnl_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl])# Generate code to set up dependency tracking.              -*- Autoconf -*-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005# Free Software Foundation, Inc.## This file is free software; the Free Software Foundation# gives unlimited permission to copy and/or distribute it,# with or without modifications, as long as this notice is preserved.#serial 3# _AM_OUTPUT_DEPENDENCY_COMMANDS# ------------------------------AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],[for mf in $CONFIG_FILES; do  # Strip MF so we end up with the name of the file.  mf=`echo "$mf" | sed -e 's/:.*$//'`  # Check whether this is an Automake generated Makefile or not.  # We used to match only the files named `Makefile.in', but  # some people rename them; so instead we look at the file content.  # Grep'ing the first line is not enough: some people post-process  # each Makefile.in and add a new line on top of each file to say so.  # Grep'ing the whole file is not good either: AIX grep has a line  # limit of 2048, but all sed's we know have understand at least 4000.  if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then    dirpart=`AS_DIRNAME("$mf")`  else    continue  fi  # Extract the definition of DEPDIR, am__include, and am__quote  # from the Makefile without running `make'.  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`  test -z "$DEPDIR" && continue  am__include=`sed -n 's/^am__include = //p' < "$mf"`  test -z "am__include" && continue  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`  # When using ansi2knr, U may be empty or an underscore; expand it  U=`sed -n 's/^U = //p' < "$mf"`  # Find all dependency output files, they are included files with  # $(DEPDIR) in their names.  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 "    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/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 (C) 1996, 1997, 2000, 2001, 2003, 2005# Free Software Foundation, Inc.## This file is free software; the Free Software Foundation# gives unlimited permission to copy and/or distribute it,# with or without modifications, as long as this notice is preserved.# serial 8# AM_CONFIG_HEADER is obsolete.  It has been replaced by AC_CONFIG_HEADERS.AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)])# Do all the work for Automake.                             -*- Autoconf -*-# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,# 2005, 2006, 2008 Free Software Foundation, Inc.## This file is free software; the Free Software Foundation# gives unlimited permission to copy and/or distribute it,# with or without modifications, as long as this notice is preserved.# serial 13# This macro actually does too much.  Some checks are only needed if# your package does certain things.  But this isn't really a big deal.# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])# AM_INIT_AUTOMAKE([OPTIONS])# -----------------------------------------------# The call with PACKAGE and VERSION arguments is the old style# call (pre autoconf-2.50), which is being phased out.  PACKAGE# and VERSION should now be passed to AC_INIT and removed from# the call to AM_INIT_AUTOMAKE.# We support both call styles for the transition.  After# the next Automake release, Autoconf can make the AC_INIT# arguments mandatory, and then we can depend on a new Autoconf# release and drop the old call support.AC_DEFUN([AM_INIT_AUTOMAKE],[AC_PREREQ([2.60])dnldnl Autoconf wants to disallow AM_ names.  We explicitly allowdnl the ones we care about.m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnlAC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnlAC_REQUIRE([AC_PROG_INSTALL])dnlif test "`cd $srcdir && pwd`" != "`pwd`"; then  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output  # is not polluted with repeated "-I."  AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl  # test to see if srcdir already configured  if test -f $srcdir/config.status; then    AC_MSG_ERROR([source directory already configured; run "make distclean" there first])  fifi# test whether we have cygpathif test -z "$CYGPATH_W"; then  if (cygpath --version) >/dev/null 2>/dev/null; then    CYGPATH_W='cygpath -w'  else    CYGPATH_W=echo  fifiAC_SUBST([CYGPATH_W])# Define the identity of the package.dnl Distinguish between old-style and new-style calls.m4_ifval([$2],[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl AC_SUBST([PACKAGE], [$1])dnl AC_SUBST([VERSION], [$2])],[_AM_SET_OPTIONS([$1])dnldnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,  [m4_fatal([AC_INIT should be called with package and version arguments])])dnl AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl_AM_IF_OPTION([no-define],,[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl# Some tools Automake needs.AC_REQUIRE([AM_SANITY_CHECK])dnlAC_REQUIRE([AC_ARG_PROGRAM])dnlAM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})AM_MISSING_PROG(AUTOCONF, autoconf)AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})AM_MISSING_PROG(AUTOHEADER, autoheader)AM_MISSING_PROG(MAKEINFO, makeinfo)AM_PROG_INSTALL_SHAM_PROG_INSTALL_STRIPAC_REQUIRE([AM_PROG_MKDIR_P])dnl# We need awk for the "check" target.  The system "awk" is bad on# some platforms.AC_REQUIRE([AC_PROG_AWK])dnlAC_REQUIRE([AC_PROG_MAKE_SET])dnlAC_REQUIRE([AM_SET_LEADING_DOT])dnl_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],              [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],	      		     [_AM_PROG_TAR([v7])])])_AM_IF_OPTION([no-dependencies],,[AC_PROVIDE_IFELSE([AC_PROG_CC],                  [_AM_DEPENDENCIES(CC)],                  [define([AC_PROG_CC],                          defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnlAC_PROVIDE_IFELSE([AC_PROG_CXX],                  [_AM_DEPENDENCIES(CXX)],                  [define([AC_PROG_CXX],                          defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnlAC_PROVIDE_IFELSE([AC_PROG_OBJC],                  [_AM_DEPENDENCIES(OBJC)],                  [define([AC_PROG_OBJC],                          defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl])])# 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.  The stamp files are numbered to have different names.# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the# loop where config.status creates the headers, so we can generate# our stamp files there.AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],[# Compute $1's index in $config_headers._am_arg=$1_am_stamp_count=1for _am_header in $config_headers :; do  case $_am_header in    $_am_arg | $_am_arg:* )      break ;;    * )      _am_stamp_count=`expr $_am_stamp_count + 1` ;;  esacdoneecho "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.## This file is free software; the Free Software Foundation# gives unlimited permission to copy and/or distribute it,# with or without modifications, as long as this notice is preserved.# AM_PROG_INSTALL_SH# ------------------# Define $install_sh.AC_DEFUN([AM_PROG_INSTALL_SH],[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnlinstall_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}AC_SUBST(install_sh)])# Copyright (C) 2003, 2005  Free Software Foundation, Inc.## This file is free software; the Free Software Foundation# gives unlimited permission to copy and/or distribute it,# with or without modifications, as long as this notice is preserved.# serial 2# Check whether the underlying file-system supports filenames# with a leading dot.  For instance MS-DOS doesn't.AC_DEFUN([AM_SET_LEADING_DOT],[rm -rf .tst 2>/dev/nullmkdir .tst 2>/dev/nullif test -d .tst; then  am__leading_dot=.else  am__leading_dot=_firmdir .tst 2>/dev/nullAC_SUBST([am__leading_dot])])# Add --enable-maintainer-mode option to configure.         -*- Autoconf -*-# From Jim Meyering# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005# Free Software Foundation, Inc.## This file is free software; the Free Software Foundation# gives unlimited permission to copy and/or distribute it,# with or without modifications, as long as this notice is preserved.# serial 4

⌨️ 快捷键说明

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