Blame aclocal.m4

Packit d53d01
# generated automatically by aclocal 1.15 -*- Autoconf -*-
Packit d53d01
Packit d53d01
# Copyright (C) 1996-2014 Free Software Foundation, Inc.
Packit d53d01
Packit d53d01
# This file is free software; the Free Software Foundation
Packit d53d01
# gives unlimited permission to copy and/or distribute it,
Packit d53d01
# with or without modifications, as long as this notice is preserved.
Packit d53d01
Packit d53d01
# This program is distributed in the hope that it will be useful,
Packit d53d01
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
Packit d53d01
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
Packit d53d01
# PARTICULAR PURPOSE.
Packit d53d01
Packit d53d01
m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])])
Packit d53d01
m4_ifndef([AC_AUTOCONF_VERSION],
Packit d53d01
  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
Packit d53d01
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],,
Packit d53d01
[m4_warning([this file was generated for autoconf 2.69.
Packit d53d01
You have another version of autoconf.  It may work, but is not guaranteed to.
Packit d53d01
If you have problems, you may need to regenerate the build system entirely.
Packit d53d01
To do so, use the procedure documented by the package, typically 'autoreconf'.])])
Packit d53d01
Packit d53d01
# Copyright (C) 2002-2014 Free Software Foundation, Inc.
Packit d53d01
#
Packit d53d01
# This file is free software; the Free Software Foundation
Packit d53d01
# gives unlimited permission to copy and/or distribute it,
Packit d53d01
# with or without modifications, as long as this notice is preserved.
Packit d53d01
Packit d53d01
# AM_AUTOMAKE_VERSION(VERSION)
Packit d53d01
# ----------------------------
Packit d53d01
# Automake X.Y traces this macro to ensure aclocal.m4 has been
Packit d53d01
# generated from the m4 files accompanying Automake X.Y.
Packit d53d01
# (This private macro should not be called outside this file.)
Packit d53d01
AC_DEFUN([AM_AUTOMAKE_VERSION],
Packit d53d01
[am__api_version='1.15'
Packit d53d01
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
Packit d53d01
dnl require some minimum version.  Point them to the right macro.
Packit d53d01
m4_if([$1], [1.15], [],
Packit d53d01
      [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
Packit d53d01
])
Packit d53d01
Packit d53d01
# _AM_AUTOCONF_VERSION(VERSION)
Packit d53d01
# -----------------------------
Packit d53d01
# aclocal traces this macro to find the Autoconf version.
Packit d53d01
# This is a private macro too.  Using m4_define simplifies
Packit d53d01
# the logic in aclocal, which can simply ignore this definition.
Packit d53d01
m4_define([_AM_AUTOCONF_VERSION], [])
Packit d53d01
Packit d53d01
# AM_SET_CURRENT_AUTOMAKE_VERSION
Packit d53d01
# -------------------------------
Packit d53d01
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
Packit d53d01
# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
Packit d53d01
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
Packit d53d01
[AM_AUTOMAKE_VERSION([1.15])dnl
Packit d53d01
m4_ifndef([AC_AUTOCONF_VERSION],
Packit d53d01
  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
Packit d53d01
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
Packit d53d01
Packit d53d01
# AM_AUX_DIR_EXPAND                                         -*- Autoconf -*-
Packit d53d01
Packit d53d01
# Copyright (C) 2001-2014 Free Software Foundation, Inc.
Packit d53d01
#
Packit d53d01
# This file is free software; the Free Software Foundation
Packit d53d01
# gives unlimited permission to copy and/or distribute it,
Packit d53d01
# with or without modifications, as long as this notice is preserved.
Packit d53d01
Packit d53d01
# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
Packit d53d01
# $ac_aux_dir to '$srcdir/foo'.  In other projects, it is set to
Packit d53d01
# '$srcdir', '$srcdir/..', or '$srcdir/../..'.
Packit d53d01
#
Packit d53d01
# Of course, Automake must honor this variable whenever it calls a
Packit d53d01
# tool from the auxiliary directory.  The problem is that $srcdir (and
Packit d53d01
# therefore $ac_aux_dir as well) can be either absolute or relative,
Packit d53d01
# depending on how configure is run.  This is pretty annoying, since
Packit d53d01
# it makes $ac_aux_dir quite unusable in subdirectories: in the top
Packit d53d01
# source directory, any form will work fine, but in subdirectories a
Packit d53d01
# relative path needs to be adjusted first.
Packit d53d01
#
Packit d53d01
# $ac_aux_dir/missing
Packit d53d01
#    fails when called from a subdirectory if $ac_aux_dir is relative
Packit d53d01
# $top_srcdir/$ac_aux_dir/missing
Packit d53d01
#    fails if $ac_aux_dir is absolute,
Packit d53d01
#    fails when called from a subdirectory in a VPATH build with
Packit d53d01
#          a relative $ac_aux_dir
Packit d53d01
#
Packit d53d01
# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
Packit d53d01
# are both prefixed by $srcdir.  In an in-source build this is usually
Packit d53d01
# harmless because $srcdir is '.', but things will broke when you
Packit d53d01
# start a VPATH build or use an absolute $srcdir.
Packit d53d01
#
Packit d53d01
# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
Packit d53d01
# iff we strip the leading $srcdir from $ac_aux_dir.  That would be:
Packit d53d01
#   am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
Packit d53d01
# and then we would define $MISSING as
Packit d53d01
#   MISSING="\${SHELL} $am_aux_dir/missing"
Packit d53d01
# This will work as long as MISSING is not called from configure, because
Packit d53d01
# unfortunately $(top_srcdir) has no meaning in configure.
Packit d53d01
# However there are other variables, like CC, which are often used in
Packit d53d01
# configure, and could therefore not use this "fixed" $ac_aux_dir.
Packit d53d01
#
Packit d53d01
# Another solution, used here, is to always expand $ac_aux_dir to an
Packit d53d01
# absolute PATH.  The drawback is that using absolute paths prevent a
Packit d53d01
# configured tree to be moved without reconfiguration.
Packit d53d01
Packit d53d01
AC_DEFUN([AM_AUX_DIR_EXPAND],
Packit d53d01
[AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
Packit d53d01
# Expand $ac_aux_dir to an absolute path.
Packit d53d01
am_aux_dir=`cd "$ac_aux_dir" && pwd`
Packit d53d01
])
Packit d53d01
Packit d53d01
# AM_CONDITIONAL                                            -*- Autoconf -*-
Packit d53d01
Packit d53d01
# Copyright (C) 1997-2014 Free Software Foundation, Inc.
Packit d53d01
#
Packit d53d01
# This file is free software; the Free Software Foundation
Packit d53d01
# gives unlimited permission to copy and/or distribute it,
Packit d53d01
# with or without modifications, as long as this notice is preserved.
Packit d53d01
Packit d53d01
# AM_CONDITIONAL(NAME, SHELL-CONDITION)
Packit d53d01
# -------------------------------------
Packit d53d01
# Define a conditional.
Packit d53d01
AC_DEFUN([AM_CONDITIONAL],
Packit d53d01
[AC_PREREQ([2.52])dnl
Packit d53d01
 m4_if([$1], [TRUE],  [AC_FATAL([$0: invalid condition: $1])],
Packit d53d01
       [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
Packit d53d01
AC_SUBST([$1_TRUE])dnl
Packit d53d01
AC_SUBST([$1_FALSE])dnl
Packit d53d01
_AM_SUBST_NOTMAKE([$1_TRUE])dnl
Packit d53d01
_AM_SUBST_NOTMAKE([$1_FALSE])dnl
Packit d53d01
m4_define([_AM_COND_VALUE_$1], [$2])dnl
Packit d53d01
if $2; then
Packit d53d01
  $1_TRUE=
Packit d53d01
  $1_FALSE='#'
Packit d53d01
else
Packit d53d01
  $1_TRUE='#'
Packit d53d01
  $1_FALSE=
Packit d53d01
fi
Packit d53d01
AC_CONFIG_COMMANDS_PRE(
Packit d53d01
[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
Packit d53d01
  AC_MSG_ERROR([[conditional "$1" was never defined.
Packit d53d01
Usually this means the macro was only invoked conditionally.]])
Packit d53d01
fi])])
Packit d53d01
Packit d53d01
# Do all the work for Automake.                             -*- Autoconf -*-
Packit d53d01
Packit d53d01
# Copyright (C) 1996-2014 Free Software Foundation, Inc.
Packit d53d01
#
Packit d53d01
# This file is free software; the Free Software Foundation
Packit d53d01
# gives unlimited permission to copy and/or distribute it,
Packit d53d01
# with or without modifications, as long as this notice is preserved.
Packit d53d01
Packit d53d01
# This macro actually does too much.  Some checks are only needed if
Packit d53d01
# your package does certain things.  But this isn't really a big deal.
Packit d53d01
Packit d53d01
dnl Redefine AC_PROG_CC to automatically invoke _AM_PROG_CC_C_O.
Packit d53d01
m4_define([AC_PROG_CC],
Packit d53d01
m4_defn([AC_PROG_CC])
Packit d53d01
[_AM_PROG_CC_C_O
Packit d53d01
])
Packit d53d01
Packit d53d01
# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
Packit d53d01
# AM_INIT_AUTOMAKE([OPTIONS])
Packit d53d01
# -----------------------------------------------
Packit d53d01
# The call with PACKAGE and VERSION arguments is the old style
Packit d53d01
# call (pre autoconf-2.50), which is being phased out.  PACKAGE
Packit d53d01
# and VERSION should now be passed to AC_INIT and removed from
Packit d53d01
# the call to AM_INIT_AUTOMAKE.
Packit d53d01
# We support both call styles for the transition.  After
Packit d53d01
# the next Automake release, Autoconf can make the AC_INIT
Packit d53d01
# arguments mandatory, and then we can depend on a new Autoconf
Packit d53d01
# release and drop the old call support.
Packit d53d01
AC_DEFUN([AM_INIT_AUTOMAKE],
Packit d53d01
[AC_PREREQ([2.65])dnl
Packit d53d01
dnl Autoconf wants to disallow AM_ names.  We explicitly allow
Packit d53d01
dnl the ones we care about.
Packit d53d01
m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
Packit d53d01
AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
Packit d53d01
AC_REQUIRE([AC_PROG_INSTALL])dnl
Packit d53d01
if test "`cd $srcdir && pwd`" != "`pwd`"; then
Packit d53d01
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
Packit d53d01
  # is not polluted with repeated "-I."
Packit d53d01
  AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
Packit d53d01
  # test to see if srcdir already configured
Packit d53d01
  if test -f $srcdir/config.status; then
Packit d53d01
    AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
Packit d53d01
  fi
Packit d53d01
fi
Packit d53d01
Packit d53d01
# test whether we have cygpath
Packit d53d01
if test -z "$CYGPATH_W"; then
Packit d53d01
  if (cygpath --version) >/dev/null 2>/dev/null; then
Packit d53d01
    CYGPATH_W='cygpath -w'
Packit d53d01
  else
Packit d53d01
    CYGPATH_W=echo
Packit d53d01
  fi
Packit d53d01
fi
Packit d53d01
AC_SUBST([CYGPATH_W])
Packit d53d01
Packit d53d01
# Define the identity of the package.
Packit d53d01
dnl Distinguish between old-style and new-style calls.
Packit d53d01
m4_ifval([$2],
Packit d53d01
[AC_DIAGNOSE([obsolete],
Packit d53d01
             [$0: two- and three-arguments forms are deprecated.])
Packit d53d01
m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
Packit d53d01
 AC_SUBST([PACKAGE], [$1])dnl
Packit d53d01
 AC_SUBST([VERSION], [$2])],
Packit d53d01
[_AM_SET_OPTIONS([$1])dnl
Packit d53d01
dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
Packit d53d01
m4_if(
Packit d53d01
  m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]),
Packit d53d01
  [ok:ok],,
Packit d53d01
  [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
Packit d53d01
 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
Packit d53d01
 AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
Packit d53d01
Packit d53d01
_AM_IF_OPTION([no-define],,
Packit d53d01
[AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package])
Packit d53d01
 AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl
Packit d53d01
Packit d53d01
# Some tools Automake needs.
Packit d53d01
AC_REQUIRE([AM_SANITY_CHECK])dnl
Packit d53d01
AC_REQUIRE([AC_ARG_PROGRAM])dnl
Packit d53d01
AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
Packit d53d01
AM_MISSING_PROG([AUTOCONF], [autoconf])
Packit d53d01
AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
Packit d53d01
AM_MISSING_PROG([AUTOHEADER], [autoheader])
Packit d53d01
AM_MISSING_PROG([MAKEINFO], [makeinfo])
Packit d53d01
AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
Packit d53d01
AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
Packit d53d01
AC_REQUIRE([AC_PROG_MKDIR_P])dnl
Packit d53d01
# For better backward compatibility.  To be removed once Automake 1.9.x
Packit d53d01
# dies out for good.  For more background, see:
Packit d53d01
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
Packit d53d01
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
Packit d53d01
AC_SUBST([mkdir_p], ['$(MKDIR_P)'])
Packit d53d01
# We need awk for the "check" target (and possibly the TAP driver).  The
Packit d53d01
# system "awk" is bad on some platforms.
Packit d53d01
AC_REQUIRE([AC_PROG_AWK])dnl
Packit d53d01
AC_REQUIRE([AC_PROG_MAKE_SET])dnl
Packit d53d01
AC_REQUIRE([AM_SET_LEADING_DOT])dnl
Packit d53d01
_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
Packit d53d01
	      [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
Packit d53d01
			     [_AM_PROG_TAR([v7])])])
Packit d53d01
_AM_IF_OPTION([no-dependencies],,
Packit d53d01
[AC_PROVIDE_IFELSE([AC_PROG_CC],
Packit d53d01
		  [_AM_DEPENDENCIES([CC])],
Packit d53d01
		  [m4_define([AC_PROG_CC],
Packit d53d01
			     m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl
Packit d53d01
AC_PROVIDE_IFELSE([AC_PROG_CXX],
Packit d53d01
		  [_AM_DEPENDENCIES([CXX])],
Packit d53d01
		  [m4_define([AC_PROG_CXX],
Packit d53d01
			     m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl
Packit d53d01
AC_PROVIDE_IFELSE([AC_PROG_OBJC],
Packit d53d01
		  [_AM_DEPENDENCIES([OBJC])],
Packit d53d01
		  [m4_define([AC_PROG_OBJC],
Packit d53d01
			     m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
Packit d53d01
AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
Packit d53d01
		  [_AM_DEPENDENCIES([OBJCXX])],
Packit d53d01
		  [m4_define([AC_PROG_OBJCXX],
Packit d53d01
			     m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl
Packit d53d01
])
Packit d53d01
AC_REQUIRE([AM_SILENT_RULES])dnl
Packit d53d01
dnl The testsuite driver may need to know about EXEEXT, so add the
Packit d53d01
dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen.  This
Packit d53d01
dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below.
Packit d53d01
AC_CONFIG_COMMANDS_PRE(dnl
Packit d53d01
[m4_provide_if([_AM_COMPILER_EXEEXT],
Packit d53d01
  [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
Packit d53d01
Packit d53d01
# POSIX will say in a future version that running "rm -f" with no argument
Packit d53d01
# is OK; and we want to be able to make that assumption in our Makefile
Packit d53d01
# recipes.  So use an aggressive probe to check that the usage we want is
Packit d53d01
# actually supported "in the wild" to an acceptable degree.
Packit d53d01
# See automake bug#10828.
Packit d53d01
# To make any issue more visible, cause the running configure to be aborted
Packit d53d01
# by default if the 'rm' program in use doesn't match our expectations; the
Packit d53d01
# user can still override this though.
Packit d53d01
if rm -f && rm -fr && rm -rf; then : OK; else
Packit d53d01
  cat >&2 <<'END'
Packit d53d01
Oops!
Packit d53d01
Packit d53d01
Your 'rm' program seems unable to run without file operands specified
Packit d53d01
on the command line, even when the '-f' option is present.  This is contrary
Packit d53d01
to the behaviour of most rm programs out there, and not conforming with
Packit d53d01
the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
Packit d53d01
Packit d53d01
Please tell bug-automake@gnu.org about your system, including the value
Packit d53d01
of your $PATH and any error possibly output before this message.  This
Packit d53d01
can help us improve future automake versions.
Packit d53d01
Packit d53d01
END
Packit d53d01
  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
Packit d53d01
    echo 'Configuration will proceed anyway, since you have set the' >&2
Packit d53d01
    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
Packit d53d01
    echo >&2
Packit d53d01
  else
Packit d53d01
    cat >&2 <<'END'
Packit d53d01
Aborting the configuration process, to ensure you take notice of the issue.
Packit d53d01
Packit d53d01
You can download and install GNU coreutils to get an 'rm' implementation
Packit d53d01
that behaves properly: <http://www.gnu.org/software/coreutils/>.
Packit d53d01
Packit d53d01
If you want to complete the configuration process using your problematic
Packit d53d01
'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
Packit d53d01
to "yes", and re-run configure.
Packit d53d01
Packit d53d01
END
Packit d53d01
    AC_MSG_ERROR([Your 'rm' program is bad, sorry.])
Packit d53d01
  fi
Packit d53d01
fi
Packit d53d01
dnl The trailing newline in this macro's definition is deliberate, for
Packit d53d01
dnl backward compatibility and to allow trailing 'dnl'-style comments
Packit d53d01
dnl after the AM_INIT_AUTOMAKE invocation. See automake bug#16841.
Packit d53d01
])
Packit d53d01
Packit d53d01
dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion.  Do not
Packit d53d01
dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
Packit d53d01
dnl mangled by Autoconf and run in a shell conditional statement.
Packit d53d01
m4_define([_AC_COMPILER_EXEEXT],
Packit d53d01
m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
Packit d53d01
Packit d53d01
# When config.status generates a header, we must update the stamp-h file.
Packit d53d01
# This file resides in the same directory as the config header
Packit d53d01
# that is generated.  The stamp files are numbered to have different names.
Packit d53d01
Packit d53d01
# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
Packit d53d01
# loop where config.status creates the headers, so we can generate
Packit d53d01
# our stamp files there.
Packit d53d01
AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
Packit d53d01
[# Compute $1's index in $config_headers.
Packit d53d01
_am_arg=$1
Packit d53d01
_am_stamp_count=1
Packit d53d01
for _am_header in $config_headers :; do
Packit d53d01
  case $_am_header in
Packit d53d01
    $_am_arg | $_am_arg:* )
Packit d53d01
      break ;;
Packit d53d01
    * )
Packit d53d01
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
Packit d53d01
  esac
Packit d53d01
done
Packit d53d01
echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
Packit d53d01
Packit d53d01
# Copyright (C) 2001-2014 Free Software Foundation, Inc.
Packit d53d01
#
Packit d53d01
# This file is free software; the Free Software Foundation
Packit d53d01
# gives unlimited permission to copy and/or distribute it,
Packit d53d01
# with or without modifications, as long as this notice is preserved.
Packit d53d01
Packit d53d01
# AM_PROG_INSTALL_SH
Packit d53d01
# ------------------
Packit d53d01
# Define $install_sh.
Packit d53d01
AC_DEFUN([AM_PROG_INSTALL_SH],
Packit d53d01
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
Packit d53d01
if test x"${install_sh+set}" != xset; then
Packit d53d01
  case $am_aux_dir in
Packit d53d01
  *\ * | *\	*)
Packit d53d01
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
Packit d53d01
  *)
Packit d53d01
    install_sh="\${SHELL} $am_aux_dir/install-sh"
Packit d53d01
  esac
Packit d53d01
fi
Packit d53d01
AC_SUBST([install_sh])])
Packit d53d01
Packit d53d01
# Copyright (C) 2003-2014 Free Software Foundation, Inc.
Packit d53d01
#
Packit d53d01
# This file is free software; the Free Software Foundation
Packit d53d01
# gives unlimited permission to copy and/or distribute it,
Packit d53d01
# with or without modifications, as long as this notice is preserved.
Packit d53d01
Packit d53d01
# Check whether the underlying file-system supports filenames
Packit d53d01
# with a leading dot.  For instance MS-DOS doesn't.
Packit d53d01
AC_DEFUN([AM_SET_LEADING_DOT],
Packit d53d01
[rm -rf .tst 2>/dev/null
Packit d53d01
mkdir .tst 2>/dev/null
Packit d53d01
if test -d .tst; then
Packit d53d01
  am__leading_dot=.
Packit d53d01
else
Packit d53d01
  am__leading_dot=_
Packit d53d01
fi
Packit d53d01
rmdir .tst 2>/dev/null
Packit d53d01
AC_SUBST([am__leading_dot])])
Packit d53d01
Packit d53d01
# Add --enable-maintainer-mode option to configure.         -*- Autoconf -*-
Packit d53d01
# From Jim Meyering
Packit d53d01
Packit d53d01
# Copyright (C) 1996-2014 Free Software Foundation, Inc.
Packit d53d01
#
Packit d53d01
# This file is free software; the Free Software Foundation
Packit d53d01
# gives unlimited permission to copy and/or distribute it,
Packit d53d01
# with or without modifications, as long as this notice is preserved.
Packit d53d01
Packit d53d01
# AM_MAINTAINER_MODE([DEFAULT-MODE])
Packit d53d01
# ----------------------------------
Packit d53d01
# Control maintainer-specific portions of Makefiles.
Packit d53d01
# Default is to disable them, unless 'enable' is passed literally.
Packit d53d01
# For symmetry, 'disable' may be passed as well.  Anyway, the user
Packit d53d01
# can override the default with the --enable/--disable switch.
Packit d53d01
AC_DEFUN([AM_MAINTAINER_MODE],
Packit d53d01
[m4_case(m4_default([$1], [disable]),
Packit d53d01
       [enable], [m4_define([am_maintainer_other], [disable])],
Packit d53d01
       [disable], [m4_define([am_maintainer_other], [enable])],
Packit d53d01
       [m4_define([am_maintainer_other], [enable])
Packit d53d01
        m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
Packit d53d01
AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
Packit d53d01
  dnl maintainer-mode's default is 'disable' unless 'enable' is passed
Packit d53d01
  AC_ARG_ENABLE([maintainer-mode],
Packit d53d01
    [AS_HELP_STRING([--]am_maintainer_other[-maintainer-mode],
Packit d53d01
      am_maintainer_other[ make rules and dependencies not useful
Packit d53d01
      (and sometimes confusing) to the casual installer])],
Packit d53d01
    [USE_MAINTAINER_MODE=$enableval],
Packit d53d01
    [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))
Packit d53d01
  AC_MSG_RESULT([$USE_MAINTAINER_MODE])
Packit d53d01
  AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
Packit d53d01
  MAINT=$MAINTAINER_MODE_TRUE
Packit d53d01
  AC_SUBST([MAINT])dnl
Packit d53d01
]
Packit d53d01
)
Packit d53d01
Packit d53d01
# Fake the existence of programs that GNU maintainers use.  -*- Autoconf -*-
Packit d53d01
Packit d53d01
# Copyright (C) 1997-2014 Free Software Foundation, Inc.
Packit d53d01
#
Packit d53d01
# This file is free software; the Free Software Foundation
Packit d53d01
# gives unlimited permission to copy and/or distribute it,
Packit d53d01
# with or without modifications, as long as this notice is preserved.
Packit d53d01
Packit d53d01
# AM_MISSING_PROG(NAME, PROGRAM)
Packit d53d01
# ------------------------------
Packit d53d01
AC_DEFUN([AM_MISSING_PROG],
Packit d53d01
[AC_REQUIRE([AM_MISSING_HAS_RUN])
Packit d53d01
$1=${$1-"${am_missing_run}$2"}
Packit d53d01
AC_SUBST($1)])
Packit d53d01
Packit d53d01
# AM_MISSING_HAS_RUN
Packit d53d01
# ------------------
Packit d53d01
# Define MISSING if not defined so far and test if it is modern enough.
Packit d53d01
# If it is, set am_missing_run to use it, otherwise, to nothing.
Packit d53d01
AC_DEFUN([AM_MISSING_HAS_RUN],
Packit d53d01
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
Packit d53d01
AC_REQUIRE_AUX_FILE([missing])dnl
Packit d53d01
if test x"${MISSING+set}" != xset; then
Packit d53d01
  case $am_aux_dir in
Packit d53d01
  *\ * | *\	*)
Packit d53d01
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
Packit d53d01
  *)
Packit d53d01
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
Packit d53d01
  esac
Packit d53d01
fi
Packit d53d01
# Use eval to expand $SHELL
Packit d53d01
if eval "$MISSING --is-lightweight"; then
Packit d53d01
  am_missing_run="$MISSING "
Packit d53d01
else
Packit d53d01
  am_missing_run=
Packit d53d01
  AC_MSG_WARN(['missing' script is too old or missing])
Packit d53d01
fi
Packit d53d01
])
Packit d53d01
Packit d53d01
# Helper functions for option handling.                     -*- Autoconf -*-
Packit d53d01
Packit d53d01
# Copyright (C) 2001-2014 Free Software Foundation, Inc.
Packit d53d01
#
Packit d53d01
# This file is free software; the Free Software Foundation
Packit d53d01
# gives unlimited permission to copy and/or distribute it,
Packit d53d01
# with or without modifications, as long as this notice is preserved.
Packit d53d01
Packit d53d01
# _AM_MANGLE_OPTION(NAME)
Packit d53d01
# -----------------------
Packit d53d01
AC_DEFUN([_AM_MANGLE_OPTION],
Packit d53d01
[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
Packit d53d01
Packit d53d01
# _AM_SET_OPTION(NAME)
Packit d53d01
# --------------------
Packit d53d01
# Set option NAME.  Presently that only means defining a flag for this option.
Packit d53d01
AC_DEFUN([_AM_SET_OPTION],
Packit d53d01
[m4_define(_AM_MANGLE_OPTION([$1]), [1])])
Packit d53d01
Packit d53d01
# _AM_SET_OPTIONS(OPTIONS)
Packit d53d01
# ------------------------
Packit d53d01
# OPTIONS is a space-separated list of Automake options.
Packit d53d01
AC_DEFUN([_AM_SET_OPTIONS],
Packit d53d01
[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
Packit d53d01
Packit d53d01
# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
Packit d53d01
# -------------------------------------------
Packit d53d01
# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
Packit d53d01
AC_DEFUN([_AM_IF_OPTION],
Packit d53d01
[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
Packit d53d01
Packit d53d01
# Check to make sure that the build environment is sane.    -*- Autoconf -*-
Packit d53d01
Packit d53d01
# Copyright (C) 1996-2014 Free Software Foundation, Inc.
Packit d53d01
#
Packit d53d01
# This file is free software; the Free Software Foundation
Packit d53d01
# gives unlimited permission to copy and/or distribute it,
Packit d53d01
# with or without modifications, as long as this notice is preserved.
Packit d53d01
Packit d53d01
# AM_SANITY_CHECK
Packit d53d01
# ---------------
Packit d53d01
AC_DEFUN([AM_SANITY_CHECK],
Packit d53d01
[AC_MSG_CHECKING([whether build environment is sane])
Packit d53d01
# Reject unsafe characters in $srcdir or the absolute working directory
Packit d53d01
# name.  Accept space and tab only in the latter.
Packit d53d01
am_lf='
Packit d53d01
'
Packit d53d01
case `pwd` in
Packit d53d01
  *[[\\\"\#\$\&\'\`$am_lf]]*)
Packit d53d01
    AC_MSG_ERROR([unsafe absolute working directory name]);;
Packit d53d01
esac
Packit d53d01
case $srcdir in
Packit d53d01
  *[[\\\"\#\$\&\'\`$am_lf\ \	]]*)
Packit d53d01
    AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);;
Packit d53d01
esac
Packit d53d01
Packit d53d01
# Do 'set' in a subshell so we don't clobber the current shell's
Packit d53d01
# arguments.  Must try -L first in case configure is actually a
Packit d53d01
# symlink; some systems play weird games with the mod time of symlinks
Packit d53d01
# (eg FreeBSD returns the mod time of the symlink's containing
Packit d53d01
# directory).
Packit d53d01
if (
Packit d53d01
   am_has_slept=no
Packit d53d01
   for am_try in 1 2; do
Packit d53d01
     echo "timestamp, slept: $am_has_slept" > conftest.file
Packit d53d01
     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
Packit d53d01
     if test "$[*]" = "X"; then
Packit d53d01
	# -L didn't work.
Packit d53d01
	set X `ls -t "$srcdir/configure" conftest.file`
Packit d53d01
     fi
Packit d53d01
     if test "$[*]" != "X $srcdir/configure conftest.file" \
Packit d53d01
	&& test "$[*]" != "X conftest.file $srcdir/configure"; then
Packit d53d01
Packit d53d01
	# If neither matched, then we have a broken ls.  This can happen
Packit d53d01
	# if, for instance, CONFIG_SHELL is bash and it inherits a
Packit d53d01
	# broken ls alias from the environment.  This has actually
Packit d53d01
	# happened.  Such a system could not be considered "sane".
Packit d53d01
	AC_MSG_ERROR([ls -t appears to fail.  Make sure there is not a broken
Packit d53d01
  alias in your environment])
Packit d53d01
     fi
Packit d53d01
     if test "$[2]" = conftest.file || test $am_try -eq 2; then
Packit d53d01
       break
Packit d53d01
     fi
Packit d53d01
     # Just in case.
Packit d53d01
     sleep 1
Packit d53d01
     am_has_slept=yes
Packit d53d01
   done
Packit d53d01
   test "$[2]" = conftest.file
Packit d53d01
   )
Packit d53d01
then
Packit d53d01
   # Ok.
Packit d53d01
   :
Packit d53d01
else
Packit d53d01
   AC_MSG_ERROR([newly created file is older than distributed files!
Packit d53d01
Check your system clock])
Packit d53d01
fi
Packit d53d01
AC_MSG_RESULT([yes])
Packit d53d01
# If we didn't sleep, we still need to ensure time stamps of config.status and
Packit d53d01
# generated files are strictly newer.
Packit d53d01
am_sleep_pid=
Packit d53d01
if grep 'slept: no' conftest.file >/dev/null 2>&1; then
Packit d53d01
  ( sleep 1 ) &
Packit d53d01
  am_sleep_pid=$!
Packit d53d01
fi
Packit d53d01
AC_CONFIG_COMMANDS_PRE(
Packit d53d01
  [AC_MSG_CHECKING([that generated files are newer than configure])
Packit d53d01
   if test -n "$am_sleep_pid"; then
Packit d53d01
     # Hide warnings about reused PIDs.
Packit d53d01
     wait $am_sleep_pid 2>/dev/null
Packit d53d01
   fi
Packit d53d01
   AC_MSG_RESULT([done])])
Packit d53d01
rm -f conftest.file
Packit d53d01
])
Packit d53d01
Packit d53d01
# Copyright (C) 2009-2014 Free Software Foundation, Inc.
Packit d53d01
#
Packit d53d01
# This file is free software; the Free Software Foundation
Packit d53d01
# gives unlimited permission to copy and/or distribute it,
Packit d53d01
# with or without modifications, as long as this notice is preserved.
Packit d53d01
Packit d53d01
# AM_SILENT_RULES([DEFAULT])
Packit d53d01
# --------------------------
Packit d53d01
# Enable less verbose build rules; with the default set to DEFAULT
Packit d53d01
# ("yes" being less verbose, "no" or empty being verbose).
Packit d53d01
AC_DEFUN([AM_SILENT_RULES],
Packit d53d01
[AC_ARG_ENABLE([silent-rules], [dnl
Packit d53d01
AS_HELP_STRING(
Packit d53d01
  [--enable-silent-rules],
Packit d53d01
  [less verbose build output (undo: "make V=1")])
Packit d53d01
AS_HELP_STRING(
Packit d53d01
  [--disable-silent-rules],
Packit d53d01
  [verbose build output (undo: "make V=0")])dnl
Packit d53d01
])
Packit d53d01
case $enable_silent_rules in @%:@ (((
Packit d53d01
  yes) AM_DEFAULT_VERBOSITY=0;;
Packit d53d01
   no) AM_DEFAULT_VERBOSITY=1;;
Packit d53d01
    *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
Packit d53d01
esac
Packit d53d01
dnl
Packit d53d01
dnl A few 'make' implementations (e.g., NonStop OS and NextStep)
Packit d53d01
dnl do not support nested variable expansions.
Packit d53d01
dnl See automake bug#9928 and bug#10237.
Packit d53d01
am_make=${MAKE-make}
Packit d53d01
AC_CACHE_CHECK([whether $am_make supports nested variables],
Packit d53d01
   [am_cv_make_support_nested_variables],
Packit d53d01
   [if AS_ECHO([['TRUE=$(BAR$(V))
Packit d53d01
BAR0=false
Packit d53d01
BAR1=true
Packit d53d01
V=1
Packit d53d01
am__doit:
Packit d53d01
	@$(TRUE)
Packit d53d01
.PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then
Packit d53d01
  am_cv_make_support_nested_variables=yes
Packit d53d01
else
Packit d53d01
  am_cv_make_support_nested_variables=no
Packit d53d01
fi])
Packit d53d01
if test $am_cv_make_support_nested_variables = yes; then
Packit d53d01
  dnl Using '$V' instead of '$(V)' breaks IRIX make.
Packit d53d01
  AM_V='$(V)'
Packit d53d01
  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
Packit d53d01
else
Packit d53d01
  AM_V=$AM_DEFAULT_VERBOSITY
Packit d53d01
  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
Packit d53d01
fi
Packit d53d01
AC_SUBST([AM_V])dnl
Packit d53d01
AM_SUBST_NOTMAKE([AM_V])dnl
Packit d53d01
AC_SUBST([AM_DEFAULT_V])dnl
Packit d53d01
AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl
Packit d53d01
AC_SUBST([AM_DEFAULT_VERBOSITY])dnl
Packit d53d01
AM_BACKSLASH='\'
Packit d53d01
AC_SUBST([AM_BACKSLASH])dnl
Packit d53d01
_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
Packit d53d01
])
Packit d53d01
Packit d53d01
# Copyright (C) 2001-2014 Free Software Foundation, Inc.
Packit d53d01
#
Packit d53d01
# This file is free software; the Free Software Foundation
Packit d53d01
# gives unlimited permission to copy and/or distribute it,
Packit d53d01
# with or without modifications, as long as this notice is preserved.
Packit d53d01
Packit d53d01
# AM_PROG_INSTALL_STRIP
Packit d53d01
# ---------------------
Packit d53d01
# One issue with vendor 'install' (even GNU) is that you can't
Packit d53d01
# specify the program used to strip binaries.  This is especially
Packit d53d01
# annoying in cross-compiling environments, where the build's strip
Packit d53d01
# is unlikely to handle the host's binaries.
Packit d53d01
# Fortunately install-sh will honor a STRIPPROG variable, so we
Packit d53d01
# always use install-sh in "make install-strip", and initialize
Packit d53d01
# STRIPPROG with the value of the STRIP variable (set by the user).
Packit d53d01
AC_DEFUN([AM_PROG_INSTALL_STRIP],
Packit d53d01
[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
Packit d53d01
# Installed binaries are usually stripped using 'strip' when the user
Packit d53d01
# run "make install-strip".  However 'strip' might not be the right
Packit d53d01
# tool to use in cross-compilation environments, therefore Automake
Packit d53d01
# will honor the 'STRIP' environment variable to overrule this program.
Packit d53d01
dnl Don't test for $cross_compiling = yes, because it might be 'maybe'.
Packit d53d01
if test "$cross_compiling" != no; then
Packit d53d01
  AC_CHECK_TOOL([STRIP], [strip], :)
Packit d53d01
fi
Packit d53d01
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
Packit d53d01
AC_SUBST([INSTALL_STRIP_PROGRAM])])
Packit d53d01
Packit d53d01
# Copyright (C) 2006-2014 Free Software Foundation, Inc.
Packit d53d01
#
Packit d53d01
# This file is free software; the Free Software Foundation
Packit d53d01
# gives unlimited permission to copy and/or distribute it,
Packit d53d01
# with or without modifications, as long as this notice is preserved.
Packit d53d01
Packit d53d01
# _AM_SUBST_NOTMAKE(VARIABLE)
Packit d53d01
# ---------------------------
Packit d53d01
# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
Packit d53d01
# This macro is traced by Automake.
Packit d53d01
AC_DEFUN([_AM_SUBST_NOTMAKE])
Packit d53d01
Packit d53d01
# AM_SUBST_NOTMAKE(VARIABLE)
Packit d53d01
# --------------------------
Packit d53d01
# Public sister of _AM_SUBST_NOTMAKE.
Packit d53d01
AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
Packit d53d01
Packit d53d01
# Check how to create a tarball.                            -*- Autoconf -*-
Packit d53d01
Packit d53d01
# Copyright (C) 2004-2014 Free Software Foundation, Inc.
Packit d53d01
#
Packit d53d01
# This file is free software; the Free Software Foundation
Packit d53d01
# gives unlimited permission to copy and/or distribute it,
Packit d53d01
# with or without modifications, as long as this notice is preserved.
Packit d53d01
Packit d53d01
# _AM_PROG_TAR(FORMAT)
Packit d53d01
# --------------------
Packit d53d01
# Check how to create a tarball in format FORMAT.
Packit d53d01
# FORMAT should be one of 'v7', 'ustar', or 'pax'.
Packit d53d01
#
Packit d53d01
# Substitute a variable $(am__tar) that is a command
Packit d53d01
# writing to stdout a FORMAT-tarball containing the directory
Packit d53d01
# $tardir.
Packit d53d01
#     tardir=directory && $(am__tar) > result.tar
Packit d53d01
#
Packit d53d01
# Substitute a variable $(am__untar) that extract such
Packit d53d01
# a tarball read from stdin.
Packit d53d01
#     $(am__untar) < result.tar
Packit d53d01
#
Packit d53d01
AC_DEFUN([_AM_PROG_TAR],
Packit d53d01
[# Always define AMTAR for backward compatibility.  Yes, it's still used
Packit d53d01
# in the wild :-(  We should find a proper way to deprecate it ...
Packit d53d01
AC_SUBST([AMTAR], ['$${TAR-tar}'])
Packit d53d01
Packit d53d01
# We'll loop over all known methods to create a tar archive until one works.
Packit d53d01
_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
Packit d53d01
Packit d53d01
m4_if([$1], [v7],
Packit d53d01
  [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
Packit d53d01
Packit d53d01
  [m4_case([$1],
Packit d53d01
    [ustar],
Packit d53d01
     [# The POSIX 1988 'ustar' format is defined with fixed-size fields.
Packit d53d01
      # There is notably a 21 bits limit for the UID and the GID.  In fact,
Packit d53d01
      # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
Packit d53d01
      # and bug#13588).
Packit d53d01
      am_max_uid=2097151 # 2^21 - 1
Packit d53d01
      am_max_gid=$am_max_uid
Packit d53d01
      # The $UID and $GID variables are not portable, so we need to resort
Packit d53d01
      # to the POSIX-mandated id(1) utility.  Errors in the 'id' calls
Packit d53d01
      # below are definitely unexpected, so allow the users to see them
Packit d53d01
      # (that is, avoid stderr redirection).
Packit d53d01
      am_uid=`id -u || echo unknown`
Packit d53d01
      am_gid=`id -g || echo unknown`
Packit d53d01
      AC_MSG_CHECKING([whether UID '$am_uid' is supported by ustar format])
Packit d53d01
      if test $am_uid -le $am_max_uid; then
Packit d53d01
         AC_MSG_RESULT([yes])
Packit d53d01
      else
Packit d53d01
         AC_MSG_RESULT([no])
Packit d53d01
         _am_tools=none
Packit d53d01
      fi
Packit d53d01
      AC_MSG_CHECKING([whether GID '$am_gid' is supported by ustar format])
Packit d53d01
      if test $am_gid -le $am_max_gid; then
Packit d53d01
         AC_MSG_RESULT([yes])
Packit d53d01
      else
Packit d53d01
        AC_MSG_RESULT([no])
Packit d53d01
        _am_tools=none
Packit d53d01
      fi],
Packit d53d01
Packit d53d01
  [pax],
Packit d53d01
    [],
Packit d53d01
Packit d53d01
  [m4_fatal([Unknown tar format])])
Packit d53d01
Packit d53d01
  AC_MSG_CHECKING([how to create a $1 tar archive])
Packit d53d01
Packit d53d01
  # Go ahead even if we have the value already cached.  We do so because we
Packit d53d01
  # need to set the values for the 'am__tar' and 'am__untar' variables.
Packit d53d01
  _am_tools=${am_cv_prog_tar_$1-$_am_tools}
Packit d53d01
Packit d53d01
  for _am_tool in $_am_tools; do
Packit d53d01
    case $_am_tool in
Packit d53d01
    gnutar)
Packit d53d01
      for _am_tar in tar gnutar gtar; do
Packit d53d01
        AM_RUN_LOG([$_am_tar --version]) && break
Packit d53d01
      done
Packit d53d01
      am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
Packit d53d01
      am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
Packit d53d01
      am__untar="$_am_tar -xf -"
Packit d53d01
      ;;
Packit d53d01
    plaintar)
Packit d53d01
      # Must skip GNU tar: if it does not support --format= it doesn't create
Packit d53d01
      # ustar tarball either.
Packit d53d01
      (tar --version) >/dev/null 2>&1 && continue
Packit d53d01
      am__tar='tar chf - "$$tardir"'
Packit d53d01
      am__tar_='tar chf - "$tardir"'
Packit d53d01
      am__untar='tar xf -'
Packit d53d01
      ;;
Packit d53d01
    pax)
Packit d53d01
      am__tar='pax -L -x $1 -w "$$tardir"'
Packit d53d01
      am__tar_='pax -L -x $1 -w "$tardir"'
Packit d53d01
      am__untar='pax -r'
Packit d53d01
      ;;
Packit d53d01
    cpio)
Packit d53d01
      am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
Packit d53d01
      am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
Packit d53d01
      am__untar='cpio -i -H $1 -d'
Packit d53d01
      ;;
Packit d53d01
    none)
Packit d53d01
      am__tar=false
Packit d53d01
      am__tar_=false
Packit d53d01
      am__untar=false
Packit d53d01
      ;;
Packit d53d01
    esac
Packit d53d01
Packit d53d01
    # If the value was cached, stop now.  We just wanted to have am__tar
Packit d53d01
    # and am__untar set.
Packit d53d01
    test -n "${am_cv_prog_tar_$1}" && break
Packit d53d01
Packit d53d01
    # tar/untar a dummy directory, and stop if the command works.
Packit d53d01
    rm -rf conftest.dir
Packit d53d01
    mkdir conftest.dir
Packit d53d01
    echo GrepMe > conftest.dir/file
Packit d53d01
    AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
Packit d53d01
    rm -rf conftest.dir
Packit d53d01
    if test -s conftest.tar; then
Packit d53d01
      AM_RUN_LOG([$am__untar 
Packit d53d01
      AM_RUN_LOG([cat conftest.dir/file])
Packit d53d01
      grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
Packit d53d01
    fi
Packit d53d01
  done
Packit d53d01
  rm -rf conftest.dir
Packit d53d01
Packit d53d01
  AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
Packit d53d01
  AC_MSG_RESULT([$am_cv_prog_tar_$1])])
Packit d53d01
Packit d53d01
AC_SUBST([am__tar])
Packit d53d01
AC_SUBST([am__untar])
Packit d53d01
]) # _AM_PROG_TAR
Packit d53d01