Blame aclocal.m4

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