Blame aclocal.m4

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