Ignore:
Timestamp:
Feb 3, 2017, 2:02:34 PM (8 years ago)
Author:
Silvan Scherrer
Message:

cpio: update vendor to version 2.12

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified cpio/vendor/current/aclocal.m4

    r118 r1964  
    1 # generated automatically by aclocal 1.11.1 -*- Autoconf -*-
    2 
    3 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
    4 # 2005, 2006, 2007, 2008, 2009  Free Software Foundation, Inc.
     1# generated automatically by aclocal 1.14 -*- Autoconf -*-
     2
     3# Copyright (C) 1996-2013 Free Software Foundation, Inc.
     4
    55# This file is free software; the Free Software Foundation
    66# gives unlimited permission to copy and/or distribute it,
     
    1212# PARTICULAR PURPOSE.
    1313
     14m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])])
    1415m4_ifndef([AC_AUTOCONF_VERSION],
    1516  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
    16 m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.63],,
    17 [m4_warning([this file was generated for autoconf 2.63.
     17m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],,
     18[m4_warning([this file was generated for autoconf 2.69.
    1819You have another version of autoconf.  It may work, but is not guaranteed to.
    1920If you have problems, you may need to regenerate the build system entirely.
    20 To do so, use the procedure documented by the package, typically `autoreconf'.])])
    21 
    22 # Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
     21To do so, use the procedure documented by the package, typically 'autoreconf'.])])
     22
     23# Copyright (C) 2002-2013 Free Software Foundation, Inc.
    2324#
    2425# This file is free software; the Free Software Foundation
     
    3233# (This private macro should not be called outside this file.)
    3334AC_DEFUN([AM_AUTOMAKE_VERSION],
    34 [am__api_version='1.11'
     35[am__api_version='1.14'
    3536dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
    3637dnl require some minimum version.  Point them to the right macro.
    37 m4_if([$1], [1.11.1], [],
     38m4_if([$1], [1.14], [],
    3839      [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
    3940])
     
    5152# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
    5253AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
    53 [AM_AUTOMAKE_VERSION([1.11.1])dnl
     54[AM_AUTOMAKE_VERSION([1.14])dnl
    5455m4_ifndef([AC_AUTOCONF_VERSION],
    5556  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
     
    5859# AM_AUX_DIR_EXPAND                                         -*- Autoconf -*-
    5960
    60 # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
     61# Copyright (C) 2001-2013 Free Software Foundation, Inc.
    6162#
    6263# This file is free software; the Free Software Foundation
     
    6566
    6667# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
    67 # $ac_aux_dir to `$srcdir/foo'.  In other projects, it is set to
    68 # `$srcdir', `$srcdir/..', or `$srcdir/../..'.
     68# $ac_aux_dir to '$srcdir/foo'.  In other projects, it is set to
     69# '$srcdir', '$srcdir/..', or '$srcdir/../..'.
    6970#
    7071# Of course, Automake must honor this variable whenever it calls a
     
    8586# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
    8687# are both prefixed by $srcdir.  In an in-source build this is usually
    87 # harmless because $srcdir is `.', but things will broke when you
     88# harmless because $srcdir is '.', but things will broke when you
    8889# start a VPATH build or use an absolute $srcdir.
    8990#
     
    111112# AM_CONDITIONAL                                            -*- Autoconf -*-
    112113
    113 # Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
    114 # Free Software Foundation, Inc.
    115 #
    116 # This file is free software; the Free Software Foundation
    117 # gives unlimited permission to copy and/or distribute it,
    118 # with or without modifications, as long as this notice is preserved.
    119 
    120 # serial 9
     114# Copyright (C) 1997-2013 Free Software Foundation, Inc.
     115#
     116# This file is free software; the Free Software Foundation
     117# gives unlimited permission to copy and/or distribute it,
     118# with or without modifications, as long as this notice is preserved.
    121119
    122120# AM_CONDITIONAL(NAME, SHELL-CONDITION)
     
    124122# Define a conditional.
    125123AC_DEFUN([AM_CONDITIONAL],
    126 [AC_PREREQ(2.52)dnl
    127  ifelse([$1], [TRUE],  [AC_FATAL([$0: invalid condition: $1])],
    128         [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
     124[AC_PREREQ([2.52])dnl
     125 m4_if([$1], [TRUE],  [AC_FATAL([$0: invalid condition: $1])],
     126       [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
    129127AC_SUBST([$1_TRUE])dnl
    130128AC_SUBST([$1_FALSE])dnl
     
    145143fi])])
    146144
    147 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009
    148 # Free Software Foundation, Inc.
    149 #
    150 # This file is free software; the Free Software Foundation
    151 # gives unlimited permission to copy and/or distribute it,
    152 # with or without modifications, as long as this notice is preserved.
    153 
    154 # serial 10
    155 
    156 # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
     145# Copyright (C) 1999-2013 Free Software Foundation, Inc.
     146#
     147# This file is free software; the Free Software Foundation
     148# gives unlimited permission to copy and/or distribute it,
     149# with or without modifications, as long as this notice is preserved.
     150
     151
     152# There are a few dirty hacks below to avoid letting 'AC_PROG_CC' be
    157153# written in clear, in which case automake, when reading aclocal.m4,
    158154# will think it sees a *use*, and therefore will trigger all it's
     
    164160# ----------------------
    165161# See how the compiler implements dependency checking.
    166 # NAME is "CC", "CXX", "GCJ", or "OBJC".
     162# NAME is "CC", "CXX", "OBJC", "OBJCXX", "UPC", or "GJC".
    167163# We try a few techniques and use that to set a single cache variable.
    168164#
     
    177173AC_REQUIRE([AM_DEP_TRACK])dnl
    178174
    179 ifelse([$1], CC,   [depcc="$CC"   am_compiler_list=],
    180        [$1], CXX,  [depcc="$CXX"  am_compiler_list=],
    181        [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
    182        [$1], UPC,  [depcc="$UPC"  am_compiler_list=],
    183        [$1], GCJ,  [depcc="$GCJ"  am_compiler_list='gcc3 gcc'],
    184                    [depcc="$$1"   am_compiler_list=])
     175m4_if([$1], [CC],   [depcc="$CC"   am_compiler_list=],
     176      [$1], [CXX],  [depcc="$CXX"  am_compiler_list=],
     177      [$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
     178      [$1], [OBJCXX], [depcc="$OBJCXX" am_compiler_list='gcc3 gcc'],
     179      [$1], [UPC],  [depcc="$UPC"  am_compiler_list=],
     180      [$1], [GCJ],  [depcc="$GCJ"  am_compiler_list='gcc3 gcc'],
     181                    [depcc="$$1"   am_compiler_list=])
    185182
    186183AC_CACHE_CHECK([dependency style of $depcc],
     
    190187  # making bogus files that we don't know about and never remove.  For
    191188  # instance it was reported that on HP-UX the gcc test will end up
    192   # making a dummy file named `D' -- because `-MD' means `put the output
    193   # in D'.
     189  # making a dummy file named 'D' -- because '-MD' means "put the output
     190  # in D".
     191  rm -rf conftest.dir
    194192  mkdir conftest.dir
    195193  # Copy depcomp to subdir because otherwise we won't find it if we're
     
    230228    for i in 1 2 3 4 5 6; do
    231229      echo '#include "conftst'$i'.h"' >> sub/conftest.c
    232       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
    233       # Solaris 8's {/usr,}/bin/sh.
    234       touch sub/conftst$i.h
     230      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
     231      # Solaris 10 /bin/sh.
     232      echo '/* dummy */' > sub/conftst$i.h
    235233    done
    236234    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
    237235
    238     # We check with `-c' and `-o' for the sake of the "dashmstdout"
     236    # We check with '-c' and '-o' for the sake of the "dashmstdout"
    239237    # mode.  It turns out that the SunPro C++ compiler does not properly
    240     # handle `-M -o', and we need to detect this.  Also, some Intel
    241     # versions had trouble with output in subdirs
     238    # handle '-M -o', and we need to detect this.  Also, some Intel
     239    # versions had trouble with output in subdirs.
    242240    am__obj=sub/conftest.${OBJEXT-o}
    243241    am__minus_obj="-o $am__obj"
     
    248246      ;;
    249247    nosideeffect)
    250       # after this tag, mechanisms are not by side-effect, so they'll
    251       # only be used when explicitly requested
     248      # After this tag, mechanisms are not by side-effect, so they'll
     249      # only be used when explicitly requested.
    252250      if test "x$enable_dependency_tracking" = xyes; then
    253251        continue
     
    256254      fi
    257255      ;;
    258     msvisualcpp | msvcmsys)
    259       # This compiler won't grok `-c -o', but also, the minuso test has
     256    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
     257      # This compiler won't grok '-c -o', but also, the minuso test has
    260258      # not run yet.  These depmodes are late enough in the game, and
    261259      # so weak that their functioning should not be impacted.
     
    305303# -------------
    306304# Choose a directory name for dependency files.
    307 # This macro is AC_REQUIREd in _AM_DEPENDENCIES
     305# This macro is AC_REQUIREd in _AM_DEPENDENCIES.
    308306AC_DEFUN([AM_SET_DEPDIR],
    309307[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
     
    315313# ------------
    316314AC_DEFUN([AM_DEP_TRACK],
    317 [AC_ARG_ENABLE(dependency-tracking,
    318 [  --disable-dependency-tracking  speeds up one-time build
    319   --enable-dependency-tracking   do not reject slow dependency extractors])
     315[AC_ARG_ENABLE([dependency-tracking], [dnl
     316AS_HELP_STRING(
     317  [--enable-dependency-tracking],
     318  [do not reject slow dependency extractors])
     319AS_HELP_STRING(
     320  [--disable-dependency-tracking],
     321  [speeds up one-time build])])
    320322if test "x$enable_dependency_tracking" != xno; then
    321323  am_depcomp="$ac_aux_dir/depcomp"
    322324  AMDEPBACKSLASH='\'
     325  am__nodep='_no'
    323326fi
    324327AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
    325328AC_SUBST([AMDEPBACKSLASH])dnl
    326329_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
     330AC_SUBST([am__nodep])dnl
     331_AM_SUBST_NOTMAKE([am__nodep])dnl
    327332])
    328333
    329334# Generate code to set up dependency tracking.              -*- Autoconf -*-
    330335
    331 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008
    332 # Free Software Foundation, Inc.
    333 #
    334 # This file is free software; the Free Software Foundation
    335 # gives unlimited permission to copy and/or distribute it,
    336 # with or without modifications, as long as this notice is preserved.
    337 
    338 #serial 5
     336# Copyright (C) 1999-2013 Free Software Foundation, Inc.
     337#
     338# This file is free software; the Free Software Foundation
     339# gives unlimited permission to copy and/or distribute it,
     340# with or without modifications, as long as this notice is preserved.
     341
    339342
    340343# _AM_OUTPUT_DEPENDENCY_COMMANDS
     
    342345AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
    343346[{
    344   # Autoconf 2.62 quotes --file arguments for eval, but not when files
     347  # Older Autoconf quotes --file arguments for eval, but not when files
    345348  # are listed without --file.  Let's play safe and only enable the eval
    346349  # if we detect the quoting.
     
    355358    mf=`echo "$mf" | sed -e 's/:.*$//'`
    356359    # Check whether this is an Automake generated Makefile or not.
    357     # We used to match only the files named `Makefile.in', but
     360    # We used to match only the files named 'Makefile.in', but
    358361    # some people rename them; so instead we look at the file content.
    359362    # Grep'ing the first line is not enough: some people post-process
     
    367370    fi
    368371    # Extract the definition of DEPDIR, am__include, and am__quote
    369     # from the Makefile without running `make'.
     372    # from the Makefile without running 'make'.
    370373    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
    371374    test -z "$DEPDIR" && continue
    372375    am__include=`sed -n 's/^am__include = //p' < "$mf"`
    373     test -z "am__include" && continue
     376    test -z "$am__include" && continue
    374377    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
    375     # When using ansi2knr, U may be empty or an underscore; expand it
    376     U=`sed -n 's/^U = //p' < "$mf"`
    377378    # Find all dependency output files, they are included files with
    378379    # $(DEPDIR) in their names.  We invoke sed twice because it is the
     
    381382    for file in `sed -n "
    382383      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
    383          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
     384         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
    384385      # Make sure the directory exists.
    385386      test -f "$dirpart/$file" && continue
     
    399400#
    400401# This code is only required when automatic dependency tracking
    401 # is enabled.  FIXME.  This creates each `.P' file that we will
     402# is enabled.  FIXME.  This creates each '.P' file that we will
    402403# need in order to bootstrap the dependency handling code.
    403404AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
     
    409410# Do all the work for Automake.                             -*- Autoconf -*-
    410411
    411 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
    412 # 2005, 2006, 2008, 2009 Free Software Foundation, Inc.
    413 #
    414 # This file is free software; the Free Software Foundation
    415 # gives unlimited permission to copy and/or distribute it,
    416 # with or without modifications, as long as this notice is preserved.
    417 
    418 # serial 16
     412# Copyright (C) 1996-2013 Free Software Foundation, Inc.
     413#
     414# This file is free software; the Free Software Foundation
     415# gives unlimited permission to copy and/or distribute it,
     416# with or without modifications, as long as this notice is preserved.
    419417
    420418# This macro actually does too much.  Some checks are only needed if
    421419# your package does certain things.  But this isn't really a big deal.
     420
     421dnl Redefine AC_PROG_CC to automatically invoke _AM_PROG_CC_C_O.
     422m4_define([AC_PROG_CC],
     423m4_defn([AC_PROG_CC])
     424[_AM_PROG_CC_C_O
     425])
    422426
    423427# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
     
    433437# release and drop the old call support.
    434438AC_DEFUN([AM_INIT_AUTOMAKE],
    435 [AC_PREREQ([2.62])dnl
     439[AC_PREREQ([2.65])dnl
    436440dnl Autoconf wants to disallow AM_ names.  We explicitly allow
    437441dnl the ones we care about.
     
    462466dnl Distinguish between old-style and new-style calls.
    463467m4_ifval([$2],
    464 [m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
     468[AC_DIAGNOSE([obsolete],
     469             [$0: two- and three-arguments forms are deprecated.])
     470m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
    465471 AC_SUBST([PACKAGE], [$1])dnl
    466472 AC_SUBST([VERSION], [$2])],
    467473[_AM_SET_OPTIONS([$1])dnl
    468474dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
    469 m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
     475m4_if(
     476  m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]),
     477  [ok:ok],,
    470478  [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
    471479 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
     
    473481
    474482_AM_IF_OPTION([no-define],,
    475 [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
    476  AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
     483[AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package])
     484 AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl
    477485
    478486# Some tools Automake needs.
    479487AC_REQUIRE([AM_SANITY_CHECK])dnl
    480488AC_REQUIRE([AC_ARG_PROGRAM])dnl
    481 AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
    482 AM_MISSING_PROG(AUTOCONF, autoconf)
    483 AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
    484 AM_MISSING_PROG(AUTOHEADER, autoheader)
    485 AM_MISSING_PROG(MAKEINFO, makeinfo)
     489AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
     490AM_MISSING_PROG([AUTOCONF], [autoconf])
     491AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
     492AM_MISSING_PROG([AUTOHEADER], [autoheader])
     493AM_MISSING_PROG([MAKEINFO], [makeinfo])
    486494AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
    487495AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
    488 AC_REQUIRE([AM_PROG_MKDIR_P])dnl
     496AC_REQUIRE([AC_PROG_MKDIR_P])dnl
     497# For better backward compatibility.  To be removed once Automake 1.9.x
     498# dies out for good.  For more background, see:
     499# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
     500# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
     501AC_SUBST([mkdir_p], ['$(MKDIR_P)'])
    489502# We need awk for the "check" target.  The system "awk" is bad on
    490503# some platforms.
     
    497510_AM_IF_OPTION([no-dependencies],,
    498511[AC_PROVIDE_IFELSE([AC_PROG_CC],
    499                   [_AM_DEPENDENCIES(CC)],
    500                   [define([AC_PROG_CC],
    501                           defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
     512                  [_AM_DEPENDENCIES([CC])],
     513                  [m4_define([AC_PROG_CC],
     514                             m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl
    502515AC_PROVIDE_IFELSE([AC_PROG_CXX],
    503                   [_AM_DEPENDENCIES(CXX)],
    504                   [define([AC_PROG_CXX],
    505                           defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
     516                  [_AM_DEPENDENCIES([CXX])],
     517                  [m4_define([AC_PROG_CXX],
     518                             m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl
    506519AC_PROVIDE_IFELSE([AC_PROG_OBJC],
    507                   [_AM_DEPENDENCIES(OBJC)],
    508                   [define([AC_PROG_OBJC],
    509                           defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
     520                  [_AM_DEPENDENCIES([OBJC])],
     521                  [m4_define([AC_PROG_OBJC],
     522                             m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
     523AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
     524                  [_AM_DEPENDENCIES([OBJCXX])],
     525                  [m4_define([AC_PROG_OBJCXX],
     526                             m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl
    510527])
    511 _AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
    512 dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
    513 dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen.  This macro
    514 dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
     528AC_REQUIRE([AM_SILENT_RULES])dnl
     529dnl The testsuite driver may need to know about EXEEXT, so add the
     530dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen.  This
     531dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below.
    515532AC_CONFIG_COMMANDS_PRE(dnl
    516533[m4_provide_if([_AM_COMPILER_EXEEXT],
    517534  [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
    518 ])
    519 
    520 dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion.  Do not
     535
     536# POSIX will say in a future version that running "rm -f" with no argument
     537# is OK; and we want to be able to make that assumption in our Makefile
     538# recipes.  So use an aggressive probe to check that the usage we want is
     539# actually supported "in the wild" to an acceptable degree.
     540# See automake bug#10828.
     541# To make any issue more visible, cause the running configure to be aborted
     542# by default if the 'rm' program in use doesn't match our expectations; the
     543# user can still override this though.
     544if rm -f && rm -fr && rm -rf; then : OK; else
     545  cat >&2 <<'END'
     546Oops!
     547
     548Your 'rm' program seems unable to run without file operands specified
     549on the command line, even when the '-f' option is present.  This is contrary
     550to the behaviour of most rm programs out there, and not conforming with
     551the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
     552
     553Please tell bug-automake@gnu.org about your system, including the value
     554of your $PATH and any error possibly output before this message.  This
     555can help us improve future automake versions.
     556
     557END
     558  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
     559    echo 'Configuration will proceed anyway, since you have set the' >&2
     560    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
     561    echo >&2
     562  else
     563    cat >&2 <<'END'
     564Aborting the configuration process, to ensure you take notice of the issue.
     565
     566You can download and install GNU coreutils to get an 'rm' implementation
     567that behaves properly: <http://www.gnu.org/software/coreutils/>.
     568
     569If you want to complete the configuration process using your problematic
     570'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
     571to "yes", and re-run configure.
     572
     573END
     574    AC_MSG_ERROR([Your 'rm' program is bad, sorry.])
     575  fi
     576fi])
     577
     578dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion.  Do not
    521579dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
    522580dnl mangled by Autoconf and run in a shell conditional statement.
    523581m4_define([_AC_COMPILER_EXEEXT],
    524582m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
    525 
    526583
    527584# When config.status generates a header, we must update the stamp-h file.
     
    546603echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
    547604
    548 # Copyright (C) 2001, 2003, 2005, 2008 Free Software Foundation, Inc.
     605# Copyright (C) 2001-2013 Free Software Foundation, Inc.
    549606#
    550607# This file is free software; the Free Software Foundation
     
    565622  esac
    566623fi
    567 AC_SUBST(install_sh)])
    568 
    569 # Copyright (C) 2003, 2005  Free Software Foundation, Inc.
    570 #
    571 # This file is free software; the Free Software Foundation
    572 # gives unlimited permission to copy and/or distribute it,
    573 # with or without modifications, as long as this notice is preserved.
    574 
    575 # serial 2
     624AC_SUBST([install_sh])])
     625
     626# Copyright (C) 2003-2013 Free Software Foundation, Inc.
     627#
     628# This file is free software; the Free Software Foundation
     629# gives unlimited permission to copy and/or distribute it,
     630# with or without modifications, as long as this notice is preserved.
    576631
    577632# Check whether the underlying file-system supports filenames
     
    590645# Check to see how 'make' treats includes.                  -*- Autoconf -*-
    591646
    592 # Copyright (C) 2001, 2002, 2003, 2005, 2009  Free Software Foundation, Inc.
    593 #
    594 # This file is free software; the Free Software Foundation
    595 # gives unlimited permission to copy and/or distribute it,
    596 # with or without modifications, as long as this notice is preserved.
    597 
    598 # serial 4
     647# Copyright (C) 2001-2013 Free Software Foundation, Inc.
     648#
     649# This file is free software; the Free Software Foundation
     650# gives unlimited permission to copy and/or distribute it,
     651# with or without modifications, as long as this notice is preserved.
    599652
    600653# AM_MAKE_INCLUDE()
     
    615668# First try GNU make style include.
    616669echo "include confinc" > confmf
    617 # Ignore all kinds of additional output from `make'.
     670# Ignore all kinds of additional output from 'make'.
    618671case `$am_make -s -f confmf 2> /dev/null` in #(
    619672*the\ am__doit\ target*)
     
    642695# Fake the existence of programs that GNU maintainers use.  -*- Autoconf -*-
    643696
    644 # Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008
    645 # Free Software Foundation, Inc.
    646 #
    647 # This file is free software; the Free Software Foundation
    648 # gives unlimited permission to copy and/or distribute it,
    649 # with or without modifications, as long as this notice is preserved.
    650 
    651 # serial 6
     697# Copyright (C) 1997-2013 Free Software Foundation, Inc.
     698#
     699# This file is free software; the Free Software Foundation
     700# gives unlimited permission to copy and/or distribute it,
     701# with or without modifications, as long as this notice is preserved.
    652702
    653703# AM_MISSING_PROG(NAME, PROGRAM)
     
    658708AC_SUBST($1)])
    659709
    660 
    661710# AM_MISSING_HAS_RUN
    662711# ------------------
    663 # Define MISSING if not defined so far and test if it supports --run.
    664 # If it does, set am_missing_run to use it, otherwise, to nothing.
     712# Define MISSING if not defined so far and test if it is modern enough.
     713# If it is, set am_missing_run to use it, otherwise, to nothing.
    665714AC_DEFUN([AM_MISSING_HAS_RUN],
    666715[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
     
    675724fi
    676725# Use eval to expand $SHELL
    677 if eval "$MISSING --run true"; then
    678   am_missing_run="$MISSING --run "
     726if eval "$MISSING --is-lightweight"; then
     727  am_missing_run="$MISSING "
    679728else
    680729  am_missing_run=
    681   AC_MSG_WARN([`missing' script is too old or missing])
     730  AC_MSG_WARN(['missing' script is too old or missing])
    682731fi
    683732])
    684733
    685 # Copyright (C) 2003, 2004, 2005, 2006  Free Software Foundation, Inc.
    686 #
    687 # This file is free software; the Free Software Foundation
    688 # gives unlimited permission to copy and/or distribute it,
    689 # with or without modifications, as long as this notice is preserved.
    690 
    691 # AM_PROG_MKDIR_P
    692 # ---------------
    693 # Check for `mkdir -p'.
    694 AC_DEFUN([AM_PROG_MKDIR_P],
    695 [AC_PREREQ([2.60])dnl
    696 AC_REQUIRE([AC_PROG_MKDIR_P])dnl
    697 dnl Automake 1.8 to 1.9.6 used to define mkdir_p.  We now use MKDIR_P,
    698 dnl while keeping a definition of mkdir_p for backward compatibility.
    699 dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
    700 dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
    701 dnl Makefile.ins that do not define MKDIR_P, so we do our own
    702 dnl adjustment using top_builddir (which is defined more often than
    703 dnl MKDIR_P).
    704 AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
    705 case $mkdir_p in
    706   [[\\/$]]* | ?:[[\\/]]*) ;;
    707   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
    708 esac
    709 ])
    710 
    711734# Helper functions for option handling.                     -*- Autoconf -*-
    712735
    713 # Copyright (C) 2001, 2002, 2003, 2005, 2008  Free Software Foundation, Inc.
    714 #
    715 # This file is free software; the Free Software Foundation
    716 # gives unlimited permission to copy and/or distribute it,
    717 # with or without modifications, as long as this notice is preserved.
    718 
    719 # serial 4
     736# Copyright (C) 2001-2013 Free Software Foundation, Inc.
     737#
     738# This file is free software; the Free Software Foundation
     739# gives unlimited permission to copy and/or distribute it,
     740# with or without modifications, as long as this notice is preserved.
    720741
    721742# _AM_MANGLE_OPTION(NAME)
     
    725746
    726747# _AM_SET_OPTION(NAME)
    727 # ------------------------------
     748# --------------------
    728749# Set option NAME.  Presently that only means defining a flag for this option.
    729750AC_DEFUN([_AM_SET_OPTION],
    730 [m4_define(_AM_MANGLE_OPTION([$1]), 1)])
     751[m4_define(_AM_MANGLE_OPTION([$1]), [1])])
    731752
    732753# _AM_SET_OPTIONS(OPTIONS)
    733 # ----------------------------------
     754# ------------------------
    734755# OPTIONS is a space-separated list of Automake options.
    735756AC_DEFUN([_AM_SET_OPTIONS],
     
    742763[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
    743764
    744 # Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
     765# Copyright (C) 1999-2013 Free Software Foundation, Inc.
     766#
     767# This file is free software; the Free Software Foundation
     768# gives unlimited permission to copy and/or distribute it,
     769# with or without modifications, as long as this notice is preserved.
     770
     771# _AM_PROG_CC_C_O
     772# ---------------
     773# Like AC_PROG_CC_C_O, but changed for automake.  We rewrite AC_PROG_CC
     774# to automatically call this.
     775AC_DEFUN([_AM_PROG_CC_C_O],
     776[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
     777AC_REQUIRE_AUX_FILE([compile])dnl
     778AC_LANG_PUSH([C])dnl
     779AC_CACHE_CHECK(
     780  [whether $CC understands -c and -o together],
     781  [am_cv_prog_cc_c_o],
     782  [AC_LANG_CONFTEST([AC_LANG_PROGRAM([])])
     783  # Make sure it works both with $CC and with simple cc.
     784  # Following AC_PROG_CC_C_O, we do the test twice because some
     785  # compilers refuse to overwrite an existing .o file with -o,
     786  # though they will create one.
     787  am_cv_prog_cc_c_o=yes
     788  for am_i in 1 2; do
     789    if AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext]) \
     790         && test -f conftest2.$ac_objext; then
     791      : OK
     792    else
     793      am_cv_prog_cc_c_o=no
     794      break
     795    fi
     796  done
     797  rm -f core conftest*
     798  unset am_i])
     799if test "$am_cv_prog_cc_c_o" != yes; then
     800   # Losing compiler, so override with the script.
     801   # FIXME: It is wrong to rewrite CC.
     802   # But if we don't then we get into trouble of one sort or another.
     803   # A longer-term fix would be to have automake use am__CC in this case,
     804   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
     805   CC="$am_aux_dir/compile $CC"
     806fi
     807AC_LANG_POP([C])])
     808
     809# For backward compatibility.
     810AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])])
     811
     812# Copyright (C) 2001-2013 Free Software Foundation, Inc.
    745813#
    746814# This file is free software; the Free Software Foundation
     
    761829# Check to make sure that the build environment is sane.    -*- Autoconf -*-
    762830
    763 # Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008
    764 # Free Software Foundation, Inc.
    765 #
    766 # This file is free software; the Free Software Foundation
    767 # gives unlimited permission to copy and/or distribute it,
    768 # with or without modifications, as long as this notice is preserved.
    769 
    770 # serial 5
     831# Copyright (C) 1996-2013 Free Software Foundation, Inc.
     832#
     833# This file is free software; the Free Software Foundation
     834# gives unlimited permission to copy and/or distribute it,
     835# with or without modifications, as long as this notice is preserved.
    771836
    772837# AM_SANITY_CHECK
     
    774839AC_DEFUN([AM_SANITY_CHECK],
    775840[AC_MSG_CHECKING([whether build environment is sane])
    776 # Just in case
    777 sleep 1
    778 echo timestamp > conftest.file
    779841# Reject unsafe characters in $srcdir or the absolute working directory
    780842# name.  Accept space and tab only in the latter.
     
    787849case $srcdir in
    788850  *[[\\\"\#\$\&\'\`$am_lf\ \    ]]*)
    789     AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
     851    AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);;
    790852esac
    791853
    792 # Do `set' in a subshell so we don't clobber the current shell's
     854# Do 'set' in a subshell so we don't clobber the current shell's
    793855# arguments.  Must try -L first in case configure is actually a
    794856# symlink; some systems play weird games with the mod time of symlinks
     
    796858# directory).
    797859if (
    798    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
    799    if test "$[*]" = "X"; then
    800       # -L didn't work.
    801       set X `ls -t "$srcdir/configure" conftest.file`
    802    fi
    803    rm -f conftest.file
    804    if test "$[*]" != "X $srcdir/configure conftest.file" \
    805       && test "$[*]" != "X conftest.file $srcdir/configure"; then
    806 
    807       # If neither matched, then we have a broken ls.  This can happen
    808       # if, for instance, CONFIG_SHELL is bash and it inherits a
    809       # broken ls alias from the environment.  This has actually
    810       # happened.  Such a system could not be considered "sane".
    811       AC_MSG_ERROR([ls -t appears to fail.  Make sure there is not a broken
    812 alias in your environment])
    813    fi
    814 
     860   am_has_slept=no
     861   for am_try in 1 2; do
     862     echo "timestamp, slept: $am_has_slept" > conftest.file
     863     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
     864     if test "$[*]" = "X"; then
     865        # -L didn't work.
     866        set X `ls -t "$srcdir/configure" conftest.file`
     867     fi
     868     if test "$[*]" != "X $srcdir/configure conftest.file" \
     869        && test "$[*]" != "X conftest.file $srcdir/configure"; then
     870
     871        # If neither matched, then we have a broken ls.  This can happen
     872        # if, for instance, CONFIG_SHELL is bash and it inherits a
     873        # broken ls alias from the environment.  This has actually
     874        # happened.  Such a system could not be considered "sane".
     875        AC_MSG_ERROR([ls -t appears to fail.  Make sure there is not a broken
     876  alias in your environment])
     877     fi
     878     if test "$[2]" = conftest.file || test $am_try -eq 2; then
     879       break
     880     fi
     881     # Just in case.
     882     sleep 1
     883     am_has_slept=yes
     884   done
    815885   test "$[2]" = conftest.file
    816886   )
     
    822892Check your system clock])
    823893fi
    824 AC_MSG_RESULT(yes)])
    825 
    826 # Copyright (C) 2009  Free Software Foundation, Inc.
    827 #
    828 # This file is free software; the Free Software Foundation
    829 # gives unlimited permission to copy and/or distribute it,
    830 # with or without modifications, as long as this notice is preserved.
    831 
    832 # serial 1
     894AC_MSG_RESULT([yes])
     895# If we didn't sleep, we still need to ensure time stamps of config.status and
     896# generated files are strictly newer.
     897am_sleep_pid=
     898if grep 'slept: no' conftest.file >/dev/null 2>&1; then
     899  ( sleep 1 ) &
     900  am_sleep_pid=$!
     901fi
     902AC_CONFIG_COMMANDS_PRE(
     903  [AC_MSG_CHECKING([that generated files are newer than configure])
     904   if test -n "$am_sleep_pid"; then
     905     # Hide warnings about reused PIDs.
     906     wait $am_sleep_pid 2>/dev/null
     907   fi
     908   AC_MSG_RESULT([done])])
     909rm -f conftest.file
     910])
     911
     912# Copyright (C) 2009-2013 Free Software Foundation, Inc.
     913#
     914# This file is free software; the Free Software Foundation
     915# gives unlimited permission to copy and/or distribute it,
     916# with or without modifications, as long as this notice is preserved.
    833917
    834918# AM_SILENT_RULES([DEFAULT])
    835919# --------------------------
    836920# Enable less verbose build rules; with the default set to DEFAULT
    837 # (`yes' being less verbose, `no' or empty being verbose).
     921# ("yes" being less verbose, "no" or empty being verbose).
    838922AC_DEFUN([AM_SILENT_RULES],
    839 [AC_ARG_ENABLE([silent-rules],
    840 [  --enable-silent-rules          less verbose build output (undo: `make V=1')
    841   --disable-silent-rules         verbose build output (undo: `make V=0')])
    842 case $enable_silent_rules in
    843 yes) AM_DEFAULT_VERBOSITY=0;;
    844 no)  AM_DEFAULT_VERBOSITY=1;;
    845 *)   AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
     923[AC_ARG_ENABLE([silent-rules], [dnl
     924AS_HELP_STRING(
     925  [--enable-silent-rules],
     926  [less verbose build output (undo: "make V=1")])
     927AS_HELP_STRING(
     928  [--disable-silent-rules],
     929  [verbose build output (undo: "make V=0")])dnl
     930])
     931case $enable_silent_rules in @%:@ (((
     932  yes) AM_DEFAULT_VERBOSITY=0;;
     933   no) AM_DEFAULT_VERBOSITY=1;;
     934    *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
    846935esac
     936dnl
     937dnl A few 'make' implementations (e.g., NonStop OS and NextStep)
     938dnl do not support nested variable expansions.
     939dnl See automake bug#9928 and bug#10237.
     940am_make=${MAKE-make}
     941AC_CACHE_CHECK([whether $am_make supports nested variables],
     942   [am_cv_make_support_nested_variables],
     943   [if AS_ECHO([['TRUE=$(BAR$(V))
     944BAR0=false
     945BAR1=true
     946V=1
     947am__doit:
     948        @$(TRUE)
     949.PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then
     950  am_cv_make_support_nested_variables=yes
     951else
     952  am_cv_make_support_nested_variables=no
     953fi])
     954if test $am_cv_make_support_nested_variables = yes; then
     955  dnl Using '$V' instead of '$(V)' breaks IRIX make.
     956  AM_V='$(V)'
     957  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
     958else
     959  AM_V=$AM_DEFAULT_VERBOSITY
     960  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
     961fi
     962AC_SUBST([AM_V])dnl
     963AM_SUBST_NOTMAKE([AM_V])dnl
     964AC_SUBST([AM_DEFAULT_V])dnl
     965AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl
    847966AC_SUBST([AM_DEFAULT_VERBOSITY])dnl
    848967AM_BACKSLASH='\'
     
    851970])
    852971
    853 # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
     972# Copyright (C) 2001-2013 Free Software Foundation, Inc.
    854973#
    855974# This file is free software; the Free Software Foundation
     
    859978# AM_PROG_INSTALL_STRIP
    860979# ---------------------
    861 # One issue with vendor `install' (even GNU) is that you can't
     980# One issue with vendor 'install' (even GNU) is that you can't
    862981# specify the program used to strip binaries.  This is especially
    863982# annoying in cross-compiling environments, where the build's strip
    864983# is unlikely to handle the host's binaries.
    865984# Fortunately install-sh will honor a STRIPPROG variable, so we
    866 # always use install-sh in `make install-strip', and initialize
     985# always use install-sh in "make install-strip", and initialize
    867986# STRIPPROG with the value of the STRIP variable (set by the user).
    868987AC_DEFUN([AM_PROG_INSTALL_STRIP],
    869988[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
    870 # Installed binaries are usually stripped using `strip' when the user
    871 # run `make install-strip'.  However `strip' might not be the right
     989# Installed binaries are usually stripped using 'strip' when the user
     990# run "make install-strip".  However 'strip' might not be the right
    872991# tool to use in cross-compilation environments, therefore Automake
    873 # will honor the `STRIP' environment variable to overrule this program.
    874 dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
     992# will honor the 'STRIP' environment variable to overrule this program.
     993dnl Don't test for $cross_compiling = yes, because it might be 'maybe'.
    875994if test "$cross_compiling" != no; then
    876995  AC_CHECK_TOOL([STRIP], [strip], :)
     
    879998AC_SUBST([INSTALL_STRIP_PROGRAM])])
    880999
    881 # Copyright (C) 2006, 2008  Free Software Foundation, Inc.
    882 #
    883 # This file is free software; the Free Software Foundation
    884 # gives unlimited permission to copy and/or distribute it,
    885 # with or without modifications, as long as this notice is preserved.
    886 
    887 # serial 2
     1000# Copyright (C) 2006-2013 Free Software Foundation, Inc.
     1001#
     1002# This file is free software; the Free Software Foundation
     1003# gives unlimited permission to copy and/or distribute it,
     1004# with or without modifications, as long as this notice is preserved.
    8881005
    8891006# _AM_SUBST_NOTMAKE(VARIABLE)
     
    8941011
    8951012# AM_SUBST_NOTMAKE(VARIABLE)
    896 # ---------------------------
     1013# --------------------------
    8971014# Public sister of _AM_SUBST_NOTMAKE.
    8981015AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
     
    9001017# Check how to create a tarball.                            -*- Autoconf -*-
    9011018
    902 # Copyright (C) 2004, 2005  Free Software Foundation, Inc.
    903 #
    904 # This file is free software; the Free Software Foundation
    905 # gives unlimited permission to copy and/or distribute it,
    906 # with or without modifications, as long as this notice is preserved.
    907 
    908 # serial 2
     1019# Copyright (C) 2004-2013 Free Software Foundation, Inc.
     1020#
     1021# This file is free software; the Free Software Foundation
     1022# gives unlimited permission to copy and/or distribute it,
     1023# with or without modifications, as long as this notice is preserved.
    9091024
    9101025# _AM_PROG_TAR(FORMAT)
    9111026# --------------------
    9121027# Check how to create a tarball in format FORMAT.
    913 # FORMAT should be one of `v7', `ustar', or `pax'.
     1028# FORMAT should be one of 'v7', 'ustar', or 'pax'.
    9141029#
    9151030# Substitute a variable $(am__tar) that is a command
     
    9211036# a tarball read from stdin.
    9221037#     $(am__untar) < result.tar
     1038#
    9231039AC_DEFUN([_AM_PROG_TAR],
    924 [# Always define AMTAR for backward compatibility.
    925 AM_MISSING_PROG([AMTAR], [tar])
     1040[# Always define AMTAR for backward compatibility.  Yes, it's still used
     1041# in the wild :-(  We should find a proper way to deprecate it ...
     1042AC_SUBST([AMTAR], ['$${TAR-tar}'])
     1043
     1044# We'll loop over all known methods to create a tar archive until one works.
     1045_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
     1046
    9261047m4_if([$1], [v7],
    927      [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],
    928      [m4_case([$1], [ustar],, [pax],,
    929               [m4_fatal([Unknown tar format])])
    930 AC_MSG_CHECKING([how to create a $1 tar archive])
    931 # Loop over all known methods to create a tar archive until one works.
    932 _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
    933 _am_tools=${am_cv_prog_tar_$1-$_am_tools}
    934 # Do not fold the above two line into one, because Tru64 sh and
    935 # Solaris sh will not grok spaces in the rhs of `-'.
    936 for _am_tool in $_am_tools
    937 do
    938   case $_am_tool in
    939   gnutar)
    940     for _am_tar in tar gnutar gtar;
    941     do
    942       AM_RUN_LOG([$_am_tar --version]) && break
    943     done
    944     am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
    945     am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
    946     am__untar="$_am_tar -xf -"
    947     ;;
    948   plaintar)
    949     # Must skip GNU tar: if it does not support --format= it doesn't create
    950     # ustar tarball either.
    951     (tar --version) >/dev/null 2>&1 && continue
    952     am__tar='tar chf - "$$tardir"'
    953     am__tar_='tar chf - "$tardir"'
    954     am__untar='tar xf -'
    955     ;;
    956   pax)
    957     am__tar='pax -L -x $1 -w "$$tardir"'
    958     am__tar_='pax -L -x $1 -w "$tardir"'
    959     am__untar='pax -r'
    960     ;;
    961   cpio)
    962     am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
    963     am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
    964     am__untar='cpio -i -H $1 -d'
    965     ;;
    966   none)
    967     am__tar=false
    968     am__tar_=false
    969     am__untar=false
    970     ;;
    971   esac
    972 
    973   # If the value was cached, stop now.  We just wanted to have am__tar
    974   # and am__untar set.
    975   test -n "${am_cv_prog_tar_$1}" && break
    976 
    977   # tar/untar a dummy directory, and stop if the command works
     1048  [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
     1049
     1050  [m4_case([$1],
     1051    [ustar],
     1052     [# The POSIX 1988 'ustar' format is defined with fixed-size fields.
     1053      # There is notably a 21 bits limit for the UID and the GID.  In fact,
     1054      # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
     1055      # and bug#13588).
     1056      am_max_uid=2097151 # 2^21 - 1
     1057      am_max_gid=$am_max_uid
     1058      # The $UID and $GID variables are not portable, so we need to resort
     1059      # to the POSIX-mandated id(1) utility.  Errors in the 'id' calls
     1060      # below are definitely unexpected, so allow the users to see them
     1061      # (that is, avoid stderr redirection).
     1062      am_uid=`id -u || echo unknown`
     1063      am_gid=`id -g || echo unknown`
     1064      AC_MSG_CHECKING([whether UID '$am_uid' is supported by ustar format])
     1065      if test $am_uid -le $am_max_uid; then
     1066         AC_MSG_RESULT([yes])
     1067      else
     1068         AC_MSG_RESULT([no])
     1069         _am_tools=none
     1070      fi
     1071      AC_MSG_CHECKING([whether GID '$am_gid' is supported by ustar format])
     1072      if test $am_gid -le $am_max_gid; then
     1073         AC_MSG_RESULT([yes])
     1074      else
     1075        AC_MSG_RESULT([no])
     1076        _am_tools=none
     1077      fi],
     1078
     1079  [pax],
     1080    [],
     1081
     1082  [m4_fatal([Unknown tar format])])
     1083
     1084  AC_MSG_CHECKING([how to create a $1 tar archive])
     1085
     1086  # Go ahead even if we have the value already cached.  We do so because we
     1087  # need to set the values for the 'am__tar' and 'am__untar' variables.
     1088  _am_tools=${am_cv_prog_tar_$1-$_am_tools}
     1089
     1090  for _am_tool in $_am_tools; do
     1091    case $_am_tool in
     1092    gnutar)
     1093      for _am_tar in tar gnutar gtar; do
     1094        AM_RUN_LOG([$_am_tar --version]) && break
     1095      done
     1096      am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
     1097      am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
     1098      am__untar="$_am_tar -xf -"
     1099      ;;
     1100    plaintar)
     1101      # Must skip GNU tar: if it does not support --format= it doesn't create
     1102      # ustar tarball either.
     1103      (tar --version) >/dev/null 2>&1 && continue
     1104      am__tar='tar chf - "$$tardir"'
     1105      am__tar_='tar chf - "$tardir"'
     1106      am__untar='tar xf -'
     1107      ;;
     1108    pax)
     1109      am__tar='pax -L -x $1 -w "$$tardir"'
     1110      am__tar_='pax -L -x $1 -w "$tardir"'
     1111      am__untar='pax -r'
     1112      ;;
     1113    cpio)
     1114      am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
     1115      am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
     1116      am__untar='cpio -i -H $1 -d'
     1117      ;;
     1118    none)
     1119      am__tar=false
     1120      am__tar_=false
     1121      am__untar=false
     1122      ;;
     1123    esac
     1124
     1125    # If the value was cached, stop now.  We just wanted to have am__tar
     1126    # and am__untar set.
     1127    test -n "${am_cv_prog_tar_$1}" && break
     1128
     1129    # tar/untar a dummy directory, and stop if the command works.
     1130    rm -rf conftest.dir
     1131    mkdir conftest.dir
     1132    echo GrepMe > conftest.dir/file
     1133    AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
     1134    rm -rf conftest.dir
     1135    if test -s conftest.tar; then
     1136      AM_RUN_LOG([$am__untar <conftest.tar])
     1137      AM_RUN_LOG([cat conftest.dir/file])
     1138      grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
     1139    fi
     1140  done
    9781141  rm -rf conftest.dir
    979   mkdir conftest.dir
    980   echo GrepMe > conftest.dir/file
    981   AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
    982   rm -rf conftest.dir
    983   if test -s conftest.tar; then
    984     AM_RUN_LOG([$am__untar <conftest.tar])
    985     grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
    986   fi
    987 done
    988 rm -rf conftest.dir
    989 
    990 AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
    991 AC_MSG_RESULT([$am_cv_prog_tar_$1])])
     1142
     1143  AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
     1144  AC_MSG_RESULT([$am_cv_prog_tar_$1])])
     1145
    9921146AC_SUBST([am__tar])
    9931147AC_SUBST([am__untar])
     
    9981152m4_include([am/sysdep.m4])
    9991153m4_include([m4/00gnulib.m4])
     1154m4_include([m4/absolute-header.m4])
    10001155m4_include([m4/alloca.m4])
    1001 m4_include([m4/argmatch.m4])
    10021156m4_include([m4/argp.m4])
    10031157m4_include([m4/bison.m4])
     
    10071161m4_include([m4/close-stream.m4])
    10081162m4_include([m4/close.m4])
     1163m4_include([m4/closedir.m4])
    10091164m4_include([m4/closeout.m4])
    10101165m4_include([m4/codeset.m4])
     1166m4_include([m4/configmake.m4])
    10111167m4_include([m4/d-ino.m4])
    10121168m4_include([m4/dirent-safer.m4])
     
    10141170m4_include([m4/dirfd.m4])
    10151171m4_include([m4/dirname.m4])
    1016 m4_include([m4/dos.m4])
    10171172m4_include([m4/double-slash-root.m4])
     1173m4_include([m4/dup.m4])
    10181174m4_include([m4/dup2.m4])
    10191175m4_include([m4/eealloc.m4])
     
    10211177m4_include([m4/errno_h.m4])
    10221178m4_include([m4/error.m4])
     1179m4_include([m4/exponentd.m4])
    10231180m4_include([m4/extensions.m4])
     1181m4_include([m4/extern-inline.m4])
    10241182m4_include([m4/fchdir.m4])
    1025 m4_include([m4/fclose.m4])
    10261183m4_include([m4/fcntl-o.m4])
    10271184m4_include([m4/fcntl.m4])
     
    10291186m4_include([m4/fdopendir.m4])
    10301187m4_include([m4/fileblocks.m4])
     1188m4_include([m4/filenamecat.m4])
    10311189m4_include([m4/float_h.m4])
    10321190m4_include([m4/fnmatch.m4])
    10331191m4_include([m4/fpending.m4])
     1192m4_include([m4/fseek.m4])
    10341193m4_include([m4/fseeko.m4])
     1194m4_include([m4/fstat.m4])
     1195m4_include([m4/fstatat.m4])
    10351196m4_include([m4/getcwd-abort-bug.m4])
    10361197m4_include([m4/getcwd-path-max.m4])
    10371198m4_include([m4/getcwd.m4])
    1038 m4_include([m4/getdate.m4])
     1199m4_include([m4/getdelim.m4])
    10391200m4_include([m4/getdtablesize.m4])
     1201m4_include([m4/getline.m4])
    10401202m4_include([m4/getopt.m4])
    10411203m4_include([m4/gettext.m4])
     
    10451207m4_include([m4/gnulib-common.m4])
    10461208m4_include([m4/gnulib-comp.m4])
    1047 m4_include([m4/hash.m4])
    10481209m4_include([m4/iconv.m4])
    10491210m4_include([m4/include_next.m4])
    1050 m4_include([m4/inline.m4])
    10511211m4_include([m4/intlmacosx.m4])
    10521212m4_include([m4/intmax_t.m4])
     
    10551215m4_include([m4/inttypes.m4])
    10561216m4_include([m4/inttypes_h.m4])
     1217m4_include([m4/largefile.m4])
    10571218m4_include([m4/lchown.m4])
    10581219m4_include([m4/lib-ld.m4])
     
    10751236m4_include([m4/mempcpy.m4])
    10761237m4_include([m4/memrchr.m4])
    1077 m4_include([m4/mkdir.m4])
    10781238m4_include([m4/mktime.m4])
    10791239m4_include([m4/mmap-anon.m4])
    10801240m4_include([m4/mode_t.m4])
     1241m4_include([m4/msvc-inval.m4])
     1242m4_include([m4/msvc-nothrow.m4])
    10811243m4_include([m4/multiarch.m4])
    10821244m4_include([m4/nls.m4])
     1245m4_include([m4/nocrash.m4])
     1246m4_include([m4/obstack.m4])
     1247m4_include([m4/off_t.m4])
    10831248m4_include([m4/open.m4])
    10841249m4_include([m4/openat.m4])
     1250m4_include([m4/opendir.m4])
     1251m4_include([m4/parse-datetime.m4])
     1252m4_include([m4/pathmax.m4])
    10851253m4_include([m4/paxutils.m4])
    10861254m4_include([m4/po.m4])
     
    10891257m4_include([m4/quote.m4])
    10901258m4_include([m4/quotearg.m4])
     1259m4_include([m4/raise.m4])
    10911260m4_include([m4/rawmemchr.m4])
     1261m4_include([m4/read.m4])
     1262m4_include([m4/readdir.m4])
    10921263m4_include([m4/realloc.m4])
    1093 m4_include([m4/rmdir.m4])
     1264m4_include([m4/rewinddir.m4])
    10941265m4_include([m4/rmt.m4])
    10951266m4_include([m4/rtapelib.m4])
     
    10991270m4_include([m4/savedir.m4])
    11001271m4_include([m4/setenv.m4])
     1272m4_include([m4/signal_h.m4])
    11011273m4_include([m4/size_max.m4])
    11021274m4_include([m4/sleep.m4])
     
    11041276m4_include([m4/stat-time.m4])
    11051277m4_include([m4/stat.m4])
     1278m4_include([m4/stdalign.m4])
    11061279m4_include([m4/stdarg.m4])
    11071280m4_include([m4/stdbool.m4])
     
    11211294m4_include([m4/strnlen.m4])
    11221295m4_include([m4/strtol.m4])
     1296m4_include([m4/sys_socket_h.m4])
    11231297m4_include([m4/sys_stat_h.m4])
    11241298m4_include([m4/sys_time_h.m4])
     1299m4_include([m4/sys_types_h.m4])
    11251300m4_include([m4/sysexits.m4])
    11261301m4_include([m4/system.m4])
     
    11311306m4_include([m4/unistd-safer.m4])
    11321307m4_include([m4/unistd_h.m4])
    1133 m4_include([m4/unlink.m4])
    11341308m4_include([m4/unlocked-io.m4])
    11351309m4_include([m4/utimbuf.m4])
    11361310m4_include([m4/utimens.m4])
     1311m4_include([m4/utimensat.m4])
    11371312m4_include([m4/utimes.m4])
    11381313m4_include([m4/vasnprintf.m4])
Note: See TracChangeset for help on using the changeset viewer.