Ignore:
Timestamp:
Sep 24, 2014, 9:34:21 PM (11 years ago)
Author:
dmik
Message:

icedtea-web: Merge version 1.5.1 from vendor to trunk.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/icedtea-web/aclocal.m4

    r418 r429  
    1 # generated automatically by aclocal 1.11.3 -*- Autoconf -*-
    2 
    3 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
    4 # 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation,
    5 # Inc.
     1# generated automatically by aclocal 1.13.4 -*- Autoconf -*-
     2
     3# Copyright (C) 1996-2013 Free Software Foundation, Inc.
     4
    65# This file is free software; the Free Software Foundation
    76# gives unlimited permission to copy and/or distribute it,
     
    1312# PARTICULAR PURPOSE.
    1413
     14m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])])
    1515m4_ifndef([AC_AUTOCONF_VERSION],
    1616  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
    17 m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.68],,
    18 [m4_warning([this file was generated for autoconf 2.68.
     17m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],,
     18[m4_warning([this file was generated for autoconf 2.69.
    1919You have another version of autoconf.  It may work, but is not guaranteed to.
    2020If you have problems, you may need to regenerate the build system entirely.
    21 To do so, use the procedure documented by the package, typically `autoreconf'.])])
     21To do so, use the procedure documented by the package, typically 'autoreconf'.])])
    2222
    2323# pkg.m4 - Macros to locate and utilise pkg-config.            -*- Autoconf -*-
     
    4949AC_DEFUN([PKG_PROG_PKG_CONFIG],
    5050[m4_pattern_forbid([^_?PKG_[A-Z_]+$])
    51 m4_pattern_allow([^PKG_CONFIG(_PATH)?$])
     51m4_pattern_allow([^PKG_CONFIG(_(PATH|LIBDIR|SYSROOT_DIR|ALLOW_SYSTEM_(CFLAGS|LIBS)))?$])
     52m4_pattern_allow([^PKG_CONFIG_(DISABLE_UNINSTALLED|TOP_BUILD_DIR|DEBUG_SPEW)$])
    5253AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])
    5354AC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search path])
     
    9596 elif test -n "$PKG_CONFIG"; then
    9697    PKG_CHECK_EXISTS([$3],
    97                      [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`],
     98                     [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`
     99                      test "x$?" != "x0" && pkg_failed=yes ],
    98100                     [pkg_failed=yes])
    99101 else
     
    143145        _PKG_SHORT_ERRORS_SUPPORTED
    144146        if test $_pkg_short_errors_supported = yes; then
    145                 $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$2" 2>&1`
     147                $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$2" 2>&1`
    146148        else
    147                 $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors "$2" 2>&1`
     149                $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$2" 2>&1`
    148150        fi
    149151        # Put the nasty error message in config.log where it belongs
     
    158160installed software in a non-standard prefix.
    159161
    160 _PKG_TEXT])
     162_PKG_TEXT])[]dnl
    161163        ])
    162164elif test $pkg_failed = untried; then
     
    169171_PKG_TEXT
    170172
    171 To get pkg-config, see <http://pkg-config.freedesktop.org/>.])
     173To get pkg-config, see <http://pkg-config.freedesktop.org/>.])[]dnl
    172174        ])
    173175else
     
    179181])# PKG_CHECK_MODULES
    180182
    181 # Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008, 2011 Free Software
    182 # Foundation, Inc.
    183 #
    184 # This file is free software; the Free Software Foundation
    185 # gives unlimited permission to copy and/or distribute it,
    186 # with or without modifications, as long as this notice is preserved.
    187 
    188 # serial 1
     183
     184# PKG_INSTALLDIR(DIRECTORY)
     185# -------------------------
     186# Substitutes the variable pkgconfigdir as the location where a module
     187# should install pkg-config .pc files. By default the directory is
     188# $libdir/pkgconfig, but the default can be changed by passing
     189# DIRECTORY. The user can override through the --with-pkgconfigdir
     190# parameter.
     191AC_DEFUN([PKG_INSTALLDIR],
     192[m4_pushdef([pkg_default], [m4_default([$1], ['${libdir}/pkgconfig'])])
     193m4_pushdef([pkg_description],
     194    [pkg-config installation directory @<:@]pkg_default[@:>@])
     195AC_ARG_WITH([pkgconfigdir],
     196    [AS_HELP_STRING([--with-pkgconfigdir], pkg_description)],,
     197    [with_pkgconfigdir=]pkg_default)
     198AC_SUBST([pkgconfigdir], [$with_pkgconfigdir])
     199m4_popdef([pkg_default])
     200m4_popdef([pkg_description])
     201]) dnl PKG_INSTALLDIR
     202
     203
     204# PKG_NOARCH_INSTALLDIR(DIRECTORY)
     205# -------------------------
     206# Substitutes the variable noarch_pkgconfigdir as the location where a
     207# module should install arch-independent pkg-config .pc files. By
     208# default the directory is $datadir/pkgconfig, but the default can be
     209# changed by passing DIRECTORY. The user can override through the
     210# --with-noarch-pkgconfigdir parameter.
     211AC_DEFUN([PKG_NOARCH_INSTALLDIR],
     212[m4_pushdef([pkg_default], [m4_default([$1], ['${datadir}/pkgconfig'])])
     213m4_pushdef([pkg_description],
     214    [pkg-config arch-independent installation directory @<:@]pkg_default[@:>@])
     215AC_ARG_WITH([noarch-pkgconfigdir],
     216    [AS_HELP_STRING([--with-noarch-pkgconfigdir], pkg_description)],,
     217    [with_noarch_pkgconfigdir=]pkg_default)
     218AC_SUBST([noarch_pkgconfigdir], [$with_noarch_pkgconfigdir])
     219m4_popdef([pkg_default])
     220m4_popdef([pkg_description])
     221]) dnl PKG_NOARCH_INSTALLDIR
     222
     223
     224# PKG_CHECK_VAR(VARIABLE, MODULE, CONFIG-VARIABLE,
     225# [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
     226# -------------------------------------------
     227# Retrieves the value of the pkg-config variable for the given module.
     228AC_DEFUN([PKG_CHECK_VAR],
     229[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
     230AC_ARG_VAR([$1], [value of $3 for $2, overriding pkg-config])dnl
     231
     232_PKG_CONFIG([$1], [variable="][$3]["], [$2])
     233AS_VAR_COPY([$1], [pkg_cv_][$1])
     234
     235AS_VAR_IF([$1], [""], [$5], [$4])dnl
     236])# PKG_CHECK_VAR
     237
     238# Copyright (C) 2002-2013 Free Software Foundation, Inc.
     239#
     240# This file is free software; the Free Software Foundation
     241# gives unlimited permission to copy and/or distribute it,
     242# with or without modifications, as long as this notice is preserved.
    189243
    190244# AM_AUTOMAKE_VERSION(VERSION)
     
    194248# (This private macro should not be called outside this file.)
    195249AC_DEFUN([AM_AUTOMAKE_VERSION],
    196 [am__api_version='1.11'
     250[am__api_version='1.13'
    197251dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
    198252dnl require some minimum version.  Point them to the right macro.
    199 m4_if([$1], [1.11.3], [],
     253m4_if([$1], [1.13.4], [],
    200254      [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
    201255])
     
    213267# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
    214268AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
    215 [AM_AUTOMAKE_VERSION([1.11.3])dnl
     269[AM_AUTOMAKE_VERSION([1.13.4])dnl
    216270m4_ifndef([AC_AUTOCONF_VERSION],
    217271  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
     
    220274# AM_AUX_DIR_EXPAND                                         -*- Autoconf -*-
    221275
    222 # Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.
    223 #
    224 # This file is free software; the Free Software Foundation
    225 # gives unlimited permission to copy and/or distribute it,
    226 # with or without modifications, as long as this notice is preserved.
    227 
    228 # serial 1
     276# Copyright (C) 2001-2013 Free Software Foundation, Inc.
     277#
     278# This file is free software; the Free Software Foundation
     279# gives unlimited permission to copy and/or distribute it,
     280# with or without modifications, as long as this notice is preserved.
    229281
    230282# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
    231 # $ac_aux_dir to `$srcdir/foo'.  In other projects, it is set to
    232 # `$srcdir', `$srcdir/..', or `$srcdir/../..'.
     283# $ac_aux_dir to '$srcdir/foo'.  In other projects, it is set to
     284# '$srcdir', '$srcdir/..', or '$srcdir/../..'.
    233285#
    234286# Of course, Automake must honor this variable whenever it calls a
     
    249301# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
    250302# are both prefixed by $srcdir.  In an in-source build this is usually
    251 # harmless because $srcdir is `.', but things will broke when you
     303# harmless because $srcdir is '.', but things will broke when you
    252304# start a VPATH build or use an absolute $srcdir.
    253305#
     
    275327# AM_CONDITIONAL                                            -*- Autoconf -*-
    276328
    277 # Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
    278 # Free Software Foundation, Inc.
    279 #
    280 # This file is free software; the Free Software Foundation
    281 # gives unlimited permission to copy and/or distribute it,
    282 # with or without modifications, as long as this notice is preserved.
    283 
    284 # serial 9
     329# Copyright (C) 1997-2013 Free Software Foundation, Inc.
     330#
     331# This file is free software; the Free Software Foundation
     332# gives unlimited permission to copy and/or distribute it,
     333# with or without modifications, as long as this notice is preserved.
    285334
    286335# AM_CONDITIONAL(NAME, SHELL-CONDITION)
     
    288337# Define a conditional.
    289338AC_DEFUN([AM_CONDITIONAL],
    290 [AC_PREREQ(2.52)dnl
    291  ifelse([$1], [TRUE],  [AC_FATAL([$0: invalid condition: $1])],
    292         [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
     339[AC_PREREQ([2.52])dnl
     340 m4_if([$1], [TRUE],  [AC_FATAL([$0: invalid condition: $1])],
     341       [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
    293342AC_SUBST([$1_TRUE])dnl
    294343AC_SUBST([$1_FALSE])dnl
     
    309358fi])])
    310359
    311 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009,
    312 # 2010, 2011 Free Software Foundation, Inc.
    313 #
    314 # This file is free software; the Free Software Foundation
    315 # gives unlimited permission to copy and/or distribute it,
    316 # with or without modifications, as long as this notice is preserved.
    317 
    318 # serial 12
    319 
    320 # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
     360# Copyright (C) 1999-2013 Free Software Foundation, Inc.
     361#
     362# This file is free software; the Free Software Foundation
     363# gives unlimited permission to copy and/or distribute it,
     364# with or without modifications, as long as this notice is preserved.
     365
     366
     367# There are a few dirty hacks below to avoid letting 'AC_PROG_CC' be
    321368# written in clear, in which case automake, when reading aclocal.m4,
    322369# will think it sees a *use*, and therefore will trigger all it's
     
    328375# ----------------------
    329376# See how the compiler implements dependency checking.
    330 # NAME is "CC", "CXX", "GCJ", or "OBJC".
     377# NAME is "CC", "CXX", "OBJC", "OBJCXX", "UPC", or "GJC".
    331378# We try a few techniques and use that to set a single cache variable.
    332379#
     
    341388AC_REQUIRE([AM_DEP_TRACK])dnl
    342389
    343 ifelse([$1], CC,   [depcc="$CC"   am_compiler_list=],
    344        [$1], CXX,  [depcc="$CXX"  am_compiler_list=],
    345        [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
    346        [$1], UPC,  [depcc="$UPC"  am_compiler_list=],
    347        [$1], GCJ,  [depcc="$GCJ"  am_compiler_list='gcc3 gcc'],
    348                    [depcc="$$1"   am_compiler_list=])
     390m4_if([$1], [CC],   [depcc="$CC"   am_compiler_list=],
     391      [$1], [CXX],  [depcc="$CXX"  am_compiler_list=],
     392      [$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
     393      [$1], [OBJCXX], [depcc="$OBJCXX" am_compiler_list='gcc3 gcc'],
     394      [$1], [UPC],  [depcc="$UPC"  am_compiler_list=],
     395      [$1], [GCJ],  [depcc="$GCJ"  am_compiler_list='gcc3 gcc'],
     396                    [depcc="$$1"   am_compiler_list=])
    349397
    350398AC_CACHE_CHECK([dependency style of $depcc],
     
    354402  # making bogus files that we don't know about and never remove.  For
    355403  # instance it was reported that on HP-UX the gcc test will end up
    356   # making a dummy file named `D' -- because `-MD' means `put the output
    357   # in D'.
     404  # making a dummy file named 'D' -- because '-MD' means "put the output
     405  # in D".
    358406  rm -rf conftest.dir
    359407  mkdir conftest.dir
     
    395443    for i in 1 2 3 4 5 6; do
    396444      echo '#include "conftst'$i'.h"' >> sub/conftest.c
    397       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
    398       # Solaris 8's {/usr,}/bin/sh.
    399       touch sub/conftst$i.h
     445      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
     446      # Solaris 10 /bin/sh.
     447      echo '/* dummy */' > sub/conftst$i.h
    400448    done
    401449    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
    402450
    403     # We check with `-c' and `-o' for the sake of the "dashmstdout"
     451    # We check with '-c' and '-o' for the sake of the "dashmstdout"
    404452    # mode.  It turns out that the SunPro C++ compiler does not properly
    405     # handle `-M -o', and we need to detect this.  Also, some Intel
    406     # versions had trouble with output in subdirs
     453    # handle '-M -o', and we need to detect this.  Also, some Intel
     454    # versions had trouble with output in subdirs.
    407455    am__obj=sub/conftest.${OBJEXT-o}
    408456    am__minus_obj="-o $am__obj"
     
    413461      ;;
    414462    nosideeffect)
    415       # after this tag, mechanisms are not by side-effect, so they'll
    416       # only be used when explicitly requested
     463      # After this tag, mechanisms are not by side-effect, so they'll
     464      # only be used when explicitly requested.
    417465      if test "x$enable_dependency_tracking" = xyes; then
    418466        continue
     
    422470      ;;
    423471    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
    424       # This compiler won't grok `-c -o', but also, the minuso test has
     472      # This compiler won't grok '-c -o', but also, the minuso test has
    425473      # not run yet.  These depmodes are late enough in the game, and
    426474      # so weak that their functioning should not be impacted.
     
    470518# -------------
    471519# Choose a directory name for dependency files.
    472 # This macro is AC_REQUIREd in _AM_DEPENDENCIES
     520# This macro is AC_REQUIREd in _AM_DEPENDENCIES.
    473521AC_DEFUN([AM_SET_DEPDIR],
    474522[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
     
    480528# ------------
    481529AC_DEFUN([AM_DEP_TRACK],
    482 [AC_ARG_ENABLE(dependency-tracking,
    483 [  --disable-dependency-tracking  speeds up one-time build
    484   --enable-dependency-tracking   do not reject slow dependency extractors])
     530[AC_ARG_ENABLE([dependency-tracking], [dnl
     531AS_HELP_STRING(
     532  [--enable-dependency-tracking],
     533  [do not reject slow dependency extractors])
     534AS_HELP_STRING(
     535  [--disable-dependency-tracking],
     536  [speeds up one-time build])])
    485537if test "x$enable_dependency_tracking" != xno; then
    486538  am_depcomp="$ac_aux_dir/depcomp"
     
    497549# Generate code to set up dependency tracking.              -*- Autoconf -*-
    498550
    499 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008
    500 # Free Software Foundation, Inc.
    501 #
    502 # This file is free software; the Free Software Foundation
    503 # gives unlimited permission to copy and/or distribute it,
    504 # with or without modifications, as long as this notice is preserved.
    505 
    506 #serial 5
     551# Copyright (C) 1999-2013 Free Software Foundation, Inc.
     552#
     553# This file is free software; the Free Software Foundation
     554# gives unlimited permission to copy and/or distribute it,
     555# with or without modifications, as long as this notice is preserved.
     556
    507557
    508558# _AM_OUTPUT_DEPENDENCY_COMMANDS
     
    510560AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
    511561[{
    512   # Autoconf 2.62 quotes --file arguments for eval, but not when files
     562  # Older Autoconf quotes --file arguments for eval, but not when files
    513563  # are listed without --file.  Let's play safe and only enable the eval
    514564  # if we detect the quoting.
     
    523573    mf=`echo "$mf" | sed -e 's/:.*$//'`
    524574    # Check whether this is an Automake generated Makefile or not.
    525     # We used to match only the files named `Makefile.in', but
     575    # We used to match only the files named 'Makefile.in', but
    526576    # some people rename them; so instead we look at the file content.
    527577    # Grep'ing the first line is not enough: some people post-process
     
    535585    fi
    536586    # Extract the definition of DEPDIR, am__include, and am__quote
    537     # from the Makefile without running `make'.
     587    # from the Makefile without running 'make'.
    538588    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
    539589    test -z "$DEPDIR" && continue
    540590    am__include=`sed -n 's/^am__include = //p' < "$mf"`
    541     test -z "am__include" && continue
     591    test -z "$am__include" && continue
    542592    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
    543     # When using ansi2knr, U may be empty or an underscore; expand it
    544     U=`sed -n 's/^U = //p' < "$mf"`
    545593    # Find all dependency output files, they are included files with
    546594    # $(DEPDIR) in their names.  We invoke sed twice because it is the
     
    549597    for file in `sed -n "
    550598      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
    551          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
     599         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
    552600      # Make sure the directory exists.
    553601      test -f "$dirpart/$file" && continue
     
    567615#
    568616# This code is only required when automatic dependency tracking
    569 # is enabled.  FIXME.  This creates each `.P' file that we will
     617# is enabled.  FIXME.  This creates each '.P' file that we will
    570618# need in order to bootstrap the dependency handling code.
    571619AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
     
    577625# Do all the work for Automake.                             -*- Autoconf -*-
    578626
    579 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
    580 # 2005, 2006, 2008, 2009 Free Software Foundation, Inc.
    581 #
    582 # This file is free software; the Free Software Foundation
    583 # gives unlimited permission to copy and/or distribute it,
    584 # with or without modifications, as long as this notice is preserved.
    585 
    586 # serial 16
     627# Copyright (C) 1996-2013 Free Software Foundation, Inc.
     628#
     629# This file is free software; the Free Software Foundation
     630# gives unlimited permission to copy and/or distribute it,
     631# with or without modifications, as long as this notice is preserved.
    587632
    588633# This macro actually does too much.  Some checks are only needed if
     
    601646# release and drop the old call support.
    602647AC_DEFUN([AM_INIT_AUTOMAKE],
    603 [AC_PREREQ([2.62])dnl
     648[AC_PREREQ([2.65])dnl
    604649dnl Autoconf wants to disallow AM_ names.  We explicitly allow
    605650dnl the ones we care about.
     
    630675dnl Distinguish between old-style and new-style calls.
    631676m4_ifval([$2],
    632 [m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
     677[AC_DIAGNOSE([obsolete],
     678             [$0: two- and three-arguments forms are deprecated.])
     679m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
    633680 AC_SUBST([PACKAGE], [$1])dnl
    634681 AC_SUBST([VERSION], [$2])],
    635682[_AM_SET_OPTIONS([$1])dnl
    636683dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
    637 m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
     684m4_if(
     685  m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]),
     686  [ok:ok],,
    638687  [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
    639688 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
     
    641690
    642691_AM_IF_OPTION([no-define],,
    643 [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
    644  AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
     692[AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package])
     693 AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl
    645694
    646695# Some tools Automake needs.
    647696AC_REQUIRE([AM_SANITY_CHECK])dnl
    648697AC_REQUIRE([AC_ARG_PROGRAM])dnl
    649 AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
    650 AM_MISSING_PROG(AUTOCONF, autoconf)
    651 AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
    652 AM_MISSING_PROG(AUTOHEADER, autoheader)
    653 AM_MISSING_PROG(MAKEINFO, makeinfo)
     698AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
     699AM_MISSING_PROG([AUTOCONF], [autoconf])
     700AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
     701AM_MISSING_PROG([AUTOHEADER], [autoheader])
     702AM_MISSING_PROG([MAKEINFO], [makeinfo])
    654703AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
    655704AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
    656 AC_REQUIRE([AM_PROG_MKDIR_P])dnl
     705AC_REQUIRE([AC_PROG_MKDIR_P])dnl
     706# For better backward compatibility.  To be removed once Automake 1.9.x
     707# dies out for good.  For more background, see:
     708# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
     709# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
     710AC_SUBST([mkdir_p], ['$(MKDIR_P)'])
    657711# We need awk for the "check" target.  The system "awk" is bad on
    658712# some platforms.
     
    665719_AM_IF_OPTION([no-dependencies],,
    666720[AC_PROVIDE_IFELSE([AC_PROG_CC],
    667                   [_AM_DEPENDENCIES(CC)],
    668                   [define([AC_PROG_CC],
    669                           defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
     721                  [_AM_DEPENDENCIES([CC])],
     722                  [m4_define([AC_PROG_CC],
     723                             m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl
    670724AC_PROVIDE_IFELSE([AC_PROG_CXX],
    671                   [_AM_DEPENDENCIES(CXX)],
    672                   [define([AC_PROG_CXX],
    673                           defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
     725                  [_AM_DEPENDENCIES([CXX])],
     726                  [m4_define([AC_PROG_CXX],
     727                             m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl
    674728AC_PROVIDE_IFELSE([AC_PROG_OBJC],
    675                   [_AM_DEPENDENCIES(OBJC)],
    676                   [define([AC_PROG_OBJC],
    677                           defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
    678 ])
    679 _AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
    680 dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
    681 dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen.  This macro
    682 dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
     729                  [_AM_DEPENDENCIES([OBJC])],
     730                  [m4_define([AC_PROG_OBJC],
     731                             m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
     732AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
     733                  [_AM_DEPENDENCIES([OBJCXX])],
     734                  [m4_define([AC_PROG_OBJCXX],
     735                             m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl
     736])
     737AC_REQUIRE([AM_SILENT_RULES])dnl
     738dnl The testsuite driver may need to know about EXEEXT, so add the
     739dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen.  This
     740dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below.
    683741AC_CONFIG_COMMANDS_PRE(dnl
    684742[m4_provide_if([_AM_COMPILER_EXEEXT],
     
    686744])
    687745
    688 dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion.  Do not
     746dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion.  Do not
    689747dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
    690748dnl mangled by Autoconf and run in a shell conditional statement.
     
    714772echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
    715773
    716 # Copyright (C) 2001, 2003, 2005, 2008, 2011 Free Software Foundation,
    717 # Inc.
    718 #
    719 # This file is free software; the Free Software Foundation
    720 # gives unlimited permission to copy and/or distribute it,
    721 # with or without modifications, as long as this notice is preserved.
    722 
    723 # serial 1
     774# Copyright (C) 2001-2013 Free Software Foundation, Inc.
     775#
     776# This file is free software; the Free Software Foundation
     777# gives unlimited permission to copy and/or distribute it,
     778# with or without modifications, as long as this notice is preserved.
    724779
    725780# AM_PROG_INSTALL_SH
     
    736791  esac
    737792fi
    738 AC_SUBST(install_sh)])
    739 
    740 # Copyright (C) 2003, 2005  Free Software Foundation, Inc.
    741 #
    742 # This file is free software; the Free Software Foundation
    743 # gives unlimited permission to copy and/or distribute it,
    744 # with or without modifications, as long as this notice is preserved.
    745 
    746 # serial 2
     793AC_SUBST([install_sh])])
     794
     795# Copyright (C) 2003-2013 Free Software Foundation, Inc.
     796#
     797# This file is free software; the Free Software Foundation
     798# gives unlimited permission to copy and/or distribute it,
     799# with or without modifications, as long as this notice is preserved.
    747800
    748801# Check whether the underlying file-system supports filenames
     
    761814# Check to see how 'make' treats includes.                  -*- Autoconf -*-
    762815
    763 # Copyright (C) 2001, 2002, 2003, 2005, 2009  Free Software Foundation, Inc.
    764 #
    765 # This file is free software; the Free Software Foundation
    766 # gives unlimited permission to copy and/or distribute it,
    767 # with or without modifications, as long as this notice is preserved.
    768 
    769 # serial 4
     816# Copyright (C) 2001-2013 Free Software Foundation, Inc.
     817#
     818# This file is free software; the Free Software Foundation
     819# gives unlimited permission to copy and/or distribute it,
     820# with or without modifications, as long as this notice is preserved.
    770821
    771822# AM_MAKE_INCLUDE()
     
    786837# First try GNU make style include.
    787838echo "include confinc" > confmf
    788 # Ignore all kinds of additional output from `make'.
     839# Ignore all kinds of additional output from 'make'.
    789840case `$am_make -s -f confmf 2> /dev/null` in #(
    790841*the\ am__doit\ target*)
     
    813864# Fake the existence of programs that GNU maintainers use.  -*- Autoconf -*-
    814865
    815 # Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008
    816 # Free Software Foundation, Inc.
    817 #
    818 # This file is free software; the Free Software Foundation
    819 # gives unlimited permission to copy and/or distribute it,
    820 # with or without modifications, as long as this notice is preserved.
    821 
    822 # serial 6
     866# Copyright (C) 1997-2013 Free Software Foundation, Inc.
     867#
     868# This file is free software; the Free Software Foundation
     869# gives unlimited permission to copy and/or distribute it,
     870# with or without modifications, as long as this notice is preserved.
    823871
    824872# AM_MISSING_PROG(NAME, PROGRAM)
     
    829877AC_SUBST($1)])
    830878
    831 
    832879# AM_MISSING_HAS_RUN
    833880# ------------------
    834 # Define MISSING if not defined so far and test if it supports --run.
    835 # If it does, set am_missing_run to use it, otherwise, to nothing.
     881# Define MISSING if not defined so far and test if it is modern enough.
     882# If it is, set am_missing_run to use it, otherwise, to nothing.
    836883AC_DEFUN([AM_MISSING_HAS_RUN],
    837884[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
     
    846893fi
    847894# Use eval to expand $SHELL
    848 if eval "$MISSING --run true"; then
    849   am_missing_run="$MISSING --run "
     895if eval "$MISSING --is-lightweight"; then
     896  am_missing_run="$MISSING "
    850897else
    851898  am_missing_run=
    852   AC_MSG_WARN([`missing' script is too old or missing])
    853 fi
    854 ])
    855 
    856 # Copyright (C) 2003, 2004, 2005, 2006, 2011 Free Software Foundation,
    857 # Inc.
    858 #
    859 # This file is free software; the Free Software Foundation
    860 # gives unlimited permission to copy and/or distribute it,
    861 # with or without modifications, as long as this notice is preserved.
    862 
    863 # serial 1
    864 
    865 # AM_PROG_MKDIR_P
    866 # ---------------
    867 # Check for `mkdir -p'.
    868 AC_DEFUN([AM_PROG_MKDIR_P],
    869 [AC_PREREQ([2.60])dnl
    870 AC_REQUIRE([AC_PROG_MKDIR_P])dnl
    871 dnl Automake 1.8 to 1.9.6 used to define mkdir_p.  We now use MKDIR_P,
    872 dnl while keeping a definition of mkdir_p for backward compatibility.
    873 dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
    874 dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
    875 dnl Makefile.ins that do not define MKDIR_P, so we do our own
    876 dnl adjustment using top_builddir (which is defined more often than
    877 dnl MKDIR_P).
    878 AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
    879 case $mkdir_p in
    880   [[\\/$]]* | ?:[[\\/]]*) ;;
    881   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
    882 esac
     899  AC_MSG_WARN(['missing' script is too old or missing])
     900fi
    883901])
    884902
    885903# Helper functions for option handling.                     -*- Autoconf -*-
    886904
    887 # Copyright (C) 2001, 2002, 2003, 2005, 2008, 2010 Free Software
    888 # Foundation, Inc.
    889 #
    890 # This file is free software; the Free Software Foundation
    891 # gives unlimited permission to copy and/or distribute it,
    892 # with or without modifications, as long as this notice is preserved.
    893 
    894 # serial 5
     905# Copyright (C) 2001-2013 Free Software Foundation, Inc.
     906#
     907# This file is free software; the Free Software Foundation
     908# gives unlimited permission to copy and/or distribute it,
     909# with or without modifications, as long as this notice is preserved.
    895910
    896911# _AM_MANGLE_OPTION(NAME)
     
    903918# Set option NAME.  Presently that only means defining a flag for this option.
    904919AC_DEFUN([_AM_SET_OPTION],
    905 [m4_define(_AM_MANGLE_OPTION([$1]), 1)])
     920[m4_define(_AM_MANGLE_OPTION([$1]), [1])])
    906921
    907922# _AM_SET_OPTIONS(OPTIONS)
     
    917932[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
    918933
    919 # Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.
    920 #
    921 # This file is free software; the Free Software Foundation
    922 # gives unlimited permission to copy and/or distribute it,
    923 # with or without modifications, as long as this notice is preserved.
    924 
    925 # serial 1
     934# Copyright (C) 2001-2013 Free Software Foundation, Inc.
     935#
     936# This file is free software; the Free Software Foundation
     937# gives unlimited permission to copy and/or distribute it,
     938# with or without modifications, as long as this notice is preserved.
    926939
    927940# AM_RUN_LOG(COMMAND)
     
    938951# Check to make sure that the build environment is sane.    -*- Autoconf -*-
    939952
    940 # Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008
    941 # Free Software Foundation, Inc.
    942 #
    943 # This file is free software; the Free Software Foundation
    944 # gives unlimited permission to copy and/or distribute it,
    945 # with or without modifications, as long as this notice is preserved.
    946 
    947 # serial 5
     953# Copyright (C) 1996-2013 Free Software Foundation, Inc.
     954#
     955# This file is free software; the Free Software Foundation
     956# gives unlimited permission to copy and/or distribute it,
     957# with or without modifications, as long as this notice is preserved.
    948958
    949959# AM_SANITY_CHECK
     
    951961AC_DEFUN([AM_SANITY_CHECK],
    952962[AC_MSG_CHECKING([whether build environment is sane])
    953 # Just in case
    954 sleep 1
    955 echo timestamp > conftest.file
    956963# Reject unsafe characters in $srcdir or the absolute working directory
    957964# name.  Accept space and tab only in the latter.
     
    964971case $srcdir in
    965972  *[[\\\"\#\$\&\'\`$am_lf\ \    ]]*)
    966     AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
     973    AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);;
    967974esac
    968975
    969 # Do `set' in a subshell so we don't clobber the current shell's
     976# Do 'set' in a subshell so we don't clobber the current shell's
    970977# arguments.  Must try -L first in case configure is actually a
    971978# symlink; some systems play weird games with the mod time of symlinks
     
    973980# directory).
    974981if (
    975    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
    976    if test "$[*]" = "X"; then
    977       # -L didn't work.
    978       set X `ls -t "$srcdir/configure" conftest.file`
    979    fi
    980    rm -f conftest.file
    981    if test "$[*]" != "X $srcdir/configure conftest.file" \
    982       && test "$[*]" != "X conftest.file $srcdir/configure"; then
    983 
    984       # If neither matched, then we have a broken ls.  This can happen
    985       # if, for instance, CONFIG_SHELL is bash and it inherits a
    986       # broken ls alias from the environment.  This has actually
    987       # happened.  Such a system could not be considered "sane".
    988       AC_MSG_ERROR([ls -t appears to fail.  Make sure there is not a broken
    989 alias in your environment])
    990    fi
    991 
     982   am_has_slept=no
     983   for am_try in 1 2; do
     984     echo "timestamp, slept: $am_has_slept" > conftest.file
     985     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
     986     if test "$[*]" = "X"; then
     987        # -L didn't work.
     988        set X `ls -t "$srcdir/configure" conftest.file`
     989     fi
     990     if test "$[*]" != "X $srcdir/configure conftest.file" \
     991        && test "$[*]" != "X conftest.file $srcdir/configure"; then
     992
     993        # If neither matched, then we have a broken ls.  This can happen
     994        # if, for instance, CONFIG_SHELL is bash and it inherits a
     995        # broken ls alias from the environment.  This has actually
     996        # happened.  Such a system could not be considered "sane".
     997        AC_MSG_ERROR([ls -t appears to fail.  Make sure there is not a broken
     998  alias in your environment])
     999     fi
     1000     if test "$[2]" = conftest.file || test $am_try -eq 2; then
     1001       break
     1002     fi
     1003     # Just in case.
     1004     sleep 1
     1005     am_has_slept=yes
     1006   done
    9921007   test "$[2]" = conftest.file
    9931008   )
     
    9991014Check your system clock])
    10001015fi
    1001 AC_MSG_RESULT(yes)])
    1002 
    1003 # Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.
    1004 #
    1005 # This file is free software; the Free Software Foundation
    1006 # gives unlimited permission to copy and/or distribute it,
    1007 # with or without modifications, as long as this notice is preserved.
    1008 
    1009 # serial 1
     1016AC_MSG_RESULT([yes])
     1017# If we didn't sleep, we still need to ensure time stamps of config.status and
     1018# generated files are strictly newer.
     1019am_sleep_pid=
     1020if grep 'slept: no' conftest.file >/dev/null 2>&1; then
     1021  ( sleep 1 ) &
     1022  am_sleep_pid=$!
     1023fi
     1024AC_CONFIG_COMMANDS_PRE(
     1025  [AC_MSG_CHECKING([that generated files are newer than configure])
     1026   if test -n "$am_sleep_pid"; then
     1027     # Hide warnings about reused PIDs.
     1028     wait $am_sleep_pid 2>/dev/null
     1029   fi
     1030   AC_MSG_RESULT([done])])
     1031rm -f conftest.file
     1032])
     1033
     1034# Copyright (C) 2009-2013 Free Software Foundation, Inc.
     1035#
     1036# This file is free software; the Free Software Foundation
     1037# gives unlimited permission to copy and/or distribute it,
     1038# with or without modifications, as long as this notice is preserved.
     1039
     1040# AM_SILENT_RULES([DEFAULT])
     1041# --------------------------
     1042# Enable less verbose build rules; with the default set to DEFAULT
     1043# ("yes" being less verbose, "no" or empty being verbose).
     1044AC_DEFUN([AM_SILENT_RULES],
     1045[AC_ARG_ENABLE([silent-rules], [dnl
     1046AS_HELP_STRING(
     1047  [--enable-silent-rules],
     1048  [less verbose build output (undo: "make V=1")])
     1049AS_HELP_STRING(
     1050  [--disable-silent-rules],
     1051  [verbose build output (undo: "make V=0")])dnl
     1052])
     1053case $enable_silent_rules in @%:@ (((
     1054  yes) AM_DEFAULT_VERBOSITY=0;;
     1055   no) AM_DEFAULT_VERBOSITY=1;;
     1056    *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
     1057esac
     1058dnl
     1059dnl A few 'make' implementations (e.g., NonStop OS and NextStep)
     1060dnl do not support nested variable expansions.
     1061dnl See automake bug#9928 and bug#10237.
     1062am_make=${MAKE-make}
     1063AC_CACHE_CHECK([whether $am_make supports nested variables],
     1064   [am_cv_make_support_nested_variables],
     1065   [if AS_ECHO([['TRUE=$(BAR$(V))
     1066BAR0=false
     1067BAR1=true
     1068V=1
     1069am__doit:
     1070        @$(TRUE)
     1071.PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then
     1072  am_cv_make_support_nested_variables=yes
     1073else
     1074  am_cv_make_support_nested_variables=no
     1075fi])
     1076if test $am_cv_make_support_nested_variables = yes; then
     1077  dnl Using '$V' instead of '$(V)' breaks IRIX make.
     1078  AM_V='$(V)'
     1079  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
     1080else
     1081  AM_V=$AM_DEFAULT_VERBOSITY
     1082  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
     1083fi
     1084AC_SUBST([AM_V])dnl
     1085AM_SUBST_NOTMAKE([AM_V])dnl
     1086AC_SUBST([AM_DEFAULT_V])dnl
     1087AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl
     1088AC_SUBST([AM_DEFAULT_VERBOSITY])dnl
     1089AM_BACKSLASH='\'
     1090AC_SUBST([AM_BACKSLASH])dnl
     1091_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
     1092])
     1093
     1094# Copyright (C) 2001-2013 Free Software Foundation, Inc.
     1095#
     1096# This file is free software; the Free Software Foundation
     1097# gives unlimited permission to copy and/or distribute it,
     1098# with or without modifications, as long as this notice is preserved.
    10101099
    10111100# AM_PROG_INSTALL_STRIP
    10121101# ---------------------
    1013 # One issue with vendor `install' (even GNU) is that you can't
     1102# One issue with vendor 'install' (even GNU) is that you can't
    10141103# specify the program used to strip binaries.  This is especially
    10151104# annoying in cross-compiling environments, where the build's strip
    10161105# is unlikely to handle the host's binaries.
    10171106# Fortunately install-sh will honor a STRIPPROG variable, so we
    1018 # always use install-sh in `make install-strip', and initialize
     1107# always use install-sh in "make install-strip", and initialize
    10191108# STRIPPROG with the value of the STRIP variable (set by the user).
    10201109AC_DEFUN([AM_PROG_INSTALL_STRIP],
    10211110[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
    1022 # Installed binaries are usually stripped using `strip' when the user
    1023 # run `make install-strip'.  However `strip' might not be the right
     1111# Installed binaries are usually stripped using 'strip' when the user
     1112# run "make install-strip".  However 'strip' might not be the right
    10241113# tool to use in cross-compilation environments, therefore Automake
    1025 # will honor the `STRIP' environment variable to overrule this program.
    1026 dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
     1114# will honor the 'STRIP' environment variable to overrule this program.
     1115dnl Don't test for $cross_compiling = yes, because it might be 'maybe'.
    10271116if test "$cross_compiling" != no; then
    10281117  AC_CHECK_TOOL([STRIP], [strip], :)
     
    10311120AC_SUBST([INSTALL_STRIP_PROGRAM])])
    10321121
    1033 # Copyright (C) 2006, 2008, 2010 Free Software Foundation, Inc.
    1034 #
    1035 # This file is free software; the Free Software Foundation
    1036 # gives unlimited permission to copy and/or distribute it,
    1037 # with or without modifications, as long as this notice is preserved.
    1038 
    1039 # serial 3
     1122# Copyright (C) 2006-2013 Free Software Foundation, Inc.
     1123#
     1124# This file is free software; the Free Software Foundation
     1125# gives unlimited permission to copy and/or distribute it,
     1126# with or without modifications, as long as this notice is preserved.
    10401127
    10411128# _AM_SUBST_NOTMAKE(VARIABLE)
     
    10521139# Check how to create a tarball.                            -*- Autoconf -*-
    10531140
    1054 # Copyright (C) 2004, 2005, 2012 Free Software Foundation, Inc.
    1055 #
    1056 # This file is free software; the Free Software Foundation
    1057 # gives unlimited permission to copy and/or distribute it,
    1058 # with or without modifications, as long as this notice is preserved.
    1059 
    1060 # serial 2
     1141# Copyright (C) 2004-2013 Free Software Foundation, Inc.
     1142#
     1143# This file is free software; the Free Software Foundation
     1144# gives unlimited permission to copy and/or distribute it,
     1145# with or without modifications, as long as this notice is preserved.
    10611146
    10621147# _AM_PROG_TAR(FORMAT)
    10631148# --------------------
    10641149# Check how to create a tarball in format FORMAT.
    1065 # FORMAT should be one of `v7', `ustar', or `pax'.
     1150# FORMAT should be one of 'v7', 'ustar', or 'pax'.
    10661151#
    10671152# Substitute a variable $(am__tar) that is a command
     
    10731158# a tarball read from stdin.
    10741159#     $(am__untar) < result.tar
     1160#
    10751161AC_DEFUN([_AM_PROG_TAR],
    10761162[# Always define AMTAR for backward compatibility.  Yes, it's still used
    10771163# in the wild :-(  We should find a proper way to deprecate it ...
    10781164AC_SUBST([AMTAR], ['$${TAR-tar}'])
     1165
     1166# We'll loop over all known methods to create a tar archive until one works.
     1167_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
     1168
    10791169m4_if([$1], [v7],
    1080      [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
    1081      [m4_case([$1], [ustar],, [pax],,
    1082               [m4_fatal([Unknown tar format])])
    1083 AC_MSG_CHECKING([how to create a $1 tar archive])
    1084 # Loop over all known methods to create a tar archive until one works.
    1085 _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
    1086 _am_tools=${am_cv_prog_tar_$1-$_am_tools}
    1087 # Do not fold the above two line into one, because Tru64 sh and
    1088 # Solaris sh will not grok spaces in the rhs of `-'.
    1089 for _am_tool in $_am_tools
    1090 do
    1091   case $_am_tool in
    1092   gnutar)
    1093     for _am_tar in tar gnutar gtar;
    1094     do
    1095       AM_RUN_LOG([$_am_tar --version]) && break
    1096     done
    1097     am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
    1098     am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
    1099     am__untar="$_am_tar -xf -"
    1100     ;;
    1101   plaintar)
    1102     # Must skip GNU tar: if it does not support --format= it doesn't create
    1103     # ustar tarball either.
    1104     (tar --version) >/dev/null 2>&1 && continue
    1105     am__tar='tar chf - "$$tardir"'
    1106     am__tar_='tar chf - "$tardir"'
    1107     am__untar='tar xf -'
    1108     ;;
    1109   pax)
    1110     am__tar='pax -L -x $1 -w "$$tardir"'
    1111     am__tar_='pax -L -x $1 -w "$tardir"'
    1112     am__untar='pax -r'
    1113     ;;
    1114   cpio)
    1115     am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
    1116     am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
    1117     am__untar='cpio -i -H $1 -d'
    1118     ;;
    1119   none)
    1120     am__tar=false
    1121     am__tar_=false
    1122     am__untar=false
    1123     ;;
    1124   esac
    1125 
    1126   # If the value was cached, stop now.  We just wanted to have am__tar
    1127   # and am__untar set.
    1128   test -n "${am_cv_prog_tar_$1}" && break
    1129 
    1130   # tar/untar a dummy directory, and stop if the command works
     1170  [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
     1171
     1172  [m4_case([$1],
     1173    [ustar],
     1174     [# The POSIX 1988 'ustar' format is defined with fixed-size fields.
     1175      # There is notably a 21 bits limit for the UID and the GID.  In fact,
     1176      # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
     1177      # and bug#13588).
     1178      am_max_uid=2097151 # 2^21 - 1
     1179      am_max_gid=$am_max_uid
     1180      # The $UID and $GID variables are not portable, so we need to resort
     1181      # to the POSIX-mandated id(1) utility.  Errors in the 'id' calls
     1182      # below are definitely unexpected, so allow the users to see them
     1183      # (that is, avoid stderr redirection).
     1184      am_uid=`id -u || echo unknown`
     1185      am_gid=`id -g || echo unknown`
     1186      AC_MSG_CHECKING([whether UID '$am_uid' is supported by ustar format])
     1187      if test $am_uid -le $am_max_uid; then
     1188         AC_MSG_RESULT([yes])
     1189      else
     1190         AC_MSG_RESULT([no])
     1191         _am_tools=none
     1192      fi
     1193      AC_MSG_CHECKING([whether GID '$am_gid' is supported by ustar format])
     1194      if test $am_gid -le $am_max_gid; then
     1195         AC_MSG_RESULT([yes])
     1196      else
     1197        AC_MSG_RESULT([no])
     1198        _am_tools=none
     1199      fi],
     1200
     1201  [pax],
     1202    [],
     1203
     1204  [m4_fatal([Unknown tar format])])
     1205
     1206  AC_MSG_CHECKING([how to create a $1 tar archive])
     1207
     1208  # Go ahead even if we have the value already cached.  We do so because we
     1209  # need to set the values for the 'am__tar' and 'am__untar' variables.
     1210  _am_tools=${am_cv_prog_tar_$1-$_am_tools}
     1211
     1212  for _am_tool in $_am_tools; do
     1213    case $_am_tool in
     1214    gnutar)
     1215      for _am_tar in tar gnutar gtar; do
     1216        AM_RUN_LOG([$_am_tar --version]) && break
     1217      done
     1218      am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
     1219      am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
     1220      am__untar="$_am_tar -xf -"
     1221      ;;
     1222    plaintar)
     1223      # Must skip GNU tar: if it does not support --format= it doesn't create
     1224      # ustar tarball either.
     1225      (tar --version) >/dev/null 2>&1 && continue
     1226      am__tar='tar chf - "$$tardir"'
     1227      am__tar_='tar chf - "$tardir"'
     1228      am__untar='tar xf -'
     1229      ;;
     1230    pax)
     1231      am__tar='pax -L -x $1 -w "$$tardir"'
     1232      am__tar_='pax -L -x $1 -w "$tardir"'
     1233      am__untar='pax -r'
     1234      ;;
     1235    cpio)
     1236      am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
     1237      am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
     1238      am__untar='cpio -i -H $1 -d'
     1239      ;;
     1240    none)
     1241      am__tar=false
     1242      am__tar_=false
     1243      am__untar=false
     1244      ;;
     1245    esac
     1246
     1247    # If the value was cached, stop now.  We just wanted to have am__tar
     1248    # and am__untar set.
     1249    test -n "${am_cv_prog_tar_$1}" && break
     1250
     1251    # tar/untar a dummy directory, and stop if the command works.
     1252    rm -rf conftest.dir
     1253    mkdir conftest.dir
     1254    echo GrepMe > conftest.dir/file
     1255    AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
     1256    rm -rf conftest.dir
     1257    if test -s conftest.tar; then
     1258      AM_RUN_LOG([$am__untar <conftest.tar])
     1259      AM_RUN_LOG([cat conftest.dir/file])
     1260      grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
     1261    fi
     1262  done
    11311263  rm -rf conftest.dir
    1132   mkdir conftest.dir
    1133   echo GrepMe > conftest.dir/file
    1134   AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
    1135   rm -rf conftest.dir
    1136   if test -s conftest.tar; then
    1137     AM_RUN_LOG([$am__untar <conftest.tar])
    1138     grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
    1139   fi
    1140 done
    1141 rm -rf conftest.dir
    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])])
     1264
     1265  AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
     1266  AC_MSG_RESULT([$am_cv_prog_tar_$1])])
     1267
    11451268AC_SUBST([am__tar])
    11461269AC_SUBST([am__untar])
Note: See TracChangeset for help on using the changeset viewer.