Blame aclocal.m4

Packit Service 30b792
# generated automatically by aclocal 1.15 -*- Autoconf -*-
Packit d7e8d0
Packit Service 30b792
# Copyright (C) 1996-2014 Free Software Foundation, Inc.
Packit d7e8d0
Packit d7e8d0
# This file is free software; the Free Software Foundation
Packit d7e8d0
# gives unlimited permission to copy and/or distribute it,
Packit d7e8d0
# with or without modifications, as long as this notice is preserved.
Packit d7e8d0
Packit d7e8d0
# This program is distributed in the hope that it will be useful,
Packit d7e8d0
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
Packit d7e8d0
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
Packit d7e8d0
# PARTICULAR PURPOSE.
Packit d7e8d0
Packit d7e8d0
m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])])
Packit d7e8d0
m4_ifndef([AC_AUTOCONF_VERSION],
Packit d7e8d0
  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
Packit d7e8d0
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],,
Packit d7e8d0
[m4_warning([this file was generated for autoconf 2.69.
Packit d7e8d0
You have another version of autoconf.  It may work, but is not guaranteed to.
Packit d7e8d0
If you have problems, you may need to regenerate the build system entirely.
Packit d7e8d0
To do so, use the procedure documented by the package, typically 'autoreconf'.])])
Packit d7e8d0
Packit Service 30b792
# Copyright (C) 2002-2014 Free Software Foundation, Inc.
Packit d7e8d0
#
Packit d7e8d0
# This file is free software; the Free Software Foundation
Packit d7e8d0
# gives unlimited permission to copy and/or distribute it,
Packit d7e8d0
# with or without modifications, as long as this notice is preserved.
Packit d7e8d0
Packit d7e8d0
# AM_AUTOMAKE_VERSION(VERSION)
Packit d7e8d0
# ----------------------------
Packit d7e8d0
# Automake X.Y traces this macro to ensure aclocal.m4 has been
Packit d7e8d0
# generated from the m4 files accompanying Automake X.Y.
Packit d7e8d0
# (This private macro should not be called outside this file.)
Packit d7e8d0
AC_DEFUN([AM_AUTOMAKE_VERSION],
Packit Service 30b792
[am__api_version='1.15'
Packit d7e8d0
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
Packit d7e8d0
dnl require some minimum version.  Point them to the right macro.
Packit Service 30b792
m4_if([$1], [1.15], [],
Packit d7e8d0
      [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
Packit d7e8d0
])
Packit d7e8d0
Packit d7e8d0
# _AM_AUTOCONF_VERSION(VERSION)
Packit d7e8d0
# -----------------------------
Packit d7e8d0
# aclocal traces this macro to find the Autoconf version.
Packit d7e8d0
# This is a private macro too.  Using m4_define simplifies
Packit d7e8d0
# the logic in aclocal, which can simply ignore this definition.
Packit d7e8d0
m4_define([_AM_AUTOCONF_VERSION], [])
Packit d7e8d0
Packit d7e8d0
# AM_SET_CURRENT_AUTOMAKE_VERSION
Packit d7e8d0
# -------------------------------
Packit d7e8d0
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
Packit d7e8d0
# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
Packit d7e8d0
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
Packit Service 30b792
[AM_AUTOMAKE_VERSION([1.15])dnl
Packit d7e8d0
m4_ifndef([AC_AUTOCONF_VERSION],
Packit d7e8d0
  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
Packit d7e8d0
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
Packit d7e8d0
Packit d7e8d0
# AM_AUX_DIR_EXPAND                                         -*- Autoconf -*-
Packit d7e8d0
Packit Service 30b792
# Copyright (C) 2001-2014 Free Software Foundation, Inc.
Packit d7e8d0
#
Packit d7e8d0
# This file is free software; the Free Software Foundation
Packit d7e8d0
# gives unlimited permission to copy and/or distribute it,
Packit d7e8d0
# with or without modifications, as long as this notice is preserved.
Packit d7e8d0
Packit d7e8d0
# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
Packit d7e8d0
# $ac_aux_dir to '$srcdir/foo'.  In other projects, it is set to
Packit d7e8d0
# '$srcdir', '$srcdir/..', or '$srcdir/../..'.
Packit d7e8d0
#
Packit d7e8d0
# Of course, Automake must honor this variable whenever it calls a
Packit d7e8d0
# tool from the auxiliary directory.  The problem is that $srcdir (and
Packit d7e8d0
# therefore $ac_aux_dir as well) can be either absolute or relative,
Packit d7e8d0
# depending on how configure is run.  This is pretty annoying, since
Packit d7e8d0
# it makes $ac_aux_dir quite unusable in subdirectories: in the top
Packit d7e8d0
# source directory, any form will work fine, but in subdirectories a
Packit d7e8d0
# relative path needs to be adjusted first.
Packit d7e8d0
#
Packit d7e8d0
# $ac_aux_dir/missing
Packit d7e8d0
#    fails when called from a subdirectory if $ac_aux_dir is relative
Packit d7e8d0
# $top_srcdir/$ac_aux_dir/missing
Packit d7e8d0
#    fails if $ac_aux_dir is absolute,
Packit d7e8d0
#    fails when called from a subdirectory in a VPATH build with
Packit d7e8d0
#          a relative $ac_aux_dir
Packit d7e8d0
#
Packit d7e8d0
# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
Packit d7e8d0
# are both prefixed by $srcdir.  In an in-source build this is usually
Packit d7e8d0
# harmless because $srcdir is '.', but things will broke when you
Packit d7e8d0
# start a VPATH build or use an absolute $srcdir.
Packit d7e8d0
#
Packit d7e8d0
# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
Packit d7e8d0
# iff we strip the leading $srcdir from $ac_aux_dir.  That would be:
Packit d7e8d0
#   am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
Packit d7e8d0
# and then we would define $MISSING as
Packit d7e8d0
#   MISSING="\${SHELL} $am_aux_dir/missing"
Packit d7e8d0
# This will work as long as MISSING is not called from configure, because
Packit d7e8d0
# unfortunately $(top_srcdir) has no meaning in configure.
Packit d7e8d0
# However there are other variables, like CC, which are often used in
Packit d7e8d0
# configure, and could therefore not use this "fixed" $ac_aux_dir.
Packit d7e8d0
#
Packit d7e8d0
# Another solution, used here, is to always expand $ac_aux_dir to an
Packit d7e8d0
# absolute PATH.  The drawback is that using absolute paths prevent a
Packit d7e8d0
# configured tree to be moved without reconfiguration.
Packit d7e8d0
Packit d7e8d0
AC_DEFUN([AM_AUX_DIR_EXPAND],
Packit d7e8d0
[AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
Packit d7e8d0
# Expand $ac_aux_dir to an absolute path.
Packit d7e8d0
am_aux_dir=`cd "$ac_aux_dir" && pwd`
Packit d7e8d0
])
Packit d7e8d0
Packit d7e8d0
# AM_COND_IF                                            -*- Autoconf -*-
Packit d7e8d0
Packit Service 30b792
# Copyright (C) 2008-2014 Free Software Foundation, Inc.
Packit d7e8d0
#
Packit d7e8d0
# This file is free software; the Free Software Foundation
Packit d7e8d0
# gives unlimited permission to copy and/or distribute it,
Packit d7e8d0
# with or without modifications, as long as this notice is preserved.
Packit d7e8d0
Packit d7e8d0
# _AM_COND_IF
Packit d7e8d0
# _AM_COND_ELSE
Packit d7e8d0
# _AM_COND_ENDIF
Packit d7e8d0
# --------------
Packit d7e8d0
# These macros are only used for tracing.
Packit d7e8d0
m4_define([_AM_COND_IF])
Packit d7e8d0
m4_define([_AM_COND_ELSE])
Packit d7e8d0
m4_define([_AM_COND_ENDIF])
Packit d7e8d0
Packit d7e8d0
# AM_COND_IF(COND, [IF-TRUE], [IF-FALSE])
Packit d7e8d0
# ---------------------------------------
Packit d7e8d0
# If the shell condition COND is true, execute IF-TRUE, otherwise execute
Packit d7e8d0
# IF-FALSE.  Allow automake to learn about conditional instantiating macros
Packit d7e8d0
# (the AC_CONFIG_FOOS).
Packit d7e8d0
AC_DEFUN([AM_COND_IF],
Packit d7e8d0
[m4_ifndef([_AM_COND_VALUE_$1],
Packit d7e8d0
	   [m4_fatal([$0: no such condition "$1"])])dnl
Packit d7e8d0
_AM_COND_IF([$1])dnl
Packit d7e8d0
if test -z "$$1_TRUE"; then :
Packit d7e8d0
  m4_n([$2])[]dnl
Packit d7e8d0
m4_ifval([$3],
Packit d7e8d0
[_AM_COND_ELSE([$1])dnl
Packit d7e8d0
else
Packit d7e8d0
  $3
Packit d7e8d0
])dnl
Packit d7e8d0
_AM_COND_ENDIF([$1])dnl
Packit d7e8d0
fi[]dnl
Packit d7e8d0
])
Packit d7e8d0
Packit d7e8d0
# AM_CONDITIONAL                                            -*- Autoconf -*-
Packit d7e8d0
Packit Service 30b792
# Copyright (C) 1997-2014 Free Software Foundation, Inc.
Packit d7e8d0
#
Packit d7e8d0
# This file is free software; the Free Software Foundation
Packit d7e8d0
# gives unlimited permission to copy and/or distribute it,
Packit d7e8d0
# with or without modifications, as long as this notice is preserved.
Packit d7e8d0
Packit d7e8d0
# AM_CONDITIONAL(NAME, SHELL-CONDITION)
Packit d7e8d0
# -------------------------------------
Packit d7e8d0
# Define a conditional.
Packit d7e8d0
AC_DEFUN([AM_CONDITIONAL],
Packit d7e8d0
[AC_PREREQ([2.52])dnl
Packit d7e8d0
 m4_if([$1], [TRUE],  [AC_FATAL([$0: invalid condition: $1])],
Packit d7e8d0
       [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
Packit d7e8d0
AC_SUBST([$1_TRUE])dnl
Packit d7e8d0
AC_SUBST([$1_FALSE])dnl
Packit d7e8d0
_AM_SUBST_NOTMAKE([$1_TRUE])dnl
Packit d7e8d0
_AM_SUBST_NOTMAKE([$1_FALSE])dnl
Packit d7e8d0
m4_define([_AM_COND_VALUE_$1], [$2])dnl
Packit d7e8d0
if $2; then
Packit d7e8d0
  $1_TRUE=
Packit d7e8d0
  $1_FALSE='#'
Packit d7e8d0
else
Packit d7e8d0
  $1_TRUE='#'
Packit d7e8d0
  $1_FALSE=
Packit d7e8d0
fi
Packit d7e8d0
AC_CONFIG_COMMANDS_PRE(
Packit d7e8d0
[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
Packit d7e8d0
  AC_MSG_ERROR([[conditional "$1" was never defined.
Packit d7e8d0
Usually this means the macro was only invoked conditionally.]])
Packit d7e8d0
fi])])
Packit d7e8d0
Packit Service 30b792
# Copyright (C) 1999-2014 Free Software Foundation, Inc.
Packit d7e8d0
#
Packit d7e8d0
# This file is free software; the Free Software Foundation
Packit d7e8d0
# gives unlimited permission to copy and/or distribute it,
Packit d7e8d0
# with or without modifications, as long as this notice is preserved.
Packit d7e8d0
Packit d7e8d0
Packit d7e8d0
# There are a few dirty hacks below to avoid letting 'AC_PROG_CC' be
Packit d7e8d0
# written in clear, in which case automake, when reading aclocal.m4,
Packit d7e8d0
# will think it sees a *use*, and therefore will trigger all it's
Packit d7e8d0
# C support machinery.  Also note that it means that autoscan, seeing
Packit d7e8d0
# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
Packit d7e8d0
Packit d7e8d0
Packit d7e8d0
# _AM_DEPENDENCIES(NAME)
Packit d7e8d0
# ----------------------
Packit d7e8d0
# See how the compiler implements dependency checking.
Packit d7e8d0
# NAME is "CC", "CXX", "OBJC", "OBJCXX", "UPC", or "GJC".
Packit d7e8d0
# We try a few techniques and use that to set a single cache variable.
Packit d7e8d0
#
Packit d7e8d0
# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
Packit d7e8d0
# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
Packit d7e8d0
# dependency, and given that the user is not expected to run this macro,
Packit d7e8d0
# just rely on AC_PROG_CC.
Packit d7e8d0
AC_DEFUN([_AM_DEPENDENCIES],
Packit d7e8d0
[AC_REQUIRE([AM_SET_DEPDIR])dnl
Packit d7e8d0
AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
Packit d7e8d0
AC_REQUIRE([AM_MAKE_INCLUDE])dnl
Packit d7e8d0
AC_REQUIRE([AM_DEP_TRACK])dnl
Packit d7e8d0
Packit d7e8d0
m4_if([$1], [CC],   [depcc="$CC"   am_compiler_list=],
Packit d7e8d0
      [$1], [CXX],  [depcc="$CXX"  am_compiler_list=],
Packit d7e8d0
      [$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
Packit d7e8d0
      [$1], [OBJCXX], [depcc="$OBJCXX" am_compiler_list='gcc3 gcc'],
Packit d7e8d0
      [$1], [UPC],  [depcc="$UPC"  am_compiler_list=],
Packit d7e8d0
      [$1], [GCJ],  [depcc="$GCJ"  am_compiler_list='gcc3 gcc'],
Packit d7e8d0
                    [depcc="$$1"   am_compiler_list=])
Packit d7e8d0
Packit d7e8d0
AC_CACHE_CHECK([dependency style of $depcc],
Packit d7e8d0
               [am_cv_$1_dependencies_compiler_type],
Packit d7e8d0
[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
Packit d7e8d0
  # We make a subdir and do the tests there.  Otherwise we can end up
Packit d7e8d0
  # making bogus files that we don't know about and never remove.  For
Packit d7e8d0
  # instance it was reported that on HP-UX the gcc test will end up
Packit d7e8d0
  # making a dummy file named 'D' -- because '-MD' means "put the output
Packit d7e8d0
  # in D".
Packit d7e8d0
  rm -rf conftest.dir
Packit d7e8d0
  mkdir conftest.dir
Packit d7e8d0
  # Copy depcomp to subdir because otherwise we won't find it if we're
Packit d7e8d0
  # using a relative directory.
Packit d7e8d0
  cp "$am_depcomp" conftest.dir
Packit d7e8d0
  cd conftest.dir
Packit d7e8d0
  # We will build objects and dependencies in a subdirectory because
Packit d7e8d0
  # it helps to detect inapplicable dependency modes.  For instance
Packit d7e8d0
  # both Tru64's cc and ICC support -MD to output dependencies as a
Packit d7e8d0
  # side effect of compilation, but ICC will put the dependencies in
Packit d7e8d0
  # the current directory while Tru64 will put them in the object
Packit d7e8d0
  # directory.
Packit d7e8d0
  mkdir sub
Packit d7e8d0
Packit d7e8d0
  am_cv_$1_dependencies_compiler_type=none
Packit d7e8d0
  if test "$am_compiler_list" = ""; then
Packit d7e8d0
     am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
Packit d7e8d0
  fi
Packit d7e8d0
  am__universal=false
Packit d7e8d0
  m4_case([$1], [CC],
Packit d7e8d0
    [case " $depcc " in #(
Packit d7e8d0
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
Packit d7e8d0
     esac],
Packit d7e8d0
    [CXX],
Packit d7e8d0
    [case " $depcc " in #(
Packit d7e8d0
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
Packit d7e8d0
     esac])
Packit d7e8d0
Packit d7e8d0
  for depmode in $am_compiler_list; do
Packit d7e8d0
    # Setup a source with many dependencies, because some compilers
Packit d7e8d0
    # like to wrap large dependency lists on column 80 (with \), and
Packit d7e8d0
    # we should not choose a depcomp mode which is confused by this.
Packit d7e8d0
    #
Packit d7e8d0
    # We need to recreate these files for each test, as the compiler may
Packit d7e8d0
    # overwrite some of them when testing with obscure command lines.
Packit d7e8d0
    # This happens at least with the AIX C compiler.
Packit d7e8d0
    : > sub/conftest.c
Packit d7e8d0
    for i in 1 2 3 4 5 6; do
Packit d7e8d0
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
Packit d7e8d0
      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
Packit d7e8d0
      # Solaris 10 /bin/sh.
Packit d7e8d0
      echo '/* dummy */' > sub/conftst$i.h
Packit d7e8d0
    done
Packit d7e8d0
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
Packit d7e8d0
Packit d7e8d0
    # We check with '-c' and '-o' for the sake of the "dashmstdout"
Packit d7e8d0
    # mode.  It turns out that the SunPro C++ compiler does not properly
Packit d7e8d0
    # handle '-M -o', and we need to detect this.  Also, some Intel
Packit d7e8d0
    # versions had trouble with output in subdirs.
Packit d7e8d0
    am__obj=sub/conftest.${OBJEXT-o}
Packit d7e8d0
    am__minus_obj="-o $am__obj"
Packit d7e8d0
    case $depmode in
Packit d7e8d0
    gcc)
Packit d7e8d0
      # This depmode causes a compiler race in universal mode.
Packit d7e8d0
      test "$am__universal" = false || continue
Packit d7e8d0
      ;;
Packit d7e8d0
    nosideeffect)
Packit d7e8d0
      # After this tag, mechanisms are not by side-effect, so they'll
Packit d7e8d0
      # only be used when explicitly requested.
Packit d7e8d0
      if test "x$enable_dependency_tracking" = xyes; then
Packit d7e8d0
	continue
Packit d7e8d0
      else
Packit d7e8d0
	break
Packit d7e8d0
      fi
Packit d7e8d0
      ;;
Packit d7e8d0
    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
Packit d7e8d0
      # This compiler won't grok '-c -o', but also, the minuso test has
Packit d7e8d0
      # not run yet.  These depmodes are late enough in the game, and
Packit d7e8d0
      # so weak that their functioning should not be impacted.
Packit d7e8d0
      am__obj=conftest.${OBJEXT-o}
Packit d7e8d0
      am__minus_obj=
Packit d7e8d0
      ;;
Packit d7e8d0
    none) break ;;
Packit d7e8d0
    esac
Packit d7e8d0
    if depmode=$depmode \
Packit d7e8d0
       source=sub/conftest.c object=$am__obj \
Packit d7e8d0
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
Packit d7e8d0
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
Packit d7e8d0
         >/dev/null 2>conftest.err &&
Packit d7e8d0
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
Packit d7e8d0
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
Packit d7e8d0
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
Packit d7e8d0
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
Packit d7e8d0
      # icc doesn't choke on unknown options, it will just issue warnings
Packit d7e8d0
      # or remarks (even with -Werror).  So we grep stderr for any message
Packit d7e8d0
      # that says an option was ignored or not supported.
Packit d7e8d0
      # When given -MP, icc 7.0 and 7.1 complain thusly:
Packit d7e8d0
      #   icc: Command line warning: ignoring option '-M'; no argument required
Packit d7e8d0
      # The diagnosis changed in icc 8.0:
Packit d7e8d0
      #   icc: Command line remark: option '-MP' not supported
Packit d7e8d0
      if (grep 'ignoring option' conftest.err ||
Packit d7e8d0
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
Packit d7e8d0
        am_cv_$1_dependencies_compiler_type=$depmode
Packit d7e8d0
        break
Packit d7e8d0
      fi
Packit d7e8d0
    fi
Packit d7e8d0
  done
Packit d7e8d0
Packit d7e8d0
  cd ..
Packit d7e8d0
  rm -rf conftest.dir
Packit d7e8d0
else
Packit d7e8d0
  am_cv_$1_dependencies_compiler_type=none
Packit d7e8d0
fi
Packit d7e8d0
])
Packit d7e8d0
AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
Packit d7e8d0
AM_CONDITIONAL([am__fastdep$1], [
Packit d7e8d0
  test "x$enable_dependency_tracking" != xno \
Packit d7e8d0
  && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
Packit d7e8d0
])
Packit d7e8d0
Packit d7e8d0
Packit d7e8d0
# AM_SET_DEPDIR
Packit d7e8d0
# -------------
Packit d7e8d0
# Choose a directory name for dependency files.
Packit d7e8d0
# This macro is AC_REQUIREd in _AM_DEPENDENCIES.
Packit d7e8d0
AC_DEFUN([AM_SET_DEPDIR],
Packit d7e8d0
[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
Packit d7e8d0
AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
Packit d7e8d0
])
Packit d7e8d0
Packit d7e8d0
Packit d7e8d0
# AM_DEP_TRACK
Packit d7e8d0
# ------------
Packit d7e8d0
AC_DEFUN([AM_DEP_TRACK],
Packit d7e8d0
[AC_ARG_ENABLE([dependency-tracking], [dnl
Packit d7e8d0
AS_HELP_STRING(
Packit d7e8d0
  [--enable-dependency-tracking],
Packit d7e8d0
  [do not reject slow dependency extractors])
Packit d7e8d0
AS_HELP_STRING(
Packit d7e8d0
  [--disable-dependency-tracking],
Packit d7e8d0
  [speeds up one-time build])])
Packit d7e8d0
if test "x$enable_dependency_tracking" != xno; then
Packit d7e8d0
  am_depcomp="$ac_aux_dir/depcomp"
Packit d7e8d0
  AMDEPBACKSLASH='\'
Packit d7e8d0
  am__nodep='_no'
Packit d7e8d0
fi
Packit d7e8d0
AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
Packit d7e8d0
AC_SUBST([AMDEPBACKSLASH])dnl
Packit d7e8d0
_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
Packit d7e8d0
AC_SUBST([am__nodep])dnl
Packit d7e8d0
_AM_SUBST_NOTMAKE([am__nodep])dnl
Packit d7e8d0
])
Packit d7e8d0
Packit d7e8d0
# Generate code to set up dependency tracking.              -*- Autoconf -*-
Packit d7e8d0
Packit Service 30b792
# Copyright (C) 1999-2014 Free Software Foundation, Inc.
Packit d7e8d0
#
Packit d7e8d0
# This file is free software; the Free Software Foundation
Packit d7e8d0
# gives unlimited permission to copy and/or distribute it,
Packit d7e8d0
# with or without modifications, as long as this notice is preserved.
Packit d7e8d0
Packit d7e8d0
Packit d7e8d0
# _AM_OUTPUT_DEPENDENCY_COMMANDS
Packit d7e8d0
# ------------------------------
Packit d7e8d0
AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
Packit d7e8d0
[{
Packit d7e8d0
  # Older Autoconf quotes --file arguments for eval, but not when files
Packit d7e8d0
  # are listed without --file.  Let's play safe and only enable the eval
Packit d7e8d0
  # if we detect the quoting.
Packit d7e8d0
  case $CONFIG_FILES in
Packit d7e8d0
  *\'*) eval set x "$CONFIG_FILES" ;;
Packit d7e8d0
  *)   set x $CONFIG_FILES ;;
Packit d7e8d0
  esac
Packit d7e8d0
  shift
Packit d7e8d0
  for mf
Packit d7e8d0
  do
Packit d7e8d0
    # Strip MF so we end up with the name of the file.
Packit d7e8d0
    mf=`echo "$mf" | sed -e 's/:.*$//'`
Packit d7e8d0
    # Check whether this is an Automake generated Makefile or not.
Packit d7e8d0
    # We used to match only the files named 'Makefile.in', but
Packit d7e8d0
    # some people rename them; so instead we look at the file content.
Packit d7e8d0
    # Grep'ing the first line is not enough: some people post-process
Packit d7e8d0
    # each Makefile.in and add a new line on top of each file to say so.
Packit d7e8d0
    # Grep'ing the whole file is not good either: AIX grep has a line
Packit d7e8d0
    # limit of 2048, but all sed's we know have understand at least 4000.
Packit d7e8d0
    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
Packit d7e8d0
      dirpart=`AS_DIRNAME("$mf")`
Packit d7e8d0
    else
Packit d7e8d0
      continue
Packit d7e8d0
    fi
Packit d7e8d0
    # Extract the definition of DEPDIR, am__include, and am__quote
Packit d7e8d0
    # from the Makefile without running 'make'.
Packit d7e8d0
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
Packit d7e8d0
    test -z "$DEPDIR" && continue
Packit d7e8d0
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
Packit d7e8d0
    test -z "$am__include" && continue
Packit d7e8d0
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
Packit d7e8d0
    # Find all dependency output files, they are included files with
Packit d7e8d0
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
Packit d7e8d0
    # simplest approach to changing $(DEPDIR) to its actual value in the
Packit d7e8d0
    # expansion.
Packit d7e8d0
    for file in `sed -n "
Packit d7e8d0
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
Packit d7e8d0
	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
Packit d7e8d0
      # Make sure the directory exists.
Packit d7e8d0
      test -f "$dirpart/$file" && continue
Packit d7e8d0
      fdir=`AS_DIRNAME(["$file"])`
Packit d7e8d0
      AS_MKDIR_P([$dirpart/$fdir])
Packit d7e8d0
      # echo "creating $dirpart/$file"
Packit d7e8d0
      echo '# dummy' > "$dirpart/$file"
Packit d7e8d0
    done
Packit d7e8d0
  done
Packit d7e8d0
}
Packit d7e8d0
])# _AM_OUTPUT_DEPENDENCY_COMMANDS
Packit d7e8d0
Packit d7e8d0
Packit d7e8d0
# AM_OUTPUT_DEPENDENCY_COMMANDS
Packit d7e8d0
# -----------------------------
Packit d7e8d0
# This macro should only be invoked once -- use via AC_REQUIRE.
Packit d7e8d0
#
Packit d7e8d0
# This code is only required when automatic dependency tracking
Packit d7e8d0
# is enabled.  FIXME.  This creates each '.P' file that we will
Packit d7e8d0
# need in order to bootstrap the dependency handling code.
Packit d7e8d0
AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
Packit d7e8d0
[AC_CONFIG_COMMANDS([depfiles],
Packit d7e8d0
     [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
Packit d7e8d0
     [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
Packit d7e8d0
])
Packit d7e8d0
Packit d7e8d0
# Do all the work for Automake.                             -*- Autoconf -*-
Packit d7e8d0
Packit Service 30b792
# Copyright (C) 1996-2014 Free Software Foundation, Inc.
Packit d7e8d0
#
Packit d7e8d0
# This file is free software; the Free Software Foundation
Packit d7e8d0
# gives unlimited permission to copy and/or distribute it,
Packit d7e8d0
# with or without modifications, as long as this notice is preserved.
Packit d7e8d0
Packit d7e8d0
# This macro actually does too much.  Some checks are only needed if
Packit d7e8d0
# your package does certain things.  But this isn't really a big deal.
Packit d7e8d0
Packit d7e8d0
dnl Redefine AC_PROG_CC to automatically invoke _AM_PROG_CC_C_O.
Packit d7e8d0
m4_define([AC_PROG_CC],
Packit d7e8d0
m4_defn([AC_PROG_CC])
Packit d7e8d0
[_AM_PROG_CC_C_O
Packit d7e8d0
])
Packit d7e8d0
Packit d7e8d0
# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
Packit d7e8d0
# AM_INIT_AUTOMAKE([OPTIONS])
Packit d7e8d0
# -----------------------------------------------
Packit d7e8d0
# The call with PACKAGE and VERSION arguments is the old style
Packit d7e8d0
# call (pre autoconf-2.50), which is being phased out.  PACKAGE
Packit d7e8d0
# and VERSION should now be passed to AC_INIT and removed from
Packit d7e8d0
# the call to AM_INIT_AUTOMAKE.
Packit d7e8d0
# We support both call styles for the transition.  After
Packit d7e8d0
# the next Automake release, Autoconf can make the AC_INIT
Packit d7e8d0
# arguments mandatory, and then we can depend on a new Autoconf
Packit d7e8d0
# release and drop the old call support.
Packit d7e8d0
AC_DEFUN([AM_INIT_AUTOMAKE],
Packit d7e8d0
[AC_PREREQ([2.65])dnl
Packit d7e8d0
dnl Autoconf wants to disallow AM_ names.  We explicitly allow
Packit d7e8d0
dnl the ones we care about.
Packit d7e8d0
m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
Packit d7e8d0
AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
Packit d7e8d0
AC_REQUIRE([AC_PROG_INSTALL])dnl
Packit d7e8d0
if test "`cd $srcdir && pwd`" != "`pwd`"; then
Packit d7e8d0
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
Packit d7e8d0
  # is not polluted with repeated "-I."
Packit d7e8d0
  AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
Packit d7e8d0
  # test to see if srcdir already configured
Packit d7e8d0
  if test -f $srcdir/config.status; then
Packit d7e8d0
    AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
Packit d7e8d0
  fi
Packit d7e8d0
fi
Packit d7e8d0
Packit d7e8d0
# test whether we have cygpath
Packit d7e8d0
if test -z "$CYGPATH_W"; then
Packit d7e8d0
  if (cygpath --version) >/dev/null 2>/dev/null; then
Packit d7e8d0
    CYGPATH_W='cygpath -w'
Packit d7e8d0
  else
Packit d7e8d0
    CYGPATH_W=echo
Packit d7e8d0
  fi
Packit d7e8d0
fi
Packit d7e8d0
AC_SUBST([CYGPATH_W])
Packit d7e8d0
Packit d7e8d0
# Define the identity of the package.
Packit d7e8d0
dnl Distinguish between old-style and new-style calls.
Packit d7e8d0
m4_ifval([$2],
Packit d7e8d0
[AC_DIAGNOSE([obsolete],
Packit d7e8d0
             [$0: two- and three-arguments forms are deprecated.])
Packit d7e8d0
m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
Packit d7e8d0
 AC_SUBST([PACKAGE], [$1])dnl
Packit d7e8d0
 AC_SUBST([VERSION], [$2])],
Packit d7e8d0
[_AM_SET_OPTIONS([$1])dnl
Packit d7e8d0
dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
Packit d7e8d0
m4_if(
Packit d7e8d0
  m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]),
Packit d7e8d0
  [ok:ok],,
Packit d7e8d0
  [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
Packit d7e8d0
 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
Packit d7e8d0
 AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
Packit d7e8d0
Packit d7e8d0
_AM_IF_OPTION([no-define],,
Packit d7e8d0
[AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package])
Packit d7e8d0
 AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl
Packit d7e8d0
Packit d7e8d0
# Some tools Automake needs.
Packit d7e8d0
AC_REQUIRE([AM_SANITY_CHECK])dnl
Packit d7e8d0
AC_REQUIRE([AC_ARG_PROGRAM])dnl
Packit d7e8d0
AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
Packit d7e8d0
AM_MISSING_PROG([AUTOCONF], [autoconf])
Packit d7e8d0
AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
Packit d7e8d0
AM_MISSING_PROG([AUTOHEADER], [autoheader])
Packit d7e8d0
AM_MISSING_PROG([MAKEINFO], [makeinfo])
Packit d7e8d0
AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
Packit d7e8d0
AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
Packit d7e8d0
AC_REQUIRE([AC_PROG_MKDIR_P])dnl
Packit d7e8d0
# For better backward compatibility.  To be removed once Automake 1.9.x
Packit d7e8d0
# dies out for good.  For more background, see:
Packit d7e8d0
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
Packit d7e8d0
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
Packit d7e8d0
AC_SUBST([mkdir_p], ['$(MKDIR_P)'])
Packit Service 30b792
# We need awk for the "check" target (and possibly the TAP driver).  The
Packit Service 30b792
# system "awk" is bad on some platforms.
Packit d7e8d0
AC_REQUIRE([AC_PROG_AWK])dnl
Packit d7e8d0
AC_REQUIRE([AC_PROG_MAKE_SET])dnl
Packit d7e8d0
AC_REQUIRE([AM_SET_LEADING_DOT])dnl
Packit d7e8d0
_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
Packit d7e8d0
	      [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
Packit d7e8d0
			     [_AM_PROG_TAR([v7])])])
Packit d7e8d0
_AM_IF_OPTION([no-dependencies],,
Packit d7e8d0
[AC_PROVIDE_IFELSE([AC_PROG_CC],
Packit d7e8d0
		  [_AM_DEPENDENCIES([CC])],
Packit d7e8d0
		  [m4_define([AC_PROG_CC],
Packit d7e8d0
			     m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl
Packit d7e8d0
AC_PROVIDE_IFELSE([AC_PROG_CXX],
Packit d7e8d0
		  [_AM_DEPENDENCIES([CXX])],
Packit d7e8d0
		  [m4_define([AC_PROG_CXX],
Packit d7e8d0
			     m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl
Packit d7e8d0
AC_PROVIDE_IFELSE([AC_PROG_OBJC],
Packit d7e8d0
		  [_AM_DEPENDENCIES([OBJC])],
Packit d7e8d0
		  [m4_define([AC_PROG_OBJC],
Packit d7e8d0
			     m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
Packit d7e8d0
AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
Packit d7e8d0
		  [_AM_DEPENDENCIES([OBJCXX])],
Packit d7e8d0
		  [m4_define([AC_PROG_OBJCXX],
Packit d7e8d0
			     m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl
Packit d7e8d0
])
Packit d7e8d0
AC_REQUIRE([AM_SILENT_RULES])dnl
Packit d7e8d0
dnl The testsuite driver may need to know about EXEEXT, so add the
Packit d7e8d0
dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen.  This
Packit d7e8d0
dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below.
Packit d7e8d0
AC_CONFIG_COMMANDS_PRE(dnl
Packit d7e8d0
[m4_provide_if([_AM_COMPILER_EXEEXT],
Packit d7e8d0
  [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
Packit d7e8d0
Packit d7e8d0
# POSIX will say in a future version that running "rm -f" with no argument
Packit d7e8d0
# is OK; and we want to be able to make that assumption in our Makefile
Packit d7e8d0
# recipes.  So use an aggressive probe to check that the usage we want is
Packit d7e8d0
# actually supported "in the wild" to an acceptable degree.
Packit d7e8d0
# See automake bug#10828.
Packit d7e8d0
# To make any issue more visible, cause the running configure to be aborted
Packit d7e8d0
# by default if the 'rm' program in use doesn't match our expectations; the
Packit d7e8d0
# user can still override this though.
Packit d7e8d0
if rm -f && rm -fr && rm -rf; then : OK; else
Packit d7e8d0
  cat >&2 <<'END'
Packit d7e8d0
Oops!
Packit d7e8d0
Packit d7e8d0
Your 'rm' program seems unable to run without file operands specified
Packit d7e8d0
on the command line, even when the '-f' option is present.  This is contrary
Packit d7e8d0
to the behaviour of most rm programs out there, and not conforming with
Packit d7e8d0
the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
Packit d7e8d0
Packit d7e8d0
Please tell bug-automake@gnu.org about your system, including the value
Packit d7e8d0
of your $PATH and any error possibly output before this message.  This
Packit d7e8d0
can help us improve future automake versions.
Packit d7e8d0
Packit d7e8d0
END
Packit d7e8d0
  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
Packit d7e8d0
    echo 'Configuration will proceed anyway, since you have set the' >&2
Packit d7e8d0
    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
Packit d7e8d0
    echo >&2
Packit d7e8d0
  else
Packit d7e8d0
    cat >&2 <<'END'
Packit d7e8d0
Aborting the configuration process, to ensure you take notice of the issue.
Packit d7e8d0
Packit d7e8d0
You can download and install GNU coreutils to get an 'rm' implementation
Packit d7e8d0
that behaves properly: <http://www.gnu.org/software/coreutils/>.
Packit d7e8d0
Packit d7e8d0
If you want to complete the configuration process using your problematic
Packit d7e8d0
'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
Packit d7e8d0
to "yes", and re-run configure.
Packit d7e8d0
Packit d7e8d0
END
Packit d7e8d0
    AC_MSG_ERROR([Your 'rm' program is bad, sorry.])
Packit d7e8d0
  fi
Packit d7e8d0
fi
Packit Service 30b792
dnl The trailing newline in this macro's definition is deliberate, for
Packit Service 30b792
dnl backward compatibility and to allow trailing 'dnl'-style comments
Packit Service 30b792
dnl after the AM_INIT_AUTOMAKE invocation. See automake bug#16841.
Packit d7e8d0
])
Packit d7e8d0
Packit d7e8d0
dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion.  Do not
Packit d7e8d0
dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
Packit d7e8d0
dnl mangled by Autoconf and run in a shell conditional statement.
Packit d7e8d0
m4_define([_AC_COMPILER_EXEEXT],
Packit d7e8d0
m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
Packit d7e8d0
Packit d7e8d0
# When config.status generates a header, we must update the stamp-h file.
Packit d7e8d0
# This file resides in the same directory as the config header
Packit d7e8d0
# that is generated.  The stamp files are numbered to have different names.
Packit d7e8d0
Packit d7e8d0
# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
Packit d7e8d0
# loop where config.status creates the headers, so we can generate
Packit d7e8d0
# our stamp files there.
Packit d7e8d0
AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
Packit d7e8d0
[# Compute $1's index in $config_headers.
Packit d7e8d0
_am_arg=$1
Packit d7e8d0
_am_stamp_count=1
Packit d7e8d0
for _am_header in $config_headers :; do
Packit d7e8d0
  case $_am_header in
Packit d7e8d0
    $_am_arg | $_am_arg:* )
Packit d7e8d0
      break ;;
Packit d7e8d0
    * )
Packit d7e8d0
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
Packit d7e8d0
  esac
Packit d7e8d0
done
Packit d7e8d0
echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
Packit d7e8d0
Packit Service 30b792
# Copyright (C) 2001-2014 Free Software Foundation, Inc.
Packit d7e8d0
#
Packit d7e8d0
# This file is free software; the Free Software Foundation
Packit d7e8d0
# gives unlimited permission to copy and/or distribute it,
Packit d7e8d0
# with or without modifications, as long as this notice is preserved.
Packit d7e8d0
Packit d7e8d0
# AM_PROG_INSTALL_SH
Packit d7e8d0
# ------------------
Packit d7e8d0
# Define $install_sh.
Packit d7e8d0
AC_DEFUN([AM_PROG_INSTALL_SH],
Packit d7e8d0
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
Packit Service 30b792
if test x"${install_sh+set}" != xset; then
Packit d7e8d0
  case $am_aux_dir in
Packit d7e8d0
  *\ * | *\	*)
Packit d7e8d0
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
Packit d7e8d0
  *)
Packit d7e8d0
    install_sh="\${SHELL} $am_aux_dir/install-sh"
Packit d7e8d0
  esac
Packit d7e8d0
fi
Packit d7e8d0
AC_SUBST([install_sh])])
Packit d7e8d0
Packit Service 30b792
# Copyright (C) 2003-2014 Free Software Foundation, Inc.
Packit d7e8d0
#
Packit d7e8d0
# This file is free software; the Free Software Foundation
Packit d7e8d0
# gives unlimited permission to copy and/or distribute it,
Packit d7e8d0
# with or without modifications, as long as this notice is preserved.
Packit d7e8d0
Packit d7e8d0
# Check whether the underlying file-system supports filenames
Packit d7e8d0
# with a leading dot.  For instance MS-DOS doesn't.
Packit d7e8d0
AC_DEFUN([AM_SET_LEADING_DOT],
Packit d7e8d0
[rm -rf .tst 2>/dev/null
Packit d7e8d0
mkdir .tst 2>/dev/null
Packit d7e8d0
if test -d .tst; then
Packit d7e8d0
  am__leading_dot=.
Packit d7e8d0
else
Packit d7e8d0
  am__leading_dot=_
Packit d7e8d0
fi
Packit d7e8d0
rmdir .tst 2>/dev/null
Packit d7e8d0
AC_SUBST([am__leading_dot])])
Packit d7e8d0
Packit d7e8d0
# Add --enable-maintainer-mode option to configure.         -*- Autoconf -*-
Packit d7e8d0
# From Jim Meyering
Packit d7e8d0
Packit Service 30b792
# Copyright (C) 1996-2014 Free Software Foundation, Inc.
Packit d7e8d0
#
Packit d7e8d0
# This file is free software; the Free Software Foundation
Packit d7e8d0
# gives unlimited permission to copy and/or distribute it,
Packit d7e8d0
# with or without modifications, as long as this notice is preserved.
Packit d7e8d0
Packit d7e8d0
# AM_MAINTAINER_MODE([DEFAULT-MODE])
Packit d7e8d0
# ----------------------------------
Packit d7e8d0
# Control maintainer-specific portions of Makefiles.
Packit d7e8d0
# Default is to disable them, unless 'enable' is passed literally.
Packit d7e8d0
# For symmetry, 'disable' may be passed as well.  Anyway, the user
Packit d7e8d0
# can override the default with the --enable/--disable switch.
Packit d7e8d0
AC_DEFUN([AM_MAINTAINER_MODE],
Packit d7e8d0
[m4_case(m4_default([$1], [disable]),
Packit d7e8d0
       [enable], [m4_define([am_maintainer_other], [disable])],
Packit d7e8d0
       [disable], [m4_define([am_maintainer_other], [enable])],
Packit d7e8d0
       [m4_define([am_maintainer_other], [enable])
Packit d7e8d0
        m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
Packit d7e8d0
AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
Packit d7e8d0
  dnl maintainer-mode's default is 'disable' unless 'enable' is passed
Packit d7e8d0
  AC_ARG_ENABLE([maintainer-mode],
Packit d7e8d0
    [AS_HELP_STRING([--]am_maintainer_other[-maintainer-mode],
Packit d7e8d0
      am_maintainer_other[ make rules and dependencies not useful
Packit d7e8d0
      (and sometimes confusing) to the casual installer])],
Packit d7e8d0
    [USE_MAINTAINER_MODE=$enableval],
Packit d7e8d0
    [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))
Packit d7e8d0
  AC_MSG_RESULT([$USE_MAINTAINER_MODE])
Packit d7e8d0
  AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
Packit d7e8d0
  MAINT=$MAINTAINER_MODE_TRUE
Packit d7e8d0
  AC_SUBST([MAINT])dnl
Packit d7e8d0
]
Packit d7e8d0
)
Packit d7e8d0
Packit d7e8d0
# Check to see how 'make' treats includes.	            -*- Autoconf -*-
Packit d7e8d0
Packit Service 30b792
# Copyright (C) 2001-2014 Free Software Foundation, Inc.
Packit d7e8d0
#
Packit d7e8d0
# This file is free software; the Free Software Foundation
Packit d7e8d0
# gives unlimited permission to copy and/or distribute it,
Packit d7e8d0
# with or without modifications, as long as this notice is preserved.
Packit d7e8d0
Packit d7e8d0
# AM_MAKE_INCLUDE()
Packit d7e8d0
# -----------------
Packit d7e8d0
# Check to see how make treats includes.
Packit d7e8d0
AC_DEFUN([AM_MAKE_INCLUDE],
Packit d7e8d0
[am_make=${MAKE-make}
Packit d7e8d0
cat > confinc << 'END'
Packit d7e8d0
am__doit:
Packit d7e8d0
	@echo this is the am__doit target
Packit d7e8d0
.PHONY: am__doit
Packit d7e8d0
END
Packit d7e8d0
# If we don't find an include directive, just comment out the code.
Packit d7e8d0
AC_MSG_CHECKING([for style of include used by $am_make])
Packit d7e8d0
am__include="#"
Packit d7e8d0
am__quote=
Packit d7e8d0
_am_result=none
Packit d7e8d0
# First try GNU make style include.
Packit d7e8d0
echo "include confinc" > confmf
Packit d7e8d0
# Ignore all kinds of additional output from 'make'.
Packit d7e8d0
case `$am_make -s -f confmf 2> /dev/null` in #(
Packit d7e8d0
*the\ am__doit\ target*)
Packit d7e8d0
  am__include=include
Packit d7e8d0
  am__quote=
Packit d7e8d0
  _am_result=GNU
Packit d7e8d0
  ;;
Packit d7e8d0
esac
Packit d7e8d0
# Now try BSD make style include.
Packit d7e8d0
if test "$am__include" = "#"; then
Packit d7e8d0
   echo '.include "confinc"' > confmf
Packit d7e8d0
   case `$am_make -s -f confmf 2> /dev/null` in #(
Packit d7e8d0
   *the\ am__doit\ target*)
Packit d7e8d0
     am__include=.include
Packit d7e8d0
     am__quote="\""
Packit d7e8d0
     _am_result=BSD
Packit d7e8d0
     ;;
Packit d7e8d0
   esac
Packit d7e8d0
fi
Packit d7e8d0
AC_SUBST([am__include])
Packit d7e8d0
AC_SUBST([am__quote])
Packit d7e8d0
AC_MSG_RESULT([$_am_result])
Packit d7e8d0
rm -f confinc confmf
Packit d7e8d0
])
Packit d7e8d0
Packit d7e8d0
# Fake the existence of programs that GNU maintainers use.  -*- Autoconf -*-
Packit d7e8d0
Packit Service 30b792
# Copyright (C) 1997-2014 Free Software Foundation, Inc.
Packit d7e8d0
#
Packit d7e8d0
# This file is free software; the Free Software Foundation
Packit d7e8d0
# gives unlimited permission to copy and/or distribute it,
Packit d7e8d0
# with or without modifications, as long as this notice is preserved.
Packit d7e8d0
Packit d7e8d0
# AM_MISSING_PROG(NAME, PROGRAM)
Packit d7e8d0
# ------------------------------
Packit d7e8d0
AC_DEFUN([AM_MISSING_PROG],
Packit d7e8d0
[AC_REQUIRE([AM_MISSING_HAS_RUN])
Packit d7e8d0
$1=${$1-"${am_missing_run}$2"}
Packit d7e8d0
AC_SUBST($1)])
Packit d7e8d0
Packit d7e8d0
# AM_MISSING_HAS_RUN
Packit d7e8d0
# ------------------
Packit d7e8d0
# Define MISSING if not defined so far and test if it is modern enough.
Packit d7e8d0
# If it is, set am_missing_run to use it, otherwise, to nothing.
Packit d7e8d0
AC_DEFUN([AM_MISSING_HAS_RUN],
Packit d7e8d0
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
Packit d7e8d0
AC_REQUIRE_AUX_FILE([missing])dnl
Packit d7e8d0
if test x"${MISSING+set}" != xset; then
Packit d7e8d0
  case $am_aux_dir in
Packit d7e8d0
  *\ * | *\	*)
Packit d7e8d0
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
Packit d7e8d0
  *)
Packit d7e8d0
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
Packit d7e8d0
  esac
Packit d7e8d0
fi
Packit d7e8d0
# Use eval to expand $SHELL
Packit d7e8d0
if eval "$MISSING --is-lightweight"; then
Packit d7e8d0
  am_missing_run="$MISSING "
Packit d7e8d0
else
Packit d7e8d0
  am_missing_run=
Packit d7e8d0
  AC_MSG_WARN(['missing' script is too old or missing])
Packit d7e8d0
fi
Packit d7e8d0
])
Packit d7e8d0
Packit d7e8d0
# Helper functions for option handling.                     -*- Autoconf -*-
Packit d7e8d0
Packit Service 30b792
# Copyright (C) 2001-2014 Free Software Foundation, Inc.
Packit d7e8d0
#
Packit d7e8d0
# This file is free software; the Free Software Foundation
Packit d7e8d0
# gives unlimited permission to copy and/or distribute it,
Packit d7e8d0
# with or without modifications, as long as this notice is preserved.
Packit d7e8d0
Packit d7e8d0
# _AM_MANGLE_OPTION(NAME)
Packit d7e8d0
# -----------------------
Packit d7e8d0
AC_DEFUN([_AM_MANGLE_OPTION],
Packit d7e8d0
[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
Packit d7e8d0
Packit d7e8d0
# _AM_SET_OPTION(NAME)
Packit d7e8d0
# --------------------
Packit d7e8d0
# Set option NAME.  Presently that only means defining a flag for this option.
Packit d7e8d0
AC_DEFUN([_AM_SET_OPTION],
Packit d7e8d0
[m4_define(_AM_MANGLE_OPTION([$1]), [1])])
Packit d7e8d0
Packit d7e8d0
# _AM_SET_OPTIONS(OPTIONS)
Packit d7e8d0
# ------------------------
Packit d7e8d0
# OPTIONS is a space-separated list of Automake options.
Packit d7e8d0
AC_DEFUN([_AM_SET_OPTIONS],
Packit d7e8d0
[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
Packit d7e8d0
Packit d7e8d0
# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
Packit d7e8d0
# -------------------------------------------
Packit d7e8d0
# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
Packit d7e8d0
AC_DEFUN([_AM_IF_OPTION],
Packit d7e8d0
[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
Packit d7e8d0
Packit Service 30b792
# Copyright (C) 1999-2014 Free Software Foundation, Inc.
Packit d7e8d0
#
Packit d7e8d0
# This file is free software; the Free Software Foundation
Packit d7e8d0
# gives unlimited permission to copy and/or distribute it,
Packit d7e8d0
# with or without modifications, as long as this notice is preserved.
Packit d7e8d0
Packit d7e8d0
# _AM_PROG_CC_C_O
Packit d7e8d0
# ---------------
Packit d7e8d0
# Like AC_PROG_CC_C_O, but changed for automake.  We rewrite AC_PROG_CC
Packit d7e8d0
# to automatically call this.
Packit d7e8d0
AC_DEFUN([_AM_PROG_CC_C_O],
Packit d7e8d0
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
Packit d7e8d0
AC_REQUIRE_AUX_FILE([compile])dnl
Packit d7e8d0
AC_LANG_PUSH([C])dnl
Packit d7e8d0
AC_CACHE_CHECK(
Packit d7e8d0
  [whether $CC understands -c and -o together],
Packit d7e8d0
  [am_cv_prog_cc_c_o],
Packit d7e8d0
  [AC_LANG_CONFTEST([AC_LANG_PROGRAM([])])
Packit d7e8d0
  # Make sure it works both with $CC and with simple cc.
Packit d7e8d0
  # Following AC_PROG_CC_C_O, we do the test twice because some
Packit d7e8d0
  # compilers refuse to overwrite an existing .o file with -o,
Packit d7e8d0
  # though they will create one.
Packit d7e8d0
  am_cv_prog_cc_c_o=yes
Packit d7e8d0
  for am_i in 1 2; do
Packit d7e8d0
    if AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext]) \
Packit d7e8d0
         && test -f conftest2.$ac_objext; then
Packit d7e8d0
      : OK
Packit d7e8d0
    else
Packit d7e8d0
      am_cv_prog_cc_c_o=no
Packit d7e8d0
      break
Packit d7e8d0
    fi
Packit d7e8d0
  done
Packit d7e8d0
  rm -f core conftest*
Packit d7e8d0
  unset am_i])
Packit d7e8d0
if test "$am_cv_prog_cc_c_o" != yes; then
Packit d7e8d0
   # Losing compiler, so override with the script.
Packit d7e8d0
   # FIXME: It is wrong to rewrite CC.
Packit d7e8d0
   # But if we don't then we get into trouble of one sort or another.
Packit d7e8d0
   # A longer-term fix would be to have automake use am__CC in this case,
Packit d7e8d0
   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
Packit d7e8d0
   CC="$am_aux_dir/compile $CC"
Packit d7e8d0
fi
Packit d7e8d0
AC_LANG_POP([C])])
Packit d7e8d0
Packit d7e8d0
# For backward compatibility.
Packit d7e8d0
AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])])
Packit d7e8d0
Packit Service 30b792
# Copyright (C) 2001-2014 Free Software Foundation, Inc.
Packit d7e8d0
#
Packit d7e8d0
# This file is free software; the Free Software Foundation
Packit d7e8d0
# gives unlimited permission to copy and/or distribute it,
Packit d7e8d0
# with or without modifications, as long as this notice is preserved.
Packit d7e8d0
Packit d7e8d0
# AM_RUN_LOG(COMMAND)
Packit d7e8d0
# -------------------
Packit d7e8d0
# Run COMMAND, save the exit status in ac_status, and log it.
Packit d7e8d0
# (This has been adapted from Autoconf's _AC_RUN_LOG macro.)
Packit d7e8d0
AC_DEFUN([AM_RUN_LOG],
Packit d7e8d0
[{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD
Packit d7e8d0
   ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD
Packit d7e8d0
   ac_status=$?
Packit d7e8d0
   echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
Packit d7e8d0
   (exit $ac_status); }])
Packit d7e8d0
Packit d7e8d0
# Check to make sure that the build environment is sane.    -*- Autoconf -*-
Packit d7e8d0
Packit Service 30b792
# Copyright (C) 1996-2014 Free Software Foundation, Inc.
Packit d7e8d0
#
Packit d7e8d0
# This file is free software; the Free Software Foundation
Packit d7e8d0
# gives unlimited permission to copy and/or distribute it,
Packit d7e8d0
# with or without modifications, as long as this notice is preserved.
Packit d7e8d0
Packit d7e8d0
# AM_SANITY_CHECK
Packit d7e8d0
# ---------------
Packit d7e8d0
AC_DEFUN([AM_SANITY_CHECK],
Packit d7e8d0
[AC_MSG_CHECKING([whether build environment is sane])
Packit d7e8d0
# Reject unsafe characters in $srcdir or the absolute working directory
Packit d7e8d0
# name.  Accept space and tab only in the latter.
Packit d7e8d0
am_lf='
Packit d7e8d0
'
Packit d7e8d0
case `pwd` in
Packit d7e8d0
  *[[\\\"\#\$\&\'\`$am_lf]]*)
Packit d7e8d0
    AC_MSG_ERROR([unsafe absolute working directory name]);;
Packit d7e8d0
esac
Packit d7e8d0
case $srcdir in
Packit d7e8d0
  *[[\\\"\#\$\&\'\`$am_lf\ \	]]*)
Packit d7e8d0
    AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);;
Packit d7e8d0
esac
Packit d7e8d0
Packit d7e8d0
# Do 'set' in a subshell so we don't clobber the current shell's
Packit d7e8d0
# arguments.  Must try -L first in case configure is actually a
Packit d7e8d0
# symlink; some systems play weird games with the mod time of symlinks
Packit d7e8d0
# (eg FreeBSD returns the mod time of the symlink's containing
Packit d7e8d0
# directory).
Packit d7e8d0
if (
Packit d7e8d0
   am_has_slept=no
Packit d7e8d0
   for am_try in 1 2; do
Packit d7e8d0
     echo "timestamp, slept: $am_has_slept" > conftest.file
Packit d7e8d0
     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
Packit d7e8d0
     if test "$[*]" = "X"; then
Packit d7e8d0
	# -L didn't work.
Packit d7e8d0
	set X `ls -t "$srcdir/configure" conftest.file`
Packit d7e8d0
     fi
Packit d7e8d0
     if test "$[*]" != "X $srcdir/configure conftest.file" \
Packit d7e8d0
	&& test "$[*]" != "X conftest.file $srcdir/configure"; then
Packit d7e8d0
Packit d7e8d0
	# If neither matched, then we have a broken ls.  This can happen
Packit d7e8d0
	# if, for instance, CONFIG_SHELL is bash and it inherits a
Packit d7e8d0
	# broken ls alias from the environment.  This has actually
Packit d7e8d0
	# happened.  Such a system could not be considered "sane".
Packit d7e8d0
	AC_MSG_ERROR([ls -t appears to fail.  Make sure there is not a broken
Packit d7e8d0
  alias in your environment])
Packit d7e8d0
     fi
Packit d7e8d0
     if test "$[2]" = conftest.file || test $am_try -eq 2; then
Packit d7e8d0
       break
Packit d7e8d0
     fi
Packit d7e8d0
     # Just in case.
Packit d7e8d0
     sleep 1
Packit d7e8d0
     am_has_slept=yes
Packit d7e8d0
   done
Packit d7e8d0
   test "$[2]" = conftest.file
Packit d7e8d0
   )
Packit d7e8d0
then
Packit d7e8d0
   # Ok.
Packit d7e8d0
   :
Packit d7e8d0
else
Packit d7e8d0
   AC_MSG_ERROR([newly created file is older than distributed files!
Packit d7e8d0
Check your system clock])
Packit d7e8d0
fi
Packit d7e8d0
AC_MSG_RESULT([yes])
Packit d7e8d0
# If we didn't sleep, we still need to ensure time stamps of config.status and
Packit d7e8d0
# generated files are strictly newer.
Packit d7e8d0
am_sleep_pid=
Packit d7e8d0
if grep 'slept: no' conftest.file >/dev/null 2>&1; then
Packit d7e8d0
  ( sleep 1 ) &
Packit d7e8d0
  am_sleep_pid=$!
Packit d7e8d0
fi
Packit d7e8d0
AC_CONFIG_COMMANDS_PRE(
Packit d7e8d0
  [AC_MSG_CHECKING([that generated files are newer than configure])
Packit d7e8d0
   if test -n "$am_sleep_pid"; then
Packit d7e8d0
     # Hide warnings about reused PIDs.
Packit d7e8d0
     wait $am_sleep_pid 2>/dev/null
Packit d7e8d0
   fi
Packit d7e8d0
   AC_MSG_RESULT([done])])
Packit d7e8d0
rm -f conftest.file
Packit d7e8d0
])
Packit d7e8d0
Packit Service 30b792
# Copyright (C) 2009-2014 Free Software Foundation, Inc.
Packit d7e8d0
#
Packit d7e8d0
# This file is free software; the Free Software Foundation
Packit d7e8d0
# gives unlimited permission to copy and/or distribute it,
Packit d7e8d0
# with or without modifications, as long as this notice is preserved.
Packit d7e8d0
Packit d7e8d0
# AM_SILENT_RULES([DEFAULT])
Packit d7e8d0
# --------------------------
Packit d7e8d0
# Enable less verbose build rules; with the default set to DEFAULT
Packit d7e8d0
# ("yes" being less verbose, "no" or empty being verbose).
Packit d7e8d0
AC_DEFUN([AM_SILENT_RULES],
Packit d7e8d0
[AC_ARG_ENABLE([silent-rules], [dnl
Packit d7e8d0
AS_HELP_STRING(
Packit d7e8d0
  [--enable-silent-rules],
Packit d7e8d0
  [less verbose build output (undo: "make V=1")])
Packit d7e8d0
AS_HELP_STRING(
Packit d7e8d0
  [--disable-silent-rules],
Packit d7e8d0
  [verbose build output (undo: "make V=0")])dnl
Packit d7e8d0
])
Packit d7e8d0
case $enable_silent_rules in @%:@ (((
Packit d7e8d0
  yes) AM_DEFAULT_VERBOSITY=0;;
Packit d7e8d0
   no) AM_DEFAULT_VERBOSITY=1;;
Packit d7e8d0
    *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
Packit d7e8d0
esac
Packit d7e8d0
dnl
Packit d7e8d0
dnl A few 'make' implementations (e.g., NonStop OS and NextStep)
Packit d7e8d0
dnl do not support nested variable expansions.
Packit d7e8d0
dnl See automake bug#9928 and bug#10237.
Packit d7e8d0
am_make=${MAKE-make}
Packit d7e8d0
AC_CACHE_CHECK([whether $am_make supports nested variables],
Packit d7e8d0
   [am_cv_make_support_nested_variables],
Packit d7e8d0
   [if AS_ECHO([['TRUE=$(BAR$(V))
Packit d7e8d0
BAR0=false
Packit d7e8d0
BAR1=true
Packit d7e8d0
V=1
Packit d7e8d0
am__doit:
Packit d7e8d0
	@$(TRUE)
Packit d7e8d0
.PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then
Packit d7e8d0
  am_cv_make_support_nested_variables=yes
Packit d7e8d0
else
Packit d7e8d0
  am_cv_make_support_nested_variables=no
Packit d7e8d0
fi])
Packit d7e8d0
if test $am_cv_make_support_nested_variables = yes; then
Packit d7e8d0
  dnl Using '$V' instead of '$(V)' breaks IRIX make.
Packit d7e8d0
  AM_V='$(V)'
Packit d7e8d0
  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
Packit d7e8d0
else
Packit d7e8d0
  AM_V=$AM_DEFAULT_VERBOSITY
Packit d7e8d0
  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
Packit d7e8d0
fi
Packit d7e8d0
AC_SUBST([AM_V])dnl
Packit d7e8d0
AM_SUBST_NOTMAKE([AM_V])dnl
Packit d7e8d0
AC_SUBST([AM_DEFAULT_V])dnl
Packit d7e8d0
AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl
Packit d7e8d0
AC_SUBST([AM_DEFAULT_VERBOSITY])dnl
Packit d7e8d0
AM_BACKSLASH='\'
Packit d7e8d0
AC_SUBST([AM_BACKSLASH])dnl
Packit d7e8d0
_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
Packit d7e8d0
])
Packit d7e8d0
Packit Service 30b792
# Copyright (C) 2001-2014 Free Software Foundation, Inc.
Packit d7e8d0
#
Packit d7e8d0
# This file is free software; the Free Software Foundation
Packit d7e8d0
# gives unlimited permission to copy and/or distribute it,
Packit d7e8d0
# with or without modifications, as long as this notice is preserved.
Packit d7e8d0
Packit d7e8d0
# AM_PROG_INSTALL_STRIP
Packit d7e8d0
# ---------------------
Packit d7e8d0
# One issue with vendor 'install' (even GNU) is that you can't
Packit d7e8d0
# specify the program used to strip binaries.  This is especially
Packit d7e8d0
# annoying in cross-compiling environments, where the build's strip
Packit d7e8d0
# is unlikely to handle the host's binaries.
Packit d7e8d0
# Fortunately install-sh will honor a STRIPPROG variable, so we
Packit d7e8d0
# always use install-sh in "make install-strip", and initialize
Packit d7e8d0
# STRIPPROG with the value of the STRIP variable (set by the user).
Packit d7e8d0
AC_DEFUN([AM_PROG_INSTALL_STRIP],
Packit d7e8d0
[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
Packit d7e8d0
# Installed binaries are usually stripped using 'strip' when the user
Packit d7e8d0
# run "make install-strip".  However 'strip' might not be the right
Packit d7e8d0
# tool to use in cross-compilation environments, therefore Automake
Packit d7e8d0
# will honor the 'STRIP' environment variable to overrule this program.
Packit d7e8d0
dnl Don't test for $cross_compiling = yes, because it might be 'maybe'.
Packit d7e8d0
if test "$cross_compiling" != no; then
Packit d7e8d0
  AC_CHECK_TOOL([STRIP], [strip], :)
Packit d7e8d0
fi
Packit d7e8d0
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
Packit d7e8d0
AC_SUBST([INSTALL_STRIP_PROGRAM])])
Packit d7e8d0
Packit Service 30b792
# Copyright (C) 2006-2014 Free Software Foundation, Inc.
Packit d7e8d0
#
Packit d7e8d0
# This file is free software; the Free Software Foundation
Packit d7e8d0
# gives unlimited permission to copy and/or distribute it,
Packit d7e8d0
# with or without modifications, as long as this notice is preserved.
Packit d7e8d0
Packit d7e8d0
# _AM_SUBST_NOTMAKE(VARIABLE)
Packit d7e8d0
# ---------------------------
Packit d7e8d0
# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
Packit d7e8d0
# This macro is traced by Automake.
Packit d7e8d0
AC_DEFUN([_AM_SUBST_NOTMAKE])
Packit d7e8d0
Packit d7e8d0
# AM_SUBST_NOTMAKE(VARIABLE)
Packit d7e8d0
# --------------------------
Packit d7e8d0
# Public sister of _AM_SUBST_NOTMAKE.
Packit d7e8d0
AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
Packit d7e8d0
Packit d7e8d0
# Check how to create a tarball.                            -*- Autoconf -*-
Packit d7e8d0
Packit Service 30b792
# Copyright (C) 2004-2014 Free Software Foundation, Inc.
Packit d7e8d0
#
Packit d7e8d0
# This file is free software; the Free Software Foundation
Packit d7e8d0
# gives unlimited permission to copy and/or distribute it,
Packit d7e8d0
# with or without modifications, as long as this notice is preserved.
Packit d7e8d0
Packit d7e8d0
# _AM_PROG_TAR(FORMAT)
Packit d7e8d0
# --------------------
Packit d7e8d0
# Check how to create a tarball in format FORMAT.
Packit d7e8d0
# FORMAT should be one of 'v7', 'ustar', or 'pax'.
Packit d7e8d0
#
Packit d7e8d0
# Substitute a variable $(am__tar) that is a command
Packit d7e8d0
# writing to stdout a FORMAT-tarball containing the directory
Packit d7e8d0
# $tardir.
Packit d7e8d0
#     tardir=directory && $(am__tar) > result.tar
Packit d7e8d0
#
Packit d7e8d0
# Substitute a variable $(am__untar) that extract such
Packit d7e8d0
# a tarball read from stdin.
Packit d7e8d0
#     $(am__untar) < result.tar
Packit d7e8d0
#
Packit d7e8d0
AC_DEFUN([_AM_PROG_TAR],
Packit d7e8d0
[# Always define AMTAR for backward compatibility.  Yes, it's still used
Packit d7e8d0
# in the wild :-(  We should find a proper way to deprecate it ...
Packit d7e8d0
AC_SUBST([AMTAR], ['$${TAR-tar}'])
Packit d7e8d0
Packit d7e8d0
# We'll loop over all known methods to create a tar archive until one works.
Packit d7e8d0
_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
Packit d7e8d0
Packit d7e8d0
m4_if([$1], [v7],
Packit d7e8d0
  [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
Packit d7e8d0
Packit d7e8d0
  [m4_case([$1],
Packit d7e8d0
    [ustar],
Packit d7e8d0
     [# The POSIX 1988 'ustar' format is defined with fixed-size fields.
Packit d7e8d0
      # There is notably a 21 bits limit for the UID and the GID.  In fact,
Packit d7e8d0
      # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
Packit d7e8d0
      # and bug#13588).
Packit d7e8d0
      am_max_uid=2097151 # 2^21 - 1
Packit d7e8d0
      am_max_gid=$am_max_uid
Packit d7e8d0
      # The $UID and $GID variables are not portable, so we need to resort
Packit d7e8d0
      # to the POSIX-mandated id(1) utility.  Errors in the 'id' calls
Packit d7e8d0
      # below are definitely unexpected, so allow the users to see them
Packit d7e8d0
      # (that is, avoid stderr redirection).
Packit d7e8d0
      am_uid=`id -u || echo unknown`
Packit d7e8d0
      am_gid=`id -g || echo unknown`
Packit d7e8d0
      AC_MSG_CHECKING([whether UID '$am_uid' is supported by ustar format])
Packit d7e8d0
      if test $am_uid -le $am_max_uid; then
Packit d7e8d0
         AC_MSG_RESULT([yes])
Packit d7e8d0
      else
Packit d7e8d0
         AC_MSG_RESULT([no])
Packit d7e8d0
         _am_tools=none
Packit d7e8d0
      fi
Packit d7e8d0
      AC_MSG_CHECKING([whether GID '$am_gid' is supported by ustar format])
Packit d7e8d0
      if test $am_gid -le $am_max_gid; then
Packit d7e8d0
         AC_MSG_RESULT([yes])
Packit d7e8d0
      else
Packit d7e8d0
        AC_MSG_RESULT([no])
Packit d7e8d0
        _am_tools=none
Packit d7e8d0
      fi],
Packit d7e8d0
Packit d7e8d0
  [pax],
Packit d7e8d0
    [],
Packit d7e8d0
Packit d7e8d0
  [m4_fatal([Unknown tar format])])
Packit d7e8d0
Packit d7e8d0
  AC_MSG_CHECKING([how to create a $1 tar archive])
Packit d7e8d0
Packit d7e8d0
  # Go ahead even if we have the value already cached.  We do so because we
Packit d7e8d0
  # need to set the values for the 'am__tar' and 'am__untar' variables.
Packit d7e8d0
  _am_tools=${am_cv_prog_tar_$1-$_am_tools}
Packit d7e8d0
Packit d7e8d0
  for _am_tool in $_am_tools; do
Packit d7e8d0
    case $_am_tool in
Packit d7e8d0
    gnutar)
Packit d7e8d0
      for _am_tar in tar gnutar gtar; do
Packit d7e8d0
        AM_RUN_LOG([$_am_tar --version]) && break
Packit d7e8d0
      done
Packit d7e8d0
      am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
Packit d7e8d0
      am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
Packit d7e8d0
      am__untar="$_am_tar -xf -"
Packit d7e8d0
      ;;
Packit d7e8d0
    plaintar)
Packit d7e8d0
      # Must skip GNU tar: if it does not support --format= it doesn't create
Packit d7e8d0
      # ustar tarball either.
Packit d7e8d0
      (tar --version) >/dev/null 2>&1 && continue
Packit d7e8d0
      am__tar='tar chf - "$$tardir"'
Packit d7e8d0
      am__tar_='tar chf - "$tardir"'
Packit d7e8d0
      am__untar='tar xf -'
Packit d7e8d0
      ;;
Packit d7e8d0
    pax)
Packit d7e8d0
      am__tar='pax -L -x $1 -w "$$tardir"'
Packit d7e8d0
      am__tar_='pax -L -x $1 -w "$tardir"'
Packit d7e8d0
      am__untar='pax -r'
Packit d7e8d0
      ;;
Packit d7e8d0
    cpio)
Packit d7e8d0
      am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
Packit d7e8d0
      am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
Packit d7e8d0
      am__untar='cpio -i -H $1 -d'
Packit d7e8d0
      ;;
Packit d7e8d0
    none)
Packit d7e8d0
      am__tar=false
Packit d7e8d0
      am__tar_=false
Packit d7e8d0
      am__untar=false
Packit d7e8d0
      ;;
Packit d7e8d0
    esac
Packit d7e8d0
Packit d7e8d0
    # If the value was cached, stop now.  We just wanted to have am__tar
Packit d7e8d0
    # and am__untar set.
Packit d7e8d0
    test -n "${am_cv_prog_tar_$1}" && break
Packit d7e8d0
Packit d7e8d0
    # tar/untar a dummy directory, and stop if the command works.
Packit d7e8d0
    rm -rf conftest.dir
Packit d7e8d0
    mkdir conftest.dir
Packit d7e8d0
    echo GrepMe > conftest.dir/file
Packit d7e8d0
    AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
Packit d7e8d0
    rm -rf conftest.dir
Packit d7e8d0
    if test -s conftest.tar; then
Packit d7e8d0
      AM_RUN_LOG([$am__untar 
Packit d7e8d0
      AM_RUN_LOG([cat conftest.dir/file])
Packit d7e8d0
      grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
Packit d7e8d0
    fi
Packit d7e8d0
  done
Packit d7e8d0
  rm -rf conftest.dir
Packit d7e8d0
Packit d7e8d0
  AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
Packit d7e8d0
  AC_MSG_RESULT([$am_cv_prog_tar_$1])])
Packit d7e8d0
Packit d7e8d0
AC_SUBST([am__tar])
Packit d7e8d0
AC_SUBST([am__untar])
Packit d7e8d0
]) # _AM_PROG_TAR
Packit d7e8d0
Packit d7e8d0
m4_include([m4/ax_cxx_compile_stdcxx.m4])
Packit d7e8d0
m4_include([m4/ax_pkg_swig.m4])
Packit d7e8d0
m4_include([m4/ax_python_devel.m4])
Packit d7e8d0
m4_include([m4/glib-2.0.m4])
Packit d7e8d0
m4_include([m4/glibc21.m4])
Packit d7e8d0
m4_include([m4/gnupg-ttyname.m4])
Packit d7e8d0
m4_include([m4/gpg-error.m4])
Packit d7e8d0
m4_include([m4/libassuan.m4])
Packit d7e8d0
m4_include([m4/libtool.m4])
Packit d7e8d0
m4_include([m4/ltoptions.m4])
Packit d7e8d0
m4_include([m4/ltsugar.m4])
Packit d7e8d0
m4_include([m4/ltversion.m4])
Packit d7e8d0
m4_include([m4/lt~obsolete.m4])
Packit d7e8d0
m4_include([m4/pkg.m4])
Packit d7e8d0
m4_include([m4/python.m4])
Packit d7e8d0
m4_include([m4/qt.m4])
Packit d7e8d0
m4_include([acinclude.m4])