Blame aclocal.m4

Packit 9795e1
# generated automatically by aclocal 1.15.1 -*- Autoconf -*-
Packit 9795e1
Packit 9795e1
# Copyright (C) 1996-2017 Free Software Foundation, Inc.
Packit 9795e1
Packit 9795e1
# This file is free software; the Free Software Foundation
Packit 9795e1
# gives unlimited permission to copy and/or distribute it,
Packit 9795e1
# with or without modifications, as long as this notice is preserved.
Packit 9795e1
Packit 9795e1
# This program is distributed in the hope that it will be useful,
Packit 9795e1
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
Packit 9795e1
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
Packit 9795e1
# PARTICULAR PURPOSE.
Packit 9795e1
Packit 9795e1
m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])])
Packit 9795e1
m4_ifndef([AC_AUTOCONF_VERSION],
Packit 9795e1
  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
Packit 9795e1
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],,
Packit 9795e1
[m4_warning([this file was generated for autoconf 2.69.
Packit 9795e1
You have another version of autoconf.  It may work, but is not guaranteed to.
Packit 9795e1
If you have problems, you may need to regenerate the build system entirely.
Packit 9795e1
To do so, use the procedure documented by the package, typically 'autoreconf'.])])
Packit 9795e1
Packit 9795e1
# Copyright (C) 2002-2017 Free Software Foundation, Inc.
Packit 9795e1
#
Packit 9795e1
# This file is free software; the Free Software Foundation
Packit 9795e1
# gives unlimited permission to copy and/or distribute it,
Packit 9795e1
# with or without modifications, as long as this notice is preserved.
Packit 9795e1
Packit 9795e1
# AM_AUTOMAKE_VERSION(VERSION)
Packit 9795e1
# ----------------------------
Packit 9795e1
# Automake X.Y traces this macro to ensure aclocal.m4 has been
Packit 9795e1
# generated from the m4 files accompanying Automake X.Y.
Packit 9795e1
# (This private macro should not be called outside this file.)
Packit 9795e1
AC_DEFUN([AM_AUTOMAKE_VERSION],
Packit 9795e1
[am__api_version='1.15'
Packit 9795e1
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
Packit 9795e1
dnl require some minimum version.  Point them to the right macro.
Packit 9795e1
m4_if([$1], [1.15.1], [],
Packit 9795e1
      [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
Packit 9795e1
])
Packit 9795e1
Packit 9795e1
# _AM_AUTOCONF_VERSION(VERSION)
Packit 9795e1
# -----------------------------
Packit 9795e1
# aclocal traces this macro to find the Autoconf version.
Packit 9795e1
# This is a private macro too.  Using m4_define simplifies
Packit 9795e1
# the logic in aclocal, which can simply ignore this definition.
Packit 9795e1
m4_define([_AM_AUTOCONF_VERSION], [])
Packit 9795e1
Packit 9795e1
# AM_SET_CURRENT_AUTOMAKE_VERSION
Packit 9795e1
# -------------------------------
Packit 9795e1
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
Packit 9795e1
# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
Packit 9795e1
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
Packit 9795e1
[AM_AUTOMAKE_VERSION([1.15.1])dnl
Packit 9795e1
m4_ifndef([AC_AUTOCONF_VERSION],
Packit 9795e1
  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
Packit 9795e1
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
Packit 9795e1
Packit 9795e1
# AM_AUX_DIR_EXPAND                                         -*- Autoconf -*-
Packit 9795e1
Packit 9795e1
# Copyright (C) 2001-2017 Free Software Foundation, Inc.
Packit 9795e1
#
Packit 9795e1
# This file is free software; the Free Software Foundation
Packit 9795e1
# gives unlimited permission to copy and/or distribute it,
Packit 9795e1
# with or without modifications, as long as this notice is preserved.
Packit 9795e1
Packit 9795e1
# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
Packit 9795e1
# $ac_aux_dir to '$srcdir/foo'.  In other projects, it is set to
Packit 9795e1
# '$srcdir', '$srcdir/..', or '$srcdir/../..'.
Packit 9795e1
#
Packit 9795e1
# Of course, Automake must honor this variable whenever it calls a
Packit 9795e1
# tool from the auxiliary directory.  The problem is that $srcdir (and
Packit 9795e1
# therefore $ac_aux_dir as well) can be either absolute or relative,
Packit 9795e1
# depending on how configure is run.  This is pretty annoying, since
Packit 9795e1
# it makes $ac_aux_dir quite unusable in subdirectories: in the top
Packit 9795e1
# source directory, any form will work fine, but in subdirectories a
Packit 9795e1
# relative path needs to be adjusted first.
Packit 9795e1
#
Packit 9795e1
# $ac_aux_dir/missing
Packit 9795e1
#    fails when called from a subdirectory if $ac_aux_dir is relative
Packit 9795e1
# $top_srcdir/$ac_aux_dir/missing
Packit 9795e1
#    fails if $ac_aux_dir is absolute,
Packit 9795e1
#    fails when called from a subdirectory in a VPATH build with
Packit 9795e1
#          a relative $ac_aux_dir
Packit 9795e1
#
Packit 9795e1
# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
Packit 9795e1
# are both prefixed by $srcdir.  In an in-source build this is usually
Packit 9795e1
# harmless because $srcdir is '.', but things will broke when you
Packit 9795e1
# start a VPATH build or use an absolute $srcdir.
Packit 9795e1
#
Packit 9795e1
# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
Packit 9795e1
# iff we strip the leading $srcdir from $ac_aux_dir.  That would be:
Packit 9795e1
#   am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
Packit 9795e1
# and then we would define $MISSING as
Packit 9795e1
#   MISSING="\${SHELL} $am_aux_dir/missing"
Packit 9795e1
# This will work as long as MISSING is not called from configure, because
Packit 9795e1
# unfortunately $(top_srcdir) has no meaning in configure.
Packit 9795e1
# However there are other variables, like CC, which are often used in
Packit 9795e1
# configure, and could therefore not use this "fixed" $ac_aux_dir.
Packit 9795e1
#
Packit 9795e1
# Another solution, used here, is to always expand $ac_aux_dir to an
Packit 9795e1
# absolute PATH.  The drawback is that using absolute paths prevent a
Packit 9795e1
# configured tree to be moved without reconfiguration.
Packit 9795e1
Packit 9795e1
AC_DEFUN([AM_AUX_DIR_EXPAND],
Packit 9795e1
[AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
Packit 9795e1
# Expand $ac_aux_dir to an absolute path.
Packit 9795e1
am_aux_dir=`cd "$ac_aux_dir" && pwd`
Packit 9795e1
])
Packit 9795e1
Packit 9795e1
# AM_CONDITIONAL                                            -*- Autoconf -*-
Packit 9795e1
Packit 9795e1
# Copyright (C) 1997-2017 Free Software Foundation, Inc.
Packit 9795e1
#
Packit 9795e1
# This file is free software; the Free Software Foundation
Packit 9795e1
# gives unlimited permission to copy and/or distribute it,
Packit 9795e1
# with or without modifications, as long as this notice is preserved.
Packit 9795e1
Packit 9795e1
# AM_CONDITIONAL(NAME, SHELL-CONDITION)
Packit 9795e1
# -------------------------------------
Packit 9795e1
# Define a conditional.
Packit 9795e1
AC_DEFUN([AM_CONDITIONAL],
Packit 9795e1
[AC_PREREQ([2.52])dnl
Packit 9795e1
 m4_if([$1], [TRUE],  [AC_FATAL([$0: invalid condition: $1])],
Packit 9795e1
       [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
Packit 9795e1
AC_SUBST([$1_TRUE])dnl
Packit 9795e1
AC_SUBST([$1_FALSE])dnl
Packit 9795e1
_AM_SUBST_NOTMAKE([$1_TRUE])dnl
Packit 9795e1
_AM_SUBST_NOTMAKE([$1_FALSE])dnl
Packit 9795e1
m4_define([_AM_COND_VALUE_$1], [$2])dnl
Packit 9795e1
if $2; then
Packit 9795e1
  $1_TRUE=
Packit 9795e1
  $1_FALSE='#'
Packit 9795e1
else
Packit 9795e1
  $1_TRUE='#'
Packit 9795e1
  $1_FALSE=
Packit 9795e1
fi
Packit 9795e1
AC_CONFIG_COMMANDS_PRE(
Packit 9795e1
[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
Packit 9795e1
  AC_MSG_ERROR([[conditional "$1" was never defined.
Packit 9795e1
Usually this means the macro was only invoked conditionally.]])
Packit 9795e1
fi])])
Packit 9795e1
Packit 9795e1
# Copyright (C) 1999-2017 Free Software Foundation, Inc.
Packit 9795e1
#
Packit 9795e1
# This file is free software; the Free Software Foundation
Packit 9795e1
# gives unlimited permission to copy and/or distribute it,
Packit 9795e1
# with or without modifications, as long as this notice is preserved.
Packit 9795e1
Packit 9795e1
Packit 9795e1
# There are a few dirty hacks below to avoid letting 'AC_PROG_CC' be
Packit 9795e1
# written in clear, in which case automake, when reading aclocal.m4,
Packit 9795e1
# will think it sees a *use*, and therefore will trigger all it's
Packit 9795e1
# C support machinery.  Also note that it means that autoscan, seeing
Packit 9795e1
# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
Packit 9795e1
Packit 9795e1
Packit 9795e1
# _AM_DEPENDENCIES(NAME)
Packit 9795e1
# ----------------------
Packit 9795e1
# See how the compiler implements dependency checking.
Packit 9795e1
# NAME is "CC", "CXX", "OBJC", "OBJCXX", "UPC", or "GJC".
Packit 9795e1
# We try a few techniques and use that to set a single cache variable.
Packit 9795e1
#
Packit 9795e1
# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
Packit 9795e1
# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
Packit 9795e1
# dependency, and given that the user is not expected to run this macro,
Packit 9795e1
# just rely on AC_PROG_CC.
Packit 9795e1
AC_DEFUN([_AM_DEPENDENCIES],
Packit 9795e1
[AC_REQUIRE([AM_SET_DEPDIR])dnl
Packit 9795e1
AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
Packit 9795e1
AC_REQUIRE([AM_MAKE_INCLUDE])dnl
Packit 9795e1
AC_REQUIRE([AM_DEP_TRACK])dnl
Packit 9795e1
Packit 9795e1
m4_if([$1], [CC],   [depcc="$CC"   am_compiler_list=],
Packit 9795e1
      [$1], [CXX],  [depcc="$CXX"  am_compiler_list=],
Packit 9795e1
      [$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
Packit 9795e1
      [$1], [OBJCXX], [depcc="$OBJCXX" am_compiler_list='gcc3 gcc'],
Packit 9795e1
      [$1], [UPC],  [depcc="$UPC"  am_compiler_list=],
Packit 9795e1
      [$1], [GCJ],  [depcc="$GCJ"  am_compiler_list='gcc3 gcc'],
Packit 9795e1
                    [depcc="$$1"   am_compiler_list=])
Packit 9795e1
Packit 9795e1
AC_CACHE_CHECK([dependency style of $depcc],
Packit 9795e1
               [am_cv_$1_dependencies_compiler_type],
Packit 9795e1
[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
Packit 9795e1
  # We make a subdir and do the tests there.  Otherwise we can end up
Packit 9795e1
  # making bogus files that we don't know about and never remove.  For
Packit 9795e1
  # instance it was reported that on HP-UX the gcc test will end up
Packit 9795e1
  # making a dummy file named 'D' -- because '-MD' means "put the output
Packit 9795e1
  # in D".
Packit 9795e1
  rm -rf conftest.dir
Packit 9795e1
  mkdir conftest.dir
Packit 9795e1
  # Copy depcomp to subdir because otherwise we won't find it if we're
Packit 9795e1
  # using a relative directory.
Packit 9795e1
  cp "$am_depcomp" conftest.dir
Packit 9795e1
  cd conftest.dir
Packit 9795e1
  # We will build objects and dependencies in a subdirectory because
Packit 9795e1
  # it helps to detect inapplicable dependency modes.  For instance
Packit 9795e1
  # both Tru64's cc and ICC support -MD to output dependencies as a
Packit 9795e1
  # side effect of compilation, but ICC will put the dependencies in
Packit 9795e1
  # the current directory while Tru64 will put them in the object
Packit 9795e1
  # directory.
Packit 9795e1
  mkdir sub
Packit 9795e1
Packit 9795e1
  am_cv_$1_dependencies_compiler_type=none
Packit 9795e1
  if test "$am_compiler_list" = ""; then
Packit 9795e1
     am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
Packit 9795e1
  fi
Packit 9795e1
  am__universal=false
Packit 9795e1
  m4_case([$1], [CC],
Packit 9795e1
    [case " $depcc " in #(
Packit 9795e1
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
Packit 9795e1
     esac],
Packit 9795e1
    [CXX],
Packit 9795e1
    [case " $depcc " in #(
Packit 9795e1
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
Packit 9795e1
     esac])
Packit 9795e1
Packit 9795e1
  for depmode in $am_compiler_list; do
Packit 9795e1
    # Setup a source with many dependencies, because some compilers
Packit 9795e1
    # like to wrap large dependency lists on column 80 (with \), and
Packit 9795e1
    # we should not choose a depcomp mode which is confused by this.
Packit 9795e1
    #
Packit 9795e1
    # We need to recreate these files for each test, as the compiler may
Packit 9795e1
    # overwrite some of them when testing with obscure command lines.
Packit 9795e1
    # This happens at least with the AIX C compiler.
Packit 9795e1
    : > sub/conftest.c
Packit 9795e1
    for i in 1 2 3 4 5 6; do
Packit 9795e1
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
Packit 9795e1
      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
Packit 9795e1
      # Solaris 10 /bin/sh.
Packit 9795e1
      echo '/* dummy */' > sub/conftst$i.h
Packit 9795e1
    done
Packit 9795e1
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
Packit 9795e1
Packit 9795e1
    # We check with '-c' and '-o' for the sake of the "dashmstdout"
Packit 9795e1
    # mode.  It turns out that the SunPro C++ compiler does not properly
Packit 9795e1
    # handle '-M -o', and we need to detect this.  Also, some Intel
Packit 9795e1
    # versions had trouble with output in subdirs.
Packit 9795e1
    am__obj=sub/conftest.${OBJEXT-o}
Packit 9795e1
    am__minus_obj="-o $am__obj"
Packit 9795e1
    case $depmode in
Packit 9795e1
    gcc)
Packit 9795e1
      # This depmode causes a compiler race in universal mode.
Packit 9795e1
      test "$am__universal" = false || continue
Packit 9795e1
      ;;
Packit 9795e1
    nosideeffect)
Packit 9795e1
      # After this tag, mechanisms are not by side-effect, so they'll
Packit 9795e1
      # only be used when explicitly requested.
Packit 9795e1
      if test "x$enable_dependency_tracking" = xyes; then
Packit 9795e1
	continue
Packit 9795e1
      else
Packit 9795e1
	break
Packit 9795e1
      fi
Packit 9795e1
      ;;
Packit 9795e1
    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
Packit 9795e1
      # This compiler won't grok '-c -o', but also, the minuso test has
Packit 9795e1
      # not run yet.  These depmodes are late enough in the game, and
Packit 9795e1
      # so weak that their functioning should not be impacted.
Packit 9795e1
      am__obj=conftest.${OBJEXT-o}
Packit 9795e1
      am__minus_obj=
Packit 9795e1
      ;;
Packit 9795e1
    none) break ;;
Packit 9795e1
    esac
Packit 9795e1
    if depmode=$depmode \
Packit 9795e1
       source=sub/conftest.c object=$am__obj \
Packit 9795e1
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
Packit 9795e1
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
Packit 9795e1
         >/dev/null 2>conftest.err &&
Packit 9795e1
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
Packit 9795e1
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
Packit 9795e1
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
Packit 9795e1
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
Packit 9795e1
      # icc doesn't choke on unknown options, it will just issue warnings
Packit 9795e1
      # or remarks (even with -Werror).  So we grep stderr for any message
Packit 9795e1
      # that says an option was ignored or not supported.
Packit 9795e1
      # When given -MP, icc 7.0 and 7.1 complain thusly:
Packit 9795e1
      #   icc: Command line warning: ignoring option '-M'; no argument required
Packit 9795e1
      # The diagnosis changed in icc 8.0:
Packit 9795e1
      #   icc: Command line remark: option '-MP' not supported
Packit 9795e1
      if (grep 'ignoring option' conftest.err ||
Packit 9795e1
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
Packit 9795e1
        am_cv_$1_dependencies_compiler_type=$depmode
Packit 9795e1
        break
Packit 9795e1
      fi
Packit 9795e1
    fi
Packit 9795e1
  done
Packit 9795e1
Packit 9795e1
  cd ..
Packit 9795e1
  rm -rf conftest.dir
Packit 9795e1
else
Packit 9795e1
  am_cv_$1_dependencies_compiler_type=none
Packit 9795e1
fi
Packit 9795e1
])
Packit 9795e1
AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
Packit 9795e1
AM_CONDITIONAL([am__fastdep$1], [
Packit 9795e1
  test "x$enable_dependency_tracking" != xno \
Packit 9795e1
  && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
Packit 9795e1
])
Packit 9795e1
Packit 9795e1
Packit 9795e1
# AM_SET_DEPDIR
Packit 9795e1
# -------------
Packit 9795e1
# Choose a directory name for dependency files.
Packit 9795e1
# This macro is AC_REQUIREd in _AM_DEPENDENCIES.
Packit 9795e1
AC_DEFUN([AM_SET_DEPDIR],
Packit 9795e1
[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
Packit 9795e1
AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
Packit 9795e1
])
Packit 9795e1
Packit 9795e1
Packit 9795e1
# AM_DEP_TRACK
Packit 9795e1
# ------------
Packit 9795e1
AC_DEFUN([AM_DEP_TRACK],
Packit 9795e1
[AC_ARG_ENABLE([dependency-tracking], [dnl
Packit 9795e1
AS_HELP_STRING(
Packit 9795e1
  [--enable-dependency-tracking],
Packit 9795e1
  [do not reject slow dependency extractors])
Packit 9795e1
AS_HELP_STRING(
Packit 9795e1
  [--disable-dependency-tracking],
Packit 9795e1
  [speeds up one-time build])])
Packit 9795e1
if test "x$enable_dependency_tracking" != xno; then
Packit 9795e1
  am_depcomp="$ac_aux_dir/depcomp"
Packit 9795e1
  AMDEPBACKSLASH='\'
Packit 9795e1
  am__nodep='_no'
Packit 9795e1
fi
Packit 9795e1
AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
Packit 9795e1
AC_SUBST([AMDEPBACKSLASH])dnl
Packit 9795e1
_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
Packit 9795e1
AC_SUBST([am__nodep])dnl
Packit 9795e1
_AM_SUBST_NOTMAKE([am__nodep])dnl
Packit 9795e1
])
Packit 9795e1
Packit 9795e1
# Generate code to set up dependency tracking.              -*- Autoconf -*-
Packit 9795e1
Packit 9795e1
# Copyright (C) 1999-2017 Free Software Foundation, Inc.
Packit 9795e1
#
Packit 9795e1
# This file is free software; the Free Software Foundation
Packit 9795e1
# gives unlimited permission to copy and/or distribute it,
Packit 9795e1
# with or without modifications, as long as this notice is preserved.
Packit 9795e1
Packit 9795e1
Packit 9795e1
# _AM_OUTPUT_DEPENDENCY_COMMANDS
Packit 9795e1
# ------------------------------
Packit 9795e1
AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
Packit 9795e1
[{
Packit 9795e1
  # Older Autoconf quotes --file arguments for eval, but not when files
Packit 9795e1
  # are listed without --file.  Let's play safe and only enable the eval
Packit 9795e1
  # if we detect the quoting.
Packit 9795e1
  case $CONFIG_FILES in
Packit 9795e1
  *\'*) eval set x "$CONFIG_FILES" ;;
Packit 9795e1
  *)   set x $CONFIG_FILES ;;
Packit 9795e1
  esac
Packit 9795e1
  shift
Packit 9795e1
  for mf
Packit 9795e1
  do
Packit 9795e1
    # Strip MF so we end up with the name of the file.
Packit 9795e1
    mf=`echo "$mf" | sed -e 's/:.*$//'`
Packit 9795e1
    # Check whether this is an Automake generated Makefile or not.
Packit 9795e1
    # We used to match only the files named 'Makefile.in', but
Packit 9795e1
    # some people rename them; so instead we look at the file content.
Packit 9795e1
    # Grep'ing the first line is not enough: some people post-process
Packit 9795e1
    # each Makefile.in and add a new line on top of each file to say so.
Packit 9795e1
    # Grep'ing the whole file is not good either: AIX grep has a line
Packit 9795e1
    # limit of 2048, but all sed's we know have understand at least 4000.
Packit 9795e1
    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
Packit 9795e1
      dirpart=`AS_DIRNAME("$mf")`
Packit 9795e1
    else
Packit 9795e1
      continue
Packit 9795e1
    fi
Packit 9795e1
    # Extract the definition of DEPDIR, am__include, and am__quote
Packit 9795e1
    # from the Makefile without running 'make'.
Packit 9795e1
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
Packit 9795e1
    test -z "$DEPDIR" && continue
Packit 9795e1
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
Packit 9795e1
    test -z "$am__include" && continue
Packit 9795e1
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
Packit 9795e1
    # Find all dependency output files, they are included files with
Packit 9795e1
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
Packit 9795e1
    # simplest approach to changing $(DEPDIR) to its actual value in the
Packit 9795e1
    # expansion.
Packit 9795e1
    for file in `sed -n "
Packit 9795e1
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
Packit 9795e1
	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
Packit 9795e1
      # Make sure the directory exists.
Packit 9795e1
      test -f "$dirpart/$file" && continue
Packit 9795e1
      fdir=`AS_DIRNAME(["$file"])`
Packit 9795e1
      AS_MKDIR_P([$dirpart/$fdir])
Packit 9795e1
      # echo "creating $dirpart/$file"
Packit 9795e1
      echo '# dummy' > "$dirpart/$file"
Packit 9795e1
    done
Packit 9795e1
  done
Packit 9795e1
}
Packit 9795e1
])# _AM_OUTPUT_DEPENDENCY_COMMANDS
Packit 9795e1
Packit 9795e1
Packit 9795e1
# AM_OUTPUT_DEPENDENCY_COMMANDS
Packit 9795e1
# -----------------------------
Packit 9795e1
# This macro should only be invoked once -- use via AC_REQUIRE.
Packit 9795e1
#
Packit 9795e1
# This code is only required when automatic dependency tracking
Packit 9795e1
# is enabled.  FIXME.  This creates each '.P' file that we will
Packit 9795e1
# need in order to bootstrap the dependency handling code.
Packit 9795e1
AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
Packit 9795e1
[AC_CONFIG_COMMANDS([depfiles],
Packit 9795e1
     [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
Packit 9795e1
     [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
Packit 9795e1
])
Packit 9795e1
Packit 9795e1
# Do all the work for Automake.                             -*- Autoconf -*-
Packit 9795e1
Packit 9795e1
# Copyright (C) 1996-2017 Free Software Foundation, Inc.
Packit 9795e1
#
Packit 9795e1
# This file is free software; the Free Software Foundation
Packit 9795e1
# gives unlimited permission to copy and/or distribute it,
Packit 9795e1
# with or without modifications, as long as this notice is preserved.
Packit 9795e1
Packit 9795e1
# This macro actually does too much.  Some checks are only needed if
Packit 9795e1
# your package does certain things.  But this isn't really a big deal.
Packit 9795e1
Packit 9795e1
dnl Redefine AC_PROG_CC to automatically invoke _AM_PROG_CC_C_O.
Packit 9795e1
m4_define([AC_PROG_CC],
Packit 9795e1
m4_defn([AC_PROG_CC])
Packit 9795e1
[_AM_PROG_CC_C_O
Packit 9795e1
])
Packit 9795e1
Packit 9795e1
# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
Packit 9795e1
# AM_INIT_AUTOMAKE([OPTIONS])
Packit 9795e1
# -----------------------------------------------
Packit 9795e1
# The call with PACKAGE and VERSION arguments is the old style
Packit 9795e1
# call (pre autoconf-2.50), which is being phased out.  PACKAGE
Packit 9795e1
# and VERSION should now be passed to AC_INIT and removed from
Packit 9795e1
# the call to AM_INIT_AUTOMAKE.
Packit 9795e1
# We support both call styles for the transition.  After
Packit 9795e1
# the next Automake release, Autoconf can make the AC_INIT
Packit 9795e1
# arguments mandatory, and then we can depend on a new Autoconf
Packit 9795e1
# release and drop the old call support.
Packit 9795e1
AC_DEFUN([AM_INIT_AUTOMAKE],
Packit 9795e1
[AC_PREREQ([2.65])dnl
Packit 9795e1
dnl Autoconf wants to disallow AM_ names.  We explicitly allow
Packit 9795e1
dnl the ones we care about.
Packit 9795e1
m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
Packit 9795e1
AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
Packit 9795e1
AC_REQUIRE([AC_PROG_INSTALL])dnl
Packit 9795e1
if test "`cd $srcdir && pwd`" != "`pwd`"; then
Packit 9795e1
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
Packit 9795e1
  # is not polluted with repeated "-I."
Packit 9795e1
  AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
Packit 9795e1
  # test to see if srcdir already configured
Packit 9795e1
  if test -f $srcdir/config.status; then
Packit 9795e1
    AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
Packit 9795e1
  fi
Packit 9795e1
fi
Packit 9795e1
Packit 9795e1
# test whether we have cygpath
Packit 9795e1
if test -z "$CYGPATH_W"; then
Packit 9795e1
  if (cygpath --version) >/dev/null 2>/dev/null; then
Packit 9795e1
    CYGPATH_W='cygpath -w'
Packit 9795e1
  else
Packit 9795e1
    CYGPATH_W=echo
Packit 9795e1
  fi
Packit 9795e1
fi
Packit 9795e1
AC_SUBST([CYGPATH_W])
Packit 9795e1
Packit 9795e1
# Define the identity of the package.
Packit 9795e1
dnl Distinguish between old-style and new-style calls.
Packit 9795e1
m4_ifval([$2],
Packit 9795e1
[AC_DIAGNOSE([obsolete],
Packit 9795e1
             [$0: two- and three-arguments forms are deprecated.])
Packit 9795e1
m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
Packit 9795e1
 AC_SUBST([PACKAGE], [$1])dnl
Packit 9795e1
 AC_SUBST([VERSION], [$2])],
Packit 9795e1
[_AM_SET_OPTIONS([$1])dnl
Packit 9795e1
dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
Packit 9795e1
m4_if(
Packit 9795e1
  m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]),
Packit 9795e1
  [ok:ok],,
Packit 9795e1
  [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
Packit 9795e1
 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
Packit 9795e1
 AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
Packit 9795e1
Packit 9795e1
_AM_IF_OPTION([no-define],,
Packit 9795e1
[AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package])
Packit 9795e1
 AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl
Packit 9795e1
Packit 9795e1
# Some tools Automake needs.
Packit 9795e1
AC_REQUIRE([AM_SANITY_CHECK])dnl
Packit 9795e1
AC_REQUIRE([AC_ARG_PROGRAM])dnl
Packit 9795e1
AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
Packit 9795e1
AM_MISSING_PROG([AUTOCONF], [autoconf])
Packit 9795e1
AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
Packit 9795e1
AM_MISSING_PROG([AUTOHEADER], [autoheader])
Packit 9795e1
AM_MISSING_PROG([MAKEINFO], [makeinfo])
Packit 9795e1
AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
Packit 9795e1
AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
Packit 9795e1
AC_REQUIRE([AC_PROG_MKDIR_P])dnl
Packit 9795e1
# For better backward compatibility.  To be removed once Automake 1.9.x
Packit 9795e1
# dies out for good.  For more background, see:
Packit 9795e1
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
Packit 9795e1
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
Packit 9795e1
AC_SUBST([mkdir_p], ['$(MKDIR_P)'])
Packit 9795e1
# We need awk for the "check" target (and possibly the TAP driver).  The
Packit 9795e1
# system "awk" is bad on some platforms.
Packit 9795e1
AC_REQUIRE([AC_PROG_AWK])dnl
Packit 9795e1
AC_REQUIRE([AC_PROG_MAKE_SET])dnl
Packit 9795e1
AC_REQUIRE([AM_SET_LEADING_DOT])dnl
Packit 9795e1
_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
Packit 9795e1
	      [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
Packit 9795e1
			     [_AM_PROG_TAR([v7])])])
Packit 9795e1
_AM_IF_OPTION([no-dependencies],,
Packit 9795e1
[AC_PROVIDE_IFELSE([AC_PROG_CC],
Packit 9795e1
		  [_AM_DEPENDENCIES([CC])],
Packit 9795e1
		  [m4_define([AC_PROG_CC],
Packit 9795e1
			     m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl
Packit 9795e1
AC_PROVIDE_IFELSE([AC_PROG_CXX],
Packit 9795e1
		  [_AM_DEPENDENCIES([CXX])],
Packit 9795e1
		  [m4_define([AC_PROG_CXX],
Packit 9795e1
			     m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl
Packit 9795e1
AC_PROVIDE_IFELSE([AC_PROG_OBJC],
Packit 9795e1
		  [_AM_DEPENDENCIES([OBJC])],
Packit 9795e1
		  [m4_define([AC_PROG_OBJC],
Packit 9795e1
			     m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
Packit 9795e1
AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
Packit 9795e1
		  [_AM_DEPENDENCIES([OBJCXX])],
Packit 9795e1
		  [m4_define([AC_PROG_OBJCXX],
Packit 9795e1
			     m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl
Packit 9795e1
])
Packit 9795e1
AC_REQUIRE([AM_SILENT_RULES])dnl
Packit 9795e1
dnl The testsuite driver may need to know about EXEEXT, so add the
Packit 9795e1
dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen.  This
Packit 9795e1
dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below.
Packit 9795e1
AC_CONFIG_COMMANDS_PRE(dnl
Packit 9795e1
[m4_provide_if([_AM_COMPILER_EXEEXT],
Packit 9795e1
  [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
Packit 9795e1
Packit 9795e1
# POSIX will say in a future version that running "rm -f" with no argument
Packit 9795e1
# is OK; and we want to be able to make that assumption in our Makefile
Packit 9795e1
# recipes.  So use an aggressive probe to check that the usage we want is
Packit 9795e1
# actually supported "in the wild" to an acceptable degree.
Packit 9795e1
# See automake bug#10828.
Packit 9795e1
# To make any issue more visible, cause the running configure to be aborted
Packit 9795e1
# by default if the 'rm' program in use doesn't match our expectations; the
Packit 9795e1
# user can still override this though.
Packit 9795e1
if rm -f && rm -fr && rm -rf; then : OK; else
Packit 9795e1
  cat >&2 <<'END'
Packit 9795e1
Oops!
Packit 9795e1
Packit 9795e1
Your 'rm' program seems unable to run without file operands specified
Packit 9795e1
on the command line, even when the '-f' option is present.  This is contrary
Packit 9795e1
to the behaviour of most rm programs out there, and not conforming with
Packit 9795e1
the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
Packit 9795e1
Packit 9795e1
Please tell bug-automake@gnu.org about your system, including the value
Packit 9795e1
of your $PATH and any error possibly output before this message.  This
Packit 9795e1
can help us improve future automake versions.
Packit 9795e1
Packit 9795e1
END
Packit 9795e1
  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
Packit 9795e1
    echo 'Configuration will proceed anyway, since you have set the' >&2
Packit 9795e1
    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
Packit 9795e1
    echo >&2
Packit 9795e1
  else
Packit 9795e1
    cat >&2 <<'END'
Packit 9795e1
Aborting the configuration process, to ensure you take notice of the issue.
Packit 9795e1
Packit 9795e1
You can download and install GNU coreutils to get an 'rm' implementation
Packit 9795e1
that behaves properly: <http://www.gnu.org/software/coreutils/>.
Packit 9795e1
Packit 9795e1
If you want to complete the configuration process using your problematic
Packit 9795e1
'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
Packit 9795e1
to "yes", and re-run configure.
Packit 9795e1
Packit 9795e1
END
Packit 9795e1
    AC_MSG_ERROR([Your 'rm' program is bad, sorry.])
Packit 9795e1
  fi
Packit 9795e1
fi
Packit 9795e1
dnl The trailing newline in this macro's definition is deliberate, for
Packit 9795e1
dnl backward compatibility and to allow trailing 'dnl'-style comments
Packit 9795e1
dnl after the AM_INIT_AUTOMAKE invocation. See automake bug#16841.
Packit 9795e1
])
Packit 9795e1
Packit 9795e1
dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion.  Do not
Packit 9795e1
dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
Packit 9795e1
dnl mangled by Autoconf and run in a shell conditional statement.
Packit 9795e1
m4_define([_AC_COMPILER_EXEEXT],
Packit 9795e1
m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
Packit 9795e1
Packit 9795e1
# When config.status generates a header, we must update the stamp-h file.
Packit 9795e1
# This file resides in the same directory as the config header
Packit 9795e1
# that is generated.  The stamp files are numbered to have different names.
Packit 9795e1
Packit 9795e1
# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
Packit 9795e1
# loop where config.status creates the headers, so we can generate
Packit 9795e1
# our stamp files there.
Packit 9795e1
AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
Packit 9795e1
[# Compute $1's index in $config_headers.
Packit 9795e1
_am_arg=$1
Packit 9795e1
_am_stamp_count=1
Packit 9795e1
for _am_header in $config_headers :; do
Packit 9795e1
  case $_am_header in
Packit 9795e1
    $_am_arg | $_am_arg:* )
Packit 9795e1
      break ;;
Packit 9795e1
    * )
Packit 9795e1
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
Packit 9795e1
  esac
Packit 9795e1
done
Packit 9795e1
echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
Packit 9795e1
Packit 9795e1
# Copyright (C) 2001-2017 Free Software Foundation, Inc.
Packit 9795e1
#
Packit 9795e1
# This file is free software; the Free Software Foundation
Packit 9795e1
# gives unlimited permission to copy and/or distribute it,
Packit 9795e1
# with or without modifications, as long as this notice is preserved.
Packit 9795e1
Packit 9795e1
# AM_PROG_INSTALL_SH
Packit 9795e1
# ------------------
Packit 9795e1
# Define $install_sh.
Packit 9795e1
AC_DEFUN([AM_PROG_INSTALL_SH],
Packit 9795e1
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
Packit 9795e1
if test x"${install_sh+set}" != xset; then
Packit 9795e1
  case $am_aux_dir in
Packit 9795e1
  *\ * | *\	*)
Packit 9795e1
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
Packit 9795e1
  *)
Packit 9795e1
    install_sh="\${SHELL} $am_aux_dir/install-sh"
Packit 9795e1
  esac
Packit 9795e1
fi
Packit 9795e1
AC_SUBST([install_sh])])
Packit 9795e1
Packit 9795e1
# Copyright (C) 2003-2017 Free Software Foundation, Inc.
Packit 9795e1
#
Packit 9795e1
# This file is free software; the Free Software Foundation
Packit 9795e1
# gives unlimited permission to copy and/or distribute it,
Packit 9795e1
# with or without modifications, as long as this notice is preserved.
Packit 9795e1
Packit 9795e1
# Check whether the underlying file-system supports filenames
Packit 9795e1
# with a leading dot.  For instance MS-DOS doesn't.
Packit 9795e1
AC_DEFUN([AM_SET_LEADING_DOT],
Packit 9795e1
[rm -rf .tst 2>/dev/null
Packit 9795e1
mkdir .tst 2>/dev/null
Packit 9795e1
if test -d .tst; then
Packit 9795e1
  am__leading_dot=.
Packit 9795e1
else
Packit 9795e1
  am__leading_dot=_
Packit 9795e1
fi
Packit 9795e1
rmdir .tst 2>/dev/null
Packit 9795e1
AC_SUBST([am__leading_dot])])
Packit 9795e1
Packit 9795e1
# Check to see how 'make' treats includes.	            -*- Autoconf -*-
Packit 9795e1
Packit 9795e1
# Copyright (C) 2001-2017 Free Software Foundation, Inc.
Packit 9795e1
#
Packit 9795e1
# This file is free software; the Free Software Foundation
Packit 9795e1
# gives unlimited permission to copy and/or distribute it,
Packit 9795e1
# with or without modifications, as long as this notice is preserved.
Packit 9795e1
Packit 9795e1
# AM_MAKE_INCLUDE()
Packit 9795e1
# -----------------
Packit 9795e1
# Check to see how make treats includes.
Packit 9795e1
AC_DEFUN([AM_MAKE_INCLUDE],
Packit 9795e1
[am_make=${MAKE-make}
Packit 9795e1
cat > confinc << 'END'
Packit 9795e1
am__doit:
Packit 9795e1
	@echo this is the am__doit target
Packit 9795e1
.PHONY: am__doit
Packit 9795e1
END
Packit 9795e1
# If we don't find an include directive, just comment out the code.
Packit 9795e1
AC_MSG_CHECKING([for style of include used by $am_make])
Packit 9795e1
am__include="#"
Packit 9795e1
am__quote=
Packit 9795e1
_am_result=none
Packit 9795e1
# First try GNU make style include.
Packit 9795e1
echo "include confinc" > confmf
Packit 9795e1
# Ignore all kinds of additional output from 'make'.
Packit 9795e1
case `$am_make -s -f confmf 2> /dev/null` in #(
Packit 9795e1
*the\ am__doit\ target*)
Packit 9795e1
  am__include=include
Packit 9795e1
  am__quote=
Packit 9795e1
  _am_result=GNU
Packit 9795e1
  ;;
Packit 9795e1
esac
Packit 9795e1
# Now try BSD make style include.
Packit 9795e1
if test "$am__include" = "#"; then
Packit 9795e1
   echo '.include "confinc"' > confmf
Packit 9795e1
   case `$am_make -s -f confmf 2> /dev/null` in #(
Packit 9795e1
   *the\ am__doit\ target*)
Packit 9795e1
     am__include=.include
Packit 9795e1
     am__quote="\""
Packit 9795e1
     _am_result=BSD
Packit 9795e1
     ;;
Packit 9795e1
   esac
Packit 9795e1
fi
Packit 9795e1
AC_SUBST([am__include])
Packit 9795e1
AC_SUBST([am__quote])
Packit 9795e1
AC_MSG_RESULT([$_am_result])
Packit 9795e1
rm -f confinc confmf
Packit 9795e1
])
Packit 9795e1
Packit 9795e1
# Fake the existence of programs that GNU maintainers use.  -*- Autoconf -*-
Packit 9795e1
Packit 9795e1
# Copyright (C) 1997-2017 Free Software Foundation, Inc.
Packit 9795e1
#
Packit 9795e1
# This file is free software; the Free Software Foundation
Packit 9795e1
# gives unlimited permission to copy and/or distribute it,
Packit 9795e1
# with or without modifications, as long as this notice is preserved.
Packit 9795e1
Packit 9795e1
# AM_MISSING_PROG(NAME, PROGRAM)
Packit 9795e1
# ------------------------------
Packit 9795e1
AC_DEFUN([AM_MISSING_PROG],
Packit 9795e1
[AC_REQUIRE([AM_MISSING_HAS_RUN])
Packit 9795e1
$1=${$1-"${am_missing_run}$2"}
Packit 9795e1
AC_SUBST($1)])
Packit 9795e1
Packit 9795e1
# AM_MISSING_HAS_RUN
Packit 9795e1
# ------------------
Packit 9795e1
# Define MISSING if not defined so far and test if it is modern enough.
Packit 9795e1
# If it is, set am_missing_run to use it, otherwise, to nothing.
Packit 9795e1
AC_DEFUN([AM_MISSING_HAS_RUN],
Packit 9795e1
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
Packit 9795e1
AC_REQUIRE_AUX_FILE([missing])dnl
Packit 9795e1
if test x"${MISSING+set}" != xset; then
Packit 9795e1
  case $am_aux_dir in
Packit 9795e1
  *\ * | *\	*)
Packit 9795e1
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
Packit 9795e1
  *)
Packit 9795e1
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
Packit 9795e1
  esac
Packit 9795e1
fi
Packit 9795e1
# Use eval to expand $SHELL
Packit 9795e1
if eval "$MISSING --is-lightweight"; then
Packit 9795e1
  am_missing_run="$MISSING "
Packit 9795e1
else
Packit 9795e1
  am_missing_run=
Packit 9795e1
  AC_MSG_WARN(['missing' script is too old or missing])
Packit 9795e1
fi
Packit 9795e1
])
Packit 9795e1
Packit 9795e1
#  -*- Autoconf -*-
Packit 9795e1
# Obsolete and "removed" macros, that must however still report explicit
Packit 9795e1
# error messages when used, to smooth transition.
Packit 9795e1
#
Packit 9795e1
# Copyright (C) 1996-2017 Free Software Foundation, Inc.
Packit 9795e1
#
Packit 9795e1
# This file is free software; the Free Software Foundation
Packit 9795e1
# gives unlimited permission to copy and/or distribute it,
Packit 9795e1
# with or without modifications, as long as this notice is preserved.
Packit 9795e1
Packit 9795e1
AC_DEFUN([AM_CONFIG_HEADER],
Packit 9795e1
[AC_DIAGNOSE([obsolete],
Packit 9795e1
['$0': this macro is obsolete.
Packit 9795e1
You should use the 'AC][_CONFIG_HEADERS' macro instead.])dnl
Packit 9795e1
AC_CONFIG_HEADERS($@)])
Packit 9795e1
Packit 9795e1
AC_DEFUN([AM_PROG_CC_STDC],
Packit 9795e1
[AC_PROG_CC
Packit 9795e1
am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
Packit 9795e1
AC_DIAGNOSE([obsolete],
Packit 9795e1
['$0': this macro is obsolete.
Packit 9795e1
You should simply use the 'AC][_PROG_CC' macro instead.
Packit 9795e1
Also, your code should no longer depend upon 'am_cv_prog_cc_stdc',
Packit 9795e1
but upon 'ac_cv_prog_cc_stdc'.])])
Packit 9795e1
Packit 9795e1
AC_DEFUN([AM_C_PROTOTYPES],
Packit 9795e1
         [AC_FATAL([automatic de-ANSI-fication support has been removed])])
Packit 9795e1
AU_DEFUN([fp_C_PROTOTYPES], [AM_C_PROTOTYPES])
Packit 9795e1
Packit 9795e1
# Helper functions for option handling.                     -*- Autoconf -*-
Packit 9795e1
Packit 9795e1
# Copyright (C) 2001-2017 Free Software Foundation, Inc.
Packit 9795e1
#
Packit 9795e1
# This file is free software; the Free Software Foundation
Packit 9795e1
# gives unlimited permission to copy and/or distribute it,
Packit 9795e1
# with or without modifications, as long as this notice is preserved.
Packit 9795e1
Packit 9795e1
# _AM_MANGLE_OPTION(NAME)
Packit 9795e1
# -----------------------
Packit 9795e1
AC_DEFUN([_AM_MANGLE_OPTION],
Packit 9795e1
[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
Packit 9795e1
Packit 9795e1
# _AM_SET_OPTION(NAME)
Packit 9795e1
# --------------------
Packit 9795e1
# Set option NAME.  Presently that only means defining a flag for this option.
Packit 9795e1
AC_DEFUN([_AM_SET_OPTION],
Packit 9795e1
[m4_define(_AM_MANGLE_OPTION([$1]), [1])])
Packit 9795e1
Packit 9795e1
# _AM_SET_OPTIONS(OPTIONS)
Packit 9795e1
# ------------------------
Packit 9795e1
# OPTIONS is a space-separated list of Automake options.
Packit 9795e1
AC_DEFUN([_AM_SET_OPTIONS],
Packit 9795e1
[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
Packit 9795e1
Packit 9795e1
# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
Packit 9795e1
# -------------------------------------------
Packit 9795e1
# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
Packit 9795e1
AC_DEFUN([_AM_IF_OPTION],
Packit 9795e1
[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
Packit 9795e1
Packit 9795e1
# Copyright (C) 1999-2017 Free Software Foundation, Inc.
Packit 9795e1
#
Packit 9795e1
# This file is free software; the Free Software Foundation
Packit 9795e1
# gives unlimited permission to copy and/or distribute it,
Packit 9795e1
# with or without modifications, as long as this notice is preserved.
Packit 9795e1
Packit 9795e1
# _AM_PROG_CC_C_O
Packit 9795e1
# ---------------
Packit 9795e1
# Like AC_PROG_CC_C_O, but changed for automake.  We rewrite AC_PROG_CC
Packit 9795e1
# to automatically call this.
Packit 9795e1
AC_DEFUN([_AM_PROG_CC_C_O],
Packit 9795e1
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
Packit 9795e1
AC_REQUIRE_AUX_FILE([compile])dnl
Packit 9795e1
AC_LANG_PUSH([C])dnl
Packit 9795e1
AC_CACHE_CHECK(
Packit 9795e1
  [whether $CC understands -c and -o together],
Packit 9795e1
  [am_cv_prog_cc_c_o],
Packit 9795e1
  [AC_LANG_CONFTEST([AC_LANG_PROGRAM([])])
Packit 9795e1
  # Make sure it works both with $CC and with simple cc.
Packit 9795e1
  # Following AC_PROG_CC_C_O, we do the test twice because some
Packit 9795e1
  # compilers refuse to overwrite an existing .o file with -o,
Packit 9795e1
  # though they will create one.
Packit 9795e1
  am_cv_prog_cc_c_o=yes
Packit 9795e1
  for am_i in 1 2; do
Packit 9795e1
    if AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext]) \
Packit 9795e1
         && test -f conftest2.$ac_objext; then
Packit 9795e1
      : OK
Packit 9795e1
    else
Packit 9795e1
      am_cv_prog_cc_c_o=no
Packit 9795e1
      break
Packit 9795e1
    fi
Packit 9795e1
  done
Packit 9795e1
  rm -f core conftest*
Packit 9795e1
  unset am_i])
Packit 9795e1
if test "$am_cv_prog_cc_c_o" != yes; then
Packit 9795e1
   # Losing compiler, so override with the script.
Packit 9795e1
   # FIXME: It is wrong to rewrite CC.
Packit 9795e1
   # But if we don't then we get into trouble of one sort or another.
Packit 9795e1
   # A longer-term fix would be to have automake use am__CC in this case,
Packit 9795e1
   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
Packit 9795e1
   CC="$am_aux_dir/compile $CC"
Packit 9795e1
fi
Packit 9795e1
AC_LANG_POP([C])])
Packit 9795e1
Packit 9795e1
# For backward compatibility.
Packit 9795e1
AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])])
Packit 9795e1
Packit 9795e1
# Copyright (C) 2001-2017 Free Software Foundation, Inc.
Packit 9795e1
#
Packit 9795e1
# This file is free software; the Free Software Foundation
Packit 9795e1
# gives unlimited permission to copy and/or distribute it,
Packit 9795e1
# with or without modifications, as long as this notice is preserved.
Packit 9795e1
Packit 9795e1
# AM_RUN_LOG(COMMAND)
Packit 9795e1
# -------------------
Packit 9795e1
# Run COMMAND, save the exit status in ac_status, and log it.
Packit 9795e1
# (This has been adapted from Autoconf's _AC_RUN_LOG macro.)
Packit 9795e1
AC_DEFUN([AM_RUN_LOG],
Packit 9795e1
[{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD
Packit 9795e1
   ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD
Packit 9795e1
   ac_status=$?
Packit 9795e1
   echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
Packit 9795e1
   (exit $ac_status); }])
Packit 9795e1
Packit 9795e1
# Check to make sure that the build environment is sane.    -*- Autoconf -*-
Packit 9795e1
Packit 9795e1
# Copyright (C) 1996-2017 Free Software Foundation, Inc.
Packit 9795e1
#
Packit 9795e1
# This file is free software; the Free Software Foundation
Packit 9795e1
# gives unlimited permission to copy and/or distribute it,
Packit 9795e1
# with or without modifications, as long as this notice is preserved.
Packit 9795e1
Packit 9795e1
# AM_SANITY_CHECK
Packit 9795e1
# ---------------
Packit 9795e1
AC_DEFUN([AM_SANITY_CHECK],
Packit 9795e1
[AC_MSG_CHECKING([whether build environment is sane])
Packit 9795e1
# Reject unsafe characters in $srcdir or the absolute working directory
Packit 9795e1
# name.  Accept space and tab only in the latter.
Packit 9795e1
am_lf='
Packit 9795e1
'
Packit 9795e1
case `pwd` in
Packit 9795e1
  *[[\\\"\#\$\&\'\`$am_lf]]*)
Packit 9795e1
    AC_MSG_ERROR([unsafe absolute working directory name]);;
Packit 9795e1
esac
Packit 9795e1
case $srcdir in
Packit 9795e1
  *[[\\\"\#\$\&\'\`$am_lf\ \	]]*)
Packit 9795e1
    AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);;
Packit 9795e1
esac
Packit 9795e1
Packit 9795e1
# Do 'set' in a subshell so we don't clobber the current shell's
Packit 9795e1
# arguments.  Must try -L first in case configure is actually a
Packit 9795e1
# symlink; some systems play weird games with the mod time of symlinks
Packit 9795e1
# (eg FreeBSD returns the mod time of the symlink's containing
Packit 9795e1
# directory).
Packit 9795e1
if (
Packit 9795e1
   am_has_slept=no
Packit 9795e1
   for am_try in 1 2; do
Packit 9795e1
     echo "timestamp, slept: $am_has_slept" > conftest.file
Packit 9795e1
     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
Packit 9795e1
     if test "$[*]" = "X"; then
Packit 9795e1
	# -L didn't work.
Packit 9795e1
	set X `ls -t "$srcdir/configure" conftest.file`
Packit 9795e1
     fi
Packit 9795e1
     if test "$[*]" != "X $srcdir/configure conftest.file" \
Packit 9795e1
	&& test "$[*]" != "X conftest.file $srcdir/configure"; then
Packit 9795e1
Packit 9795e1
	# If neither matched, then we have a broken ls.  This can happen
Packit 9795e1
	# if, for instance, CONFIG_SHELL is bash and it inherits a
Packit 9795e1
	# broken ls alias from the environment.  This has actually
Packit 9795e1
	# happened.  Such a system could not be considered "sane".
Packit 9795e1
	AC_MSG_ERROR([ls -t appears to fail.  Make sure there is not a broken
Packit 9795e1
  alias in your environment])
Packit 9795e1
     fi
Packit 9795e1
     if test "$[2]" = conftest.file || test $am_try -eq 2; then
Packit 9795e1
       break
Packit 9795e1
     fi
Packit 9795e1
     # Just in case.
Packit 9795e1
     sleep 1
Packit 9795e1
     am_has_slept=yes
Packit 9795e1
   done
Packit 9795e1
   test "$[2]" = conftest.file
Packit 9795e1
   )
Packit 9795e1
then
Packit 9795e1
   # Ok.
Packit 9795e1
   :
Packit 9795e1
else
Packit 9795e1
   AC_MSG_ERROR([newly created file is older than distributed files!
Packit 9795e1
Check your system clock])
Packit 9795e1
fi
Packit 9795e1
AC_MSG_RESULT([yes])
Packit 9795e1
# If we didn't sleep, we still need to ensure time stamps of config.status and
Packit 9795e1
# generated files are strictly newer.
Packit 9795e1
am_sleep_pid=
Packit 9795e1
if grep 'slept: no' conftest.file >/dev/null 2>&1; then
Packit 9795e1
  ( sleep 1 ) &
Packit 9795e1
  am_sleep_pid=$!
Packit 9795e1
fi
Packit 9795e1
AC_CONFIG_COMMANDS_PRE(
Packit 9795e1
  [AC_MSG_CHECKING([that generated files are newer than configure])
Packit 9795e1
   if test -n "$am_sleep_pid"; then
Packit 9795e1
     # Hide warnings about reused PIDs.
Packit 9795e1
     wait $am_sleep_pid 2>/dev/null
Packit 9795e1
   fi
Packit 9795e1
   AC_MSG_RESULT([done])])
Packit 9795e1
rm -f conftest.file
Packit 9795e1
])
Packit 9795e1
Packit 9795e1
# Copyright (C) 2009-2017 Free Software Foundation, Inc.
Packit 9795e1
#
Packit 9795e1
# This file is free software; the Free Software Foundation
Packit 9795e1
# gives unlimited permission to copy and/or distribute it,
Packit 9795e1
# with or without modifications, as long as this notice is preserved.
Packit 9795e1
Packit 9795e1
# AM_SILENT_RULES([DEFAULT])
Packit 9795e1
# --------------------------
Packit 9795e1
# Enable less verbose build rules; with the default set to DEFAULT
Packit 9795e1
# ("yes" being less verbose, "no" or empty being verbose).
Packit 9795e1
AC_DEFUN([AM_SILENT_RULES],
Packit 9795e1
[AC_ARG_ENABLE([silent-rules], [dnl
Packit 9795e1
AS_HELP_STRING(
Packit 9795e1
  [--enable-silent-rules],
Packit 9795e1
  [less verbose build output (undo: "make V=1")])
Packit 9795e1
AS_HELP_STRING(
Packit 9795e1
  [--disable-silent-rules],
Packit 9795e1
  [verbose build output (undo: "make V=0")])dnl
Packit 9795e1
])
Packit 9795e1
case $enable_silent_rules in @%:@ (((
Packit 9795e1
  yes) AM_DEFAULT_VERBOSITY=0;;
Packit 9795e1
   no) AM_DEFAULT_VERBOSITY=1;;
Packit 9795e1
    *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
Packit 9795e1
esac
Packit 9795e1
dnl
Packit 9795e1
dnl A few 'make' implementations (e.g., NonStop OS and NextStep)
Packit 9795e1
dnl do not support nested variable expansions.
Packit 9795e1
dnl See automake bug#9928 and bug#10237.
Packit 9795e1
am_make=${MAKE-make}
Packit 9795e1
AC_CACHE_CHECK([whether $am_make supports nested variables],
Packit 9795e1
   [am_cv_make_support_nested_variables],
Packit 9795e1
   [if AS_ECHO([['TRUE=$(BAR$(V))
Packit 9795e1
BAR0=false
Packit 9795e1
BAR1=true
Packit 9795e1
V=1
Packit 9795e1
am__doit:
Packit 9795e1
	@$(TRUE)
Packit 9795e1
.PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then
Packit 9795e1
  am_cv_make_support_nested_variables=yes
Packit 9795e1
else
Packit 9795e1
  am_cv_make_support_nested_variables=no
Packit 9795e1
fi])
Packit 9795e1
if test $am_cv_make_support_nested_variables = yes; then
Packit 9795e1
  dnl Using '$V' instead of '$(V)' breaks IRIX make.
Packit 9795e1
  AM_V='$(V)'
Packit 9795e1
  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
Packit 9795e1
else
Packit 9795e1
  AM_V=$AM_DEFAULT_VERBOSITY
Packit 9795e1
  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
Packit 9795e1
fi
Packit 9795e1
AC_SUBST([AM_V])dnl
Packit 9795e1
AM_SUBST_NOTMAKE([AM_V])dnl
Packit 9795e1
AC_SUBST([AM_DEFAULT_V])dnl
Packit 9795e1
AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl
Packit 9795e1
AC_SUBST([AM_DEFAULT_VERBOSITY])dnl
Packit 9795e1
AM_BACKSLASH='\'
Packit 9795e1
AC_SUBST([AM_BACKSLASH])dnl
Packit 9795e1
_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
Packit 9795e1
])
Packit 9795e1
Packit 9795e1
# Copyright (C) 2001-2017 Free Software Foundation, Inc.
Packit 9795e1
#
Packit 9795e1
# This file is free software; the Free Software Foundation
Packit 9795e1
# gives unlimited permission to copy and/or distribute it,
Packit 9795e1
# with or without modifications, as long as this notice is preserved.
Packit 9795e1
Packit 9795e1
# AM_PROG_INSTALL_STRIP
Packit 9795e1
# ---------------------
Packit 9795e1
# One issue with vendor 'install' (even GNU) is that you can't
Packit 9795e1
# specify the program used to strip binaries.  This is especially
Packit 9795e1
# annoying in cross-compiling environments, where the build's strip
Packit 9795e1
# is unlikely to handle the host's binaries.
Packit 9795e1
# Fortunately install-sh will honor a STRIPPROG variable, so we
Packit 9795e1
# always use install-sh in "make install-strip", and initialize
Packit 9795e1
# STRIPPROG with the value of the STRIP variable (set by the user).
Packit 9795e1
AC_DEFUN([AM_PROG_INSTALL_STRIP],
Packit 9795e1
[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
Packit 9795e1
# Installed binaries are usually stripped using 'strip' when the user
Packit 9795e1
# run "make install-strip".  However 'strip' might not be the right
Packit 9795e1
# tool to use in cross-compilation environments, therefore Automake
Packit 9795e1
# will honor the 'STRIP' environment variable to overrule this program.
Packit 9795e1
dnl Don't test for $cross_compiling = yes, because it might be 'maybe'.
Packit 9795e1
if test "$cross_compiling" != no; then
Packit 9795e1
  AC_CHECK_TOOL([STRIP], [strip], :)
Packit 9795e1
fi
Packit 9795e1
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
Packit 9795e1
AC_SUBST([INSTALL_STRIP_PROGRAM])])
Packit 9795e1
Packit 9795e1
# Copyright (C) 2006-2017 Free Software Foundation, Inc.
Packit 9795e1
#
Packit 9795e1
# This file is free software; the Free Software Foundation
Packit 9795e1
# gives unlimited permission to copy and/or distribute it,
Packit 9795e1
# with or without modifications, as long as this notice is preserved.
Packit 9795e1
Packit 9795e1
# _AM_SUBST_NOTMAKE(VARIABLE)
Packit 9795e1
# ---------------------------
Packit 9795e1
# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
Packit 9795e1
# This macro is traced by Automake.
Packit 9795e1
AC_DEFUN([_AM_SUBST_NOTMAKE])
Packit 9795e1
Packit 9795e1
# AM_SUBST_NOTMAKE(VARIABLE)
Packit 9795e1
# --------------------------
Packit 9795e1
# Public sister of _AM_SUBST_NOTMAKE.
Packit 9795e1
AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
Packit 9795e1
Packit 9795e1
# Check how to create a tarball.                            -*- Autoconf -*-
Packit 9795e1
Packit 9795e1
# Copyright (C) 2004-2017 Free Software Foundation, Inc.
Packit 9795e1
#
Packit 9795e1
# This file is free software; the Free Software Foundation
Packit 9795e1
# gives unlimited permission to copy and/or distribute it,
Packit 9795e1
# with or without modifications, as long as this notice is preserved.
Packit 9795e1
Packit 9795e1
# _AM_PROG_TAR(FORMAT)
Packit 9795e1
# --------------------
Packit 9795e1
# Check how to create a tarball in format FORMAT.
Packit 9795e1
# FORMAT should be one of 'v7', 'ustar', or 'pax'.
Packit 9795e1
#
Packit 9795e1
# Substitute a variable $(am__tar) that is a command
Packit 9795e1
# writing to stdout a FORMAT-tarball containing the directory
Packit 9795e1
# $tardir.
Packit 9795e1
#     tardir=directory && $(am__tar) > result.tar
Packit 9795e1
#
Packit 9795e1
# Substitute a variable $(am__untar) that extract such
Packit 9795e1
# a tarball read from stdin.
Packit 9795e1
#     $(am__untar) < result.tar
Packit 9795e1
#
Packit 9795e1
AC_DEFUN([_AM_PROG_TAR],
Packit 9795e1
[# Always define AMTAR for backward compatibility.  Yes, it's still used
Packit 9795e1
# in the wild :-(  We should find a proper way to deprecate it ...
Packit 9795e1
AC_SUBST([AMTAR], ['$${TAR-tar}'])
Packit 9795e1
Packit 9795e1
# We'll loop over all known methods to create a tar archive until one works.
Packit 9795e1
_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
Packit 9795e1
Packit 9795e1
m4_if([$1], [v7],
Packit 9795e1
  [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
Packit 9795e1
Packit 9795e1
  [m4_case([$1],
Packit 9795e1
    [ustar],
Packit 9795e1
     [# The POSIX 1988 'ustar' format is defined with fixed-size fields.
Packit 9795e1
      # There is notably a 21 bits limit for the UID and the GID.  In fact,
Packit 9795e1
      # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
Packit 9795e1
      # and bug#13588).
Packit 9795e1
      am_max_uid=2097151 # 2^21 - 1
Packit 9795e1
      am_max_gid=$am_max_uid
Packit 9795e1
      # The $UID and $GID variables are not portable, so we need to resort
Packit 9795e1
      # to the POSIX-mandated id(1) utility.  Errors in the 'id' calls
Packit 9795e1
      # below are definitely unexpected, so allow the users to see them
Packit 9795e1
      # (that is, avoid stderr redirection).
Packit 9795e1
      am_uid=`id -u || echo unknown`
Packit 9795e1
      am_gid=`id -g || echo unknown`
Packit 9795e1
      AC_MSG_CHECKING([whether UID '$am_uid' is supported by ustar format])
Packit 9795e1
      if test $am_uid -le $am_max_uid; then
Packit 9795e1
         AC_MSG_RESULT([yes])
Packit 9795e1
      else
Packit 9795e1
         AC_MSG_RESULT([no])
Packit 9795e1
         _am_tools=none
Packit 9795e1
      fi
Packit 9795e1
      AC_MSG_CHECKING([whether GID '$am_gid' is supported by ustar format])
Packit 9795e1
      if test $am_gid -le $am_max_gid; then
Packit 9795e1
         AC_MSG_RESULT([yes])
Packit 9795e1
      else
Packit 9795e1
        AC_MSG_RESULT([no])
Packit 9795e1
        _am_tools=none
Packit 9795e1
      fi],
Packit 9795e1
Packit 9795e1
  [pax],
Packit 9795e1
    [],
Packit 9795e1
Packit 9795e1
  [m4_fatal([Unknown tar format])])
Packit 9795e1
Packit 9795e1
  AC_MSG_CHECKING([how to create a $1 tar archive])
Packit 9795e1
Packit 9795e1
  # Go ahead even if we have the value already cached.  We do so because we
Packit 9795e1
  # need to set the values for the 'am__tar' and 'am__untar' variables.
Packit 9795e1
  _am_tools=${am_cv_prog_tar_$1-$_am_tools}
Packit 9795e1
Packit 9795e1
  for _am_tool in $_am_tools; do
Packit 9795e1
    case $_am_tool in
Packit 9795e1
    gnutar)
Packit 9795e1
      for _am_tar in tar gnutar gtar; do
Packit 9795e1
        AM_RUN_LOG([$_am_tar --version]) && break
Packit 9795e1
      done
Packit 9795e1
      am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
Packit 9795e1
      am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
Packit 9795e1
      am__untar="$_am_tar -xf -"
Packit 9795e1
      ;;
Packit 9795e1
    plaintar)
Packit 9795e1
      # Must skip GNU tar: if it does not support --format= it doesn't create
Packit 9795e1
      # ustar tarball either.
Packit 9795e1
      (tar --version) >/dev/null 2>&1 && continue
Packit 9795e1
      am__tar='tar chf - "$$tardir"'
Packit 9795e1
      am__tar_='tar chf - "$tardir"'
Packit 9795e1
      am__untar='tar xf -'
Packit 9795e1
      ;;
Packit 9795e1
    pax)
Packit 9795e1
      am__tar='pax -L -x $1 -w "$$tardir"'
Packit 9795e1
      am__tar_='pax -L -x $1 -w "$tardir"'
Packit 9795e1
      am__untar='pax -r'
Packit 9795e1
      ;;
Packit 9795e1
    cpio)
Packit 9795e1
      am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
Packit 9795e1
      am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
Packit 9795e1
      am__untar='cpio -i -H $1 -d'
Packit 9795e1
      ;;
Packit 9795e1
    none)
Packit 9795e1
      am__tar=false
Packit 9795e1
      am__tar_=false
Packit 9795e1
      am__untar=false
Packit 9795e1
      ;;
Packit 9795e1
    esac
Packit 9795e1
Packit 9795e1
    # If the value was cached, stop now.  We just wanted to have am__tar
Packit 9795e1
    # and am__untar set.
Packit 9795e1
    test -n "${am_cv_prog_tar_$1}" && break
Packit 9795e1
Packit 9795e1
    # tar/untar a dummy directory, and stop if the command works.
Packit 9795e1
    rm -rf conftest.dir
Packit 9795e1
    mkdir conftest.dir
Packit 9795e1
    echo GrepMe > conftest.dir/file
Packit 9795e1
    AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
Packit 9795e1
    rm -rf conftest.dir
Packit 9795e1
    if test -s conftest.tar; then
Packit 9795e1
      AM_RUN_LOG([$am__untar 
Packit 9795e1
      AM_RUN_LOG([cat conftest.dir/file])
Packit 9795e1
      grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
Packit 9795e1
    fi
Packit 9795e1
  done
Packit 9795e1
  rm -rf conftest.dir
Packit 9795e1
Packit 9795e1
  AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
Packit 9795e1
  AC_MSG_RESULT([$am_cv_prog_tar_$1])])
Packit 9795e1
Packit 9795e1
AC_SUBST([am__tar])
Packit 9795e1
AC_SUBST([am__untar])
Packit 9795e1
]) # _AM_PROG_TAR
Packit 9795e1
Packit 9795e1
# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
Packit 9795e1
#
Packit 9795e1
#   Copyright (C) 1996-2001, 2003-2015 Free Software Foundation, Inc.
Packit 9795e1
#   Written by Gordon Matzigkeit, 1996
Packit 9795e1
#
Packit 9795e1
# This file is free software; the Free Software Foundation gives
Packit 9795e1
# unlimited permission to copy and/or distribute it, with or without
Packit 9795e1
# modifications, as long as this notice is preserved.
Packit 9795e1
Packit 9795e1
m4_define([_LT_COPYING], [dnl
Packit 9795e1
# Copyright (C) 2014 Free Software Foundation, Inc.
Packit 9795e1
# This is free software; see the source for copying conditions.  There is NO
Packit 9795e1
# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Packit 9795e1
Packit 9795e1
# GNU Libtool is free software; you can redistribute it and/or modify
Packit 9795e1
# it under the terms of the GNU General Public License as published by
Packit 9795e1
# the Free Software Foundation; either version 2 of of the License, or
Packit 9795e1
# (at your option) any later version.
Packit 9795e1
#
Packit 9795e1
# As a special exception to the GNU General Public License, if you
Packit 9795e1
# distribute this file as part of a program or library that is built
Packit 9795e1
# using GNU Libtool, you may include this file under the  same
Packit 9795e1
# distribution terms that you use for the rest of that program.
Packit 9795e1
#
Packit 9795e1
# GNU Libtool is distributed in the hope that it will be useful, but
Packit 9795e1
# WITHOUT ANY WARRANTY; without even the implied warranty of
Packit 9795e1
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
Packit 9795e1
# GNU General Public License for more details.
Packit 9795e1
#
Packit 9795e1
# You should have received a copy of the GNU General Public License
Packit 9795e1
# along with this program.  If not, see <http://www.gnu.org/licenses/>.
Packit 9795e1
])
Packit 9795e1
Packit 9795e1
# serial 58 LT_INIT
Packit 9795e1
Packit 9795e1
Packit 9795e1
# LT_PREREQ(VERSION)
Packit 9795e1
# ------------------
Packit 9795e1
# Complain and exit if this libtool version is less that VERSION.
Packit 9795e1
m4_defun([LT_PREREQ],
Packit 9795e1
[m4_if(m4_version_compare(m4_defn([LT_PACKAGE_VERSION]), [$1]), -1,
Packit 9795e1
       [m4_default([$3],
Packit 9795e1
		   [m4_fatal([Libtool version $1 or higher is required],
Packit 9795e1
		             63)])],
Packit 9795e1
       [$2])])
Packit 9795e1
Packit 9795e1
Packit 9795e1
# _LT_CHECK_BUILDDIR
Packit 9795e1
# ------------------
Packit 9795e1
# Complain if the absolute build directory name contains unusual characters
Packit 9795e1
m4_defun([_LT_CHECK_BUILDDIR],
Packit 9795e1
[case `pwd` in
Packit 9795e1
  *\ * | *\	*)
Packit 9795e1
    AC_MSG_WARN([Libtool does not cope well with whitespace in `pwd`]) ;;
Packit 9795e1
esac
Packit 9795e1
])
Packit 9795e1
Packit 9795e1
Packit 9795e1
# LT_INIT([OPTIONS])
Packit 9795e1
# ------------------
Packit 9795e1
AC_DEFUN([LT_INIT],
Packit 9795e1
[AC_PREREQ([2.62])dnl We use AC_PATH_PROGS_FEATURE_CHECK
Packit 9795e1
AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
Packit 9795e1
AC_BEFORE([$0], [LT_LANG])dnl
Packit 9795e1
AC_BEFORE([$0], [LT_OUTPUT])dnl
Packit 9795e1
AC_BEFORE([$0], [LTDL_INIT])dnl
Packit 9795e1
m4_require([_LT_CHECK_BUILDDIR])dnl
Packit 9795e1
Packit 9795e1
dnl Autoconf doesn't catch unexpanded LT_ macros by default:
Packit 9795e1
m4_pattern_forbid([^_?LT_[A-Z_]+$])dnl
Packit 9795e1
m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])dnl
Packit 9795e1
dnl aclocal doesn't pull ltoptions.m4, ltsugar.m4, or ltversion.m4
Packit 9795e1
dnl unless we require an AC_DEFUNed macro:
Packit 9795e1
AC_REQUIRE([LTOPTIONS_VERSION])dnl
Packit 9795e1
AC_REQUIRE([LTSUGAR_VERSION])dnl
Packit 9795e1
AC_REQUIRE([LTVERSION_VERSION])dnl
Packit 9795e1
AC_REQUIRE([LTOBSOLETE_VERSION])dnl
Packit 9795e1
m4_require([_LT_PROG_LTMAIN])dnl
Packit 9795e1
Packit 9795e1
_LT_SHELL_INIT([SHELL=${CONFIG_SHELL-/bin/sh}])
Packit 9795e1
Packit 9795e1
dnl Parse OPTIONS
Packit 9795e1
_LT_SET_OPTIONS([$0], [$1])
Packit 9795e1
Packit 9795e1
# This can be used to rebuild libtool when needed
Packit 9795e1
LIBTOOL_DEPS=$ltmain
Packit 9795e1
Packit 9795e1
# Always use our own libtool.
Packit 9795e1
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
Packit 9795e1
AC_SUBST(LIBTOOL)dnl
Packit 9795e1
Packit 9795e1
_LT_SETUP
Packit 9795e1
Packit 9795e1
# Only expand once:
Packit 9795e1
m4_define([LT_INIT])
Packit 9795e1
])# LT_INIT
Packit 9795e1
Packit 9795e1
# Old names:
Packit 9795e1
AU_ALIAS([AC_PROG_LIBTOOL], [LT_INIT])
Packit 9795e1
AU_ALIAS([AM_PROG_LIBTOOL], [LT_INIT])
Packit 9795e1
dnl aclocal-1.4 backwards compatibility:
Packit 9795e1
dnl AC_DEFUN([AC_PROG_LIBTOOL], [])
Packit 9795e1
dnl AC_DEFUN([AM_PROG_LIBTOOL], [])
Packit 9795e1
Packit 9795e1
Packit 9795e1
# _LT_PREPARE_CC_BASENAME
Packit 9795e1
# -----------------------
Packit 9795e1
m4_defun([_LT_PREPARE_CC_BASENAME], [
Packit 9795e1
# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
Packit 9795e1
func_cc_basename ()
Packit 9795e1
{
Packit 9795e1
    for cc_temp in @S|@*""; do
Packit 9795e1
      case $cc_temp in
Packit 9795e1
        compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;;
Packit 9795e1
        distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;;
Packit 9795e1
        \-*) ;;
Packit 9795e1
        *) break;;
Packit 9795e1
      esac
Packit 9795e1
    done
Packit 9795e1
    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
Packit 9795e1
}
Packit 9795e1
])# _LT_PREPARE_CC_BASENAME
Packit 9795e1
Packit 9795e1
Packit 9795e1
# _LT_CC_BASENAME(CC)
Packit 9795e1
# -------------------
Packit 9795e1
# It would be clearer to call AC_REQUIREs from _LT_PREPARE_CC_BASENAME,
Packit 9795e1
# but that macro is also expanded into generated libtool script, which
Packit 9795e1
# arranges for $SED and $ECHO to be set by different means.
Packit 9795e1
m4_defun([_LT_CC_BASENAME],
Packit 9795e1
[m4_require([_LT_PREPARE_CC_BASENAME])dnl
Packit 9795e1
AC_REQUIRE([_LT_DECL_SED])dnl
Packit 9795e1
AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH])dnl
Packit 9795e1
func_cc_basename $1
Packit 9795e1
cc_basename=$func_cc_basename_result
Packit 9795e1
])
Packit 9795e1
Packit 9795e1
Packit 9795e1
# _LT_FILEUTILS_DEFAULTS
Packit 9795e1
# ----------------------
Packit 9795e1
# It is okay to use these file commands and assume they have been set
Packit 9795e1
# sensibly after 'm4_require([_LT_FILEUTILS_DEFAULTS])'.
Packit 9795e1
m4_defun([_LT_FILEUTILS_DEFAULTS],
Packit 9795e1
[: ${CP="cp -f"}
Packit 9795e1
: ${MV="mv -f"}
Packit 9795e1
: ${RM="rm -f"}
Packit 9795e1
])# _LT_FILEUTILS_DEFAULTS
Packit 9795e1
Packit 9795e1
Packit 9795e1
# _LT_SETUP
Packit 9795e1
# ---------
Packit 9795e1
m4_defun([_LT_SETUP],
Packit 9795e1
[AC_REQUIRE([AC_CANONICAL_HOST])dnl
Packit 9795e1
AC_REQUIRE([AC_CANONICAL_BUILD])dnl
Packit 9795e1
AC_REQUIRE([_LT_PREPARE_SED_QUOTE_VARS])dnl
Packit 9795e1
AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH])dnl
Packit 9795e1
Packit 9795e1
_LT_DECL([], [PATH_SEPARATOR], [1], [The PATH separator for the build system])dnl
Packit 9795e1
dnl
Packit 9795e1
_LT_DECL([], [host_alias], [0], [The host system])dnl
Packit 9795e1
_LT_DECL([], [host], [0])dnl
Packit 9795e1
_LT_DECL([], [host_os], [0])dnl
Packit 9795e1
dnl
Packit 9795e1
_LT_DECL([], [build_alias], [0], [The build system])dnl
Packit 9795e1
_LT_DECL([], [build], [0])dnl
Packit 9795e1
_LT_DECL([], [build_os], [0])dnl
Packit 9795e1
dnl
Packit 9795e1
AC_REQUIRE([AC_PROG_CC])dnl
Packit 9795e1
AC_REQUIRE([LT_PATH_LD])dnl
Packit 9795e1
AC_REQUIRE([LT_PATH_NM])dnl
Packit 9795e1
dnl
Packit 9795e1
AC_REQUIRE([AC_PROG_LN_S])dnl
Packit 9795e1
test -z "$LN_S" && LN_S="ln -s"
Packit 9795e1
_LT_DECL([], [LN_S], [1], [Whether we need soft or hard links])dnl
Packit 9795e1
dnl
Packit 9795e1
AC_REQUIRE([LT_CMD_MAX_LEN])dnl
Packit 9795e1
_LT_DECL([objext], [ac_objext], [0], [Object file suffix (normally "o")])dnl
Packit 9795e1
_LT_DECL([], [exeext], [0], [Executable file suffix (normally "")])dnl
Packit 9795e1
dnl
Packit 9795e1
m4_require([_LT_FILEUTILS_DEFAULTS])dnl
Packit 9795e1
m4_require([_LT_CHECK_SHELL_FEATURES])dnl
Packit 9795e1
m4_require([_LT_PATH_CONVERSION_FUNCTIONS])dnl
Packit 9795e1
m4_require([_LT_CMD_RELOAD])dnl
Packit 9795e1
m4_require([_LT_CHECK_MAGIC_METHOD])dnl
Packit 9795e1
m4_require([_LT_CHECK_SHAREDLIB_FROM_LINKLIB])dnl
Packit 9795e1
m4_require([_LT_CMD_OLD_ARCHIVE])dnl
Packit 9795e1
m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl
Packit 9795e1
m4_require([_LT_WITH_SYSROOT])dnl
Packit 9795e1
m4_require([_LT_CMD_TRUNCATE])dnl
Packit 9795e1
Packit 9795e1
_LT_CONFIG_LIBTOOL_INIT([
Packit 9795e1
# See if we are running on zsh, and set the options that allow our
Packit 9795e1
# commands through without removal of \ escapes INIT.
Packit 9795e1
if test -n "\${ZSH_VERSION+set}"; then
Packit 9795e1
   setopt NO_GLOB_SUBST
Packit 9795e1
fi
Packit 9795e1
])
Packit 9795e1
if test -n "${ZSH_VERSION+set}"; then
Packit 9795e1
   setopt NO_GLOB_SUBST
Packit 9795e1
fi
Packit 9795e1
Packit 9795e1
_LT_CHECK_OBJDIR
Packit 9795e1
Packit 9795e1
m4_require([_LT_TAG_COMPILER])dnl
Packit 9795e1
Packit 9795e1
case $host_os in
Packit 9795e1
aix3*)
Packit 9795e1
  # AIX sometimes has problems with the GCC collect2 program.  For some
Packit 9795e1
  # reason, if we set the COLLECT_NAMES environment variable, the problems
Packit 9795e1
  # vanish in a puff of smoke.
Packit 9795e1
  if test set != "${COLLECT_NAMES+set}"; then
Packit 9795e1
    COLLECT_NAMES=
Packit 9795e1
    export COLLECT_NAMES
Packit 9795e1
  fi
Packit 9795e1
  ;;
Packit 9795e1
esac
Packit 9795e1
Packit 9795e1
# Global variables:
Packit 9795e1
ofile=libtool
Packit 9795e1
can_build_shared=yes
Packit 9795e1
Packit 9795e1
# All known linkers require a '.a' archive for static linking (except MSVC,
Packit 9795e1
# which needs '.lib').
Packit 9795e1
libext=a
Packit 9795e1
Packit 9795e1
with_gnu_ld=$lt_cv_prog_gnu_ld
Packit 9795e1
Packit 9795e1
old_CC=$CC
Packit 9795e1
old_CFLAGS=$CFLAGS
Packit 9795e1
Packit 9795e1
# Set sane defaults for various variables
Packit 9795e1
test -z "$CC" && CC=cc
Packit 9795e1
test -z "$LTCC" && LTCC=$CC
Packit 9795e1
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
Packit 9795e1
test -z "$LD" && LD=ld
Packit 9795e1
test -z "$ac_objext" && ac_objext=o
Packit 9795e1
Packit 9795e1
_LT_CC_BASENAME([$compiler])
Packit 9795e1
Packit 9795e1
# Only perform the check for file, if the check method requires it
Packit 9795e1
test -z "$MAGIC_CMD" && MAGIC_CMD=file
Packit 9795e1
case $deplibs_check_method in
Packit 9795e1
file_magic*)
Packit 9795e1
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
Packit 9795e1
    _LT_PATH_MAGIC
Packit 9795e1
  fi
Packit 9795e1
  ;;
Packit 9795e1
esac
Packit 9795e1
Packit 9795e1
# Use C for the default configuration in the libtool script
Packit 9795e1
LT_SUPPORTED_TAG([CC])
Packit 9795e1
_LT_LANG_C_CONFIG
Packit 9795e1
_LT_LANG_DEFAULT_CONFIG
Packit 9795e1
_LT_CONFIG_COMMANDS
Packit 9795e1
])# _LT_SETUP
Packit 9795e1
Packit 9795e1
Packit 9795e1
# _LT_PREPARE_SED_QUOTE_VARS
Packit 9795e1
# --------------------------
Packit 9795e1
# Define a few sed substitution that help us do robust quoting.
Packit 9795e1
m4_defun([_LT_PREPARE_SED_QUOTE_VARS],
Packit 9795e1
[# Backslashify metacharacters that are still active within
Packit 9795e1
# double-quoted strings.
Packit 9795e1
sed_quote_subst='s/\([["`$\\]]\)/\\\1/g'
Packit 9795e1
Packit 9795e1
# Same as above, but do not quote variable references.
Packit 9795e1
double_quote_subst='s/\([["`\\]]\)/\\\1/g'
Packit 9795e1
Packit 9795e1
# Sed substitution to delay expansion of an escaped shell variable in a
Packit 9795e1
# double_quote_subst'ed string.
Packit 9795e1
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
Packit 9795e1
Packit 9795e1
# Sed substitution to delay expansion of an escaped single quote.
Packit 9795e1
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
Packit 9795e1
Packit 9795e1
# Sed substitution to avoid accidental globbing in evaled expressions
Packit 9795e1
no_glob_subst='s/\*/\\\*/g'
Packit 9795e1
])
Packit 9795e1
Packit 9795e1
# _LT_PROG_LTMAIN
Packit 9795e1
# ---------------
Packit 9795e1
# Note that this code is called both from 'configure', and 'config.status'
Packit 9795e1
# now that we use AC_CONFIG_COMMANDS to generate libtool.  Notably,
Packit 9795e1
# 'config.status' has no value for ac_aux_dir unless we are using Automake,
Packit 9795e1
# so we pass a copy along to make sure it has a sensible value anyway.
Packit 9795e1
m4_defun([_LT_PROG_LTMAIN],
Packit 9795e1
[m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([ltmain.sh])])dnl
Packit 9795e1
_LT_CONFIG_LIBTOOL_INIT([ac_aux_dir='$ac_aux_dir'])
Packit 9795e1
ltmain=$ac_aux_dir/ltmain.sh
Packit 9795e1
])# _LT_PROG_LTMAIN
Packit 9795e1
Packit 9795e1
Packit 9795e1
Packit 9795e1
# So that we can recreate a full libtool script including additional
Packit 9795e1
# tags, we accumulate the chunks of code to send to AC_CONFIG_COMMANDS
Packit 9795e1
# in macros and then make a single call at the end using the 'libtool'
Packit 9795e1
# label.
Packit 9795e1
Packit 9795e1
Packit 9795e1
# _LT_CONFIG_LIBTOOL_INIT([INIT-COMMANDS])
Packit 9795e1
# ----------------------------------------
Packit 9795e1
# Register INIT-COMMANDS to be passed to AC_CONFIG_COMMANDS later.
Packit 9795e1
m4_define([_LT_CONFIG_LIBTOOL_INIT],
Packit 9795e1
[m4_ifval([$1],
Packit 9795e1
          [m4_append([_LT_OUTPUT_LIBTOOL_INIT],
Packit 9795e1
                     [$1
Packit 9795e1
])])])
Packit 9795e1
Packit 9795e1
# Initialize.
Packit 9795e1
m4_define([_LT_OUTPUT_LIBTOOL_INIT])
Packit 9795e1
Packit 9795e1
Packit 9795e1
# _LT_CONFIG_LIBTOOL([COMMANDS])
Packit 9795e1
# ------------------------------
Packit 9795e1
# Register COMMANDS to be passed to AC_CONFIG_COMMANDS later.
Packit 9795e1
m4_define([_LT_CONFIG_LIBTOOL],
Packit 9795e1
[m4_ifval([$1],
Packit 9795e1
          [m4_append([_LT_OUTPUT_LIBTOOL_COMMANDS],
Packit 9795e1
                     [$1
Packit 9795e1
])])])
Packit 9795e1
Packit 9795e1
# Initialize.
Packit 9795e1
m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS])
Packit 9795e1
Packit 9795e1
Packit 9795e1
# _LT_CONFIG_SAVE_COMMANDS([COMMANDS], [INIT_COMMANDS])
Packit 9795e1
# -----------------------------------------------------
Packit 9795e1
m4_defun([_LT_CONFIG_SAVE_COMMANDS],
Packit 9795e1
[_LT_CONFIG_LIBTOOL([$1])
Packit 9795e1
_LT_CONFIG_LIBTOOL_INIT([$2])
Packit 9795e1
])
Packit 9795e1
Packit 9795e1
Packit 9795e1
# _LT_FORMAT_COMMENT([COMMENT])
Packit 9795e1
# -----------------------------
Packit 9795e1
# Add leading comment marks to the start of each line, and a trailing
Packit 9795e1
# full-stop to the whole comment if one is not present already.
Packit 9795e1
m4_define([_LT_FORMAT_COMMENT],
Packit 9795e1
[m4_ifval([$1], [
Packit 9795e1
m4_bpatsubst([m4_bpatsubst([$1], [^ *], [# ])],
Packit 9795e1
              [['`$\]], [\\\&])]m4_bmatch([$1], [[!?.]$], [], [.])
Packit 9795e1
)])
Packit 9795e1
Packit 9795e1
Packit 9795e1
Packit 9795e1
Packit 9795e1
Packit 9795e1
# _LT_DECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION], [IS-TAGGED?])
Packit 9795e1
# -------------------------------------------------------------------
Packit 9795e1
# CONFIGNAME is the name given to the value in the libtool script.
Packit 9795e1
# VARNAME is the (base) name used in the configure script.
Packit 9795e1
# VALUE may be 0, 1 or 2 for a computed quote escaped value based on
Packit 9795e1
# VARNAME.  Any other value will be used directly.
Packit 9795e1
m4_define([_LT_DECL],
Packit 9795e1
[lt_if_append_uniq([lt_decl_varnames], [$2], [, ],
Packit 9795e1
    [lt_dict_add_subkey([lt_decl_dict], [$2], [libtool_name],
Packit 9795e1
	[m4_ifval([$1], [$1], [$2])])
Packit 9795e1
    lt_dict_add_subkey([lt_decl_dict], [$2], [value], [$3])
Packit 9795e1
    m4_ifval([$4],
Packit 9795e1
	[lt_dict_add_subkey([lt_decl_dict], [$2], [description], [$4])])
Packit 9795e1
    lt_dict_add_subkey([lt_decl_dict], [$2],
Packit 9795e1
	[tagged?], [m4_ifval([$5], [yes], [no])])])
Packit 9795e1
])
Packit 9795e1
Packit 9795e1
Packit 9795e1
# _LT_TAGDECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION])
Packit 9795e1
# --------------------------------------------------------
Packit 9795e1
m4_define([_LT_TAGDECL], [_LT_DECL([$1], [$2], [$3], [$4], [yes])])
Packit 9795e1
Packit 9795e1
Packit 9795e1
# lt_decl_tag_varnames([SEPARATOR], [VARNAME1...])
Packit 9795e1
# ------------------------------------------------
Packit 9795e1
m4_define([lt_decl_tag_varnames],
Packit 9795e1
[_lt_decl_filter([tagged?], [yes], $@)])
Packit 9795e1
Packit 9795e1
Packit 9795e1
# _lt_decl_filter(SUBKEY, VALUE, [SEPARATOR], [VARNAME1..])
Packit 9795e1
# ---------------------------------------------------------
Packit 9795e1
m4_define([_lt_decl_filter],
Packit 9795e1
[m4_case([$#],
Packit 9795e1
  [0], [m4_fatal([$0: too few arguments: $#])],
Packit 9795e1
  [1], [m4_fatal([$0: too few arguments: $#: $1])],
Packit 9795e1
  [2], [lt_dict_filter([lt_decl_dict], [$1], [$2], [], lt_decl_varnames)],
Packit 9795e1
  [3], [lt_dict_filter([lt_decl_dict], [$1], [$2], [$3], lt_decl_varnames)],
Packit 9795e1
  [lt_dict_filter([lt_decl_dict], $@)])[]dnl
Packit 9795e1
])
Packit 9795e1
Packit 9795e1
Packit 9795e1
# lt_decl_quote_varnames([SEPARATOR], [VARNAME1...])
Packit 9795e1
# --------------------------------------------------
Packit 9795e1
m4_define([lt_decl_quote_varnames],
Packit 9795e1
[_lt_decl_filter([value], [1], $@)])
Packit 9795e1
Packit 9795e1
Packit 9795e1
# lt_decl_dquote_varnames([SEPARATOR], [VARNAME1...])
Packit 9795e1
# ---------------------------------------------------
Packit 9795e1
m4_define([lt_decl_dquote_varnames],
Packit 9795e1
[_lt_decl_filter([value], [2], $@)])
Packit 9795e1
Packit 9795e1
Packit 9795e1
# lt_decl_varnames_tagged([SEPARATOR], [VARNAME1...])
Packit 9795e1
# ---------------------------------------------------
Packit 9795e1
m4_define([lt_decl_varnames_tagged],
Packit 9795e1
[m4_assert([$# <= 2])dnl
Packit 9795e1
_$0(m4_quote(m4_default([$1], [[, ]])),
Packit 9795e1
    m4_ifval([$2], [[$2]], [m4_dquote(lt_decl_tag_varnames)]),
Packit 9795e1
    m4_split(m4_normalize(m4_quote(_LT_TAGS)), [ ]))])
Packit 9795e1
m4_define([_lt_decl_varnames_tagged],
Packit 9795e1
[m4_ifval([$3], [lt_combine([$1], [$2], [_], $3)])])
Packit 9795e1
Packit 9795e1
Packit 9795e1
# lt_decl_all_varnames([SEPARATOR], [VARNAME1...])
Packit 9795e1
# ------------------------------------------------
Packit 9795e1
m4_define([lt_decl_all_varnames],
Packit 9795e1
[_$0(m4_quote(m4_default([$1], [[, ]])),
Packit 9795e1
     m4_if([$2], [],
Packit 9795e1
	   m4_quote(lt_decl_varnames),
Packit 9795e1
	m4_quote(m4_shift($@))))[]dnl
Packit 9795e1
])
Packit 9795e1
m4_define([_lt_decl_all_varnames],
Packit 9795e1
[lt_join($@, lt_decl_varnames_tagged([$1],
Packit 9795e1
			lt_decl_tag_varnames([[, ]], m4_shift($@))))dnl
Packit 9795e1
])
Packit 9795e1
Packit 9795e1
Packit 9795e1
# _LT_CONFIG_STATUS_DECLARE([VARNAME])
Packit 9795e1
# ------------------------------------
Packit 9795e1
# Quote a variable value, and forward it to 'config.status' so that its
Packit 9795e1
# declaration there will have the same value as in 'configure'.  VARNAME
Packit 9795e1
# must have a single quote delimited value for this to work.
Packit 9795e1
m4_define([_LT_CONFIG_STATUS_DECLARE],
Packit 9795e1
[$1='`$ECHO "$][$1" | $SED "$delay_single_quote_subst"`'])
Packit 9795e1
Packit 9795e1
Packit 9795e1
# _LT_CONFIG_STATUS_DECLARATIONS
Packit 9795e1
# ------------------------------
Packit 9795e1
# We delimit libtool config variables with single quotes, so when
Packit 9795e1
# we write them to config.status, we have to be sure to quote all
Packit 9795e1
# embedded single quotes properly.  In configure, this macro expands
Packit 9795e1
# each variable declared with _LT_DECL (and _LT_TAGDECL) into:
Packit 9795e1
#
Packit 9795e1
#    ='`$ECHO "$" | $SED "$delay_single_quote_subst"`'
Packit 9795e1
m4_defun([_LT_CONFIG_STATUS_DECLARATIONS],
Packit 9795e1
[m4_foreach([_lt_var], m4_quote(lt_decl_all_varnames),
Packit 9795e1
    [m4_n([_LT_CONFIG_STATUS_DECLARE(_lt_var)])])])
Packit 9795e1
Packit 9795e1
Packit 9795e1
# _LT_LIBTOOL_TAGS
Packit 9795e1
# ----------------
Packit 9795e1
# Output comment and list of tags supported by the script
Packit 9795e1
m4_defun([_LT_LIBTOOL_TAGS],
Packit 9795e1
[_LT_FORMAT_COMMENT([The names of the tagged configurations supported by this script])dnl
Packit 9795e1
available_tags='_LT_TAGS'dnl
Packit 9795e1
])
Packit 9795e1
Packit 9795e1
Packit 9795e1
# _LT_LIBTOOL_DECLARE(VARNAME, [TAG])
Packit 9795e1
# -----------------------------------
Packit 9795e1
# Extract the dictionary values for VARNAME (optionally with TAG) and
Packit 9795e1
# expand to a commented shell variable setting:
Packit 9795e1
#
Packit 9795e1
#    # Some comment about what VAR is for.
Packit 9795e1
#    visible_name=$lt_internal_name
Packit 9795e1
m4_define([_LT_LIBTOOL_DECLARE],
Packit 9795e1
[_LT_FORMAT_COMMENT(m4_quote(lt_dict_fetch([lt_decl_dict], [$1],
Packit 9795e1
					   [description])))[]dnl
Packit 9795e1
m4_pushdef([_libtool_name],
Packit 9795e1
    m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [libtool_name])))[]dnl
Packit 9795e1
m4_case(m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [value])),
Packit 9795e1
    [0], [_libtool_name=[$]$1],
Packit 9795e1
    [1], [_libtool_name=$lt_[]$1],
Packit 9795e1
    [2], [_libtool_name=$lt_[]$1],
Packit 9795e1
    [_libtool_name=lt_dict_fetch([lt_decl_dict], [$1], [value])])[]dnl
Packit 9795e1
m4_ifval([$2], [_$2])[]m4_popdef([_libtool_name])[]dnl
Packit 9795e1
])
Packit 9795e1
Packit 9795e1
Packit 9795e1
# _LT_LIBTOOL_CONFIG_VARS
Packit 9795e1
# -----------------------
Packit 9795e1
# Produce commented declarations of non-tagged libtool config variables
Packit 9795e1
# suitable for insertion in the LIBTOOL CONFIG section of the 'libtool'
Packit 9795e1
# script.  Tagged libtool config variables (even for the LIBTOOL CONFIG
Packit 9795e1
# section) are produced by _LT_LIBTOOL_TAG_VARS.
Packit 9795e1
m4_defun([_LT_LIBTOOL_CONFIG_VARS],
Packit 9795e1
[m4_foreach([_lt_var],
Packit 9795e1
    m4_quote(_lt_decl_filter([tagged?], [no], [], lt_decl_varnames)),
Packit 9795e1
    [m4_n([_LT_LIBTOOL_DECLARE(_lt_var)])])])
Packit 9795e1
Packit 9795e1
Packit 9795e1
# _LT_LIBTOOL_TAG_VARS(TAG)
Packit 9795e1
# -------------------------
Packit 9795e1
m4_define([_LT_LIBTOOL_TAG_VARS],
Packit 9795e1
[m4_foreach([_lt_var], m4_quote(lt_decl_tag_varnames),
Packit 9795e1
    [m4_n([_LT_LIBTOOL_DECLARE(_lt_var, [$1])])])])
Packit 9795e1
Packit 9795e1
Packit 9795e1
# _LT_TAGVAR(VARNAME, [TAGNAME])
Packit 9795e1
# ------------------------------
Packit 9795e1
m4_define([_LT_TAGVAR], [m4_ifval([$2], [$1_$2], [$1])])
Packit 9795e1
Packit 9795e1
Packit 9795e1
# _LT_CONFIG_COMMANDS
Packit 9795e1
# -------------------
Packit 9795e1
# Send accumulated output to $CONFIG_STATUS.  Thanks to the lists of
Packit 9795e1
# variables for single and double quote escaping we saved from calls
Packit 9795e1
# to _LT_DECL, we can put quote escaped variables declarations
Packit 9795e1
# into 'config.status', and then the shell code to quote escape them in
Packit 9795e1
# for loops in 'config.status'.  Finally, any additional code accumulated
Packit 9795e1
# from calls to _LT_CONFIG_LIBTOOL_INIT is expanded.
Packit 9795e1
m4_defun([_LT_CONFIG_COMMANDS],
Packit 9795e1
[AC_PROVIDE_IFELSE([LT_OUTPUT],
Packit 9795e1
	dnl If the libtool generation code has been placed in $CONFIG_LT,
Packit 9795e1
	dnl instead of duplicating it all over again into config.status,
Packit 9795e1
	dnl then we will have config.status run $CONFIG_LT later, so it
Packit 9795e1
	dnl needs to know what name is stored there:
Packit 9795e1
        [AC_CONFIG_COMMANDS([libtool],
Packit 9795e1
            [$SHELL $CONFIG_LT || AS_EXIT(1)], [CONFIG_LT='$CONFIG_LT'])],
Packit 9795e1
    dnl If the libtool generation code is destined for config.status,
Packit 9795e1
    dnl expand the accumulated commands and init code now:
Packit 9795e1
    [AC_CONFIG_COMMANDS([libtool],
Packit 9795e1
        [_LT_OUTPUT_LIBTOOL_COMMANDS], [_LT_OUTPUT_LIBTOOL_COMMANDS_INIT])])
Packit 9795e1
])#_LT_CONFIG_COMMANDS
Packit 9795e1
Packit 9795e1
Packit 9795e1
# Initialize.
Packit 9795e1
m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS_INIT],
Packit 9795e1
[
Packit 9795e1
Packit 9795e1
# The HP-UX ksh and POSIX shell print the target directory to stdout
Packit 9795e1
# if CDPATH is set.
Packit 9795e1
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
Packit 9795e1
Packit 9795e1
sed_quote_subst='$sed_quote_subst'
Packit 9795e1
double_quote_subst='$double_quote_subst'
Packit 9795e1
delay_variable_subst='$delay_variable_subst'
Packit 9795e1
_LT_CONFIG_STATUS_DECLARATIONS
Packit 9795e1
LTCC='$LTCC'
Packit 9795e1
LTCFLAGS='$LTCFLAGS'
Packit 9795e1
compiler='$compiler_DEFAULT'
Packit 9795e1
Packit 9795e1
# A function that is used when there is no print builtin or printf.
Packit 9795e1
func_fallback_echo ()
Packit 9795e1
{
Packit 9795e1
  eval 'cat <<_LTECHO_EOF
Packit 9795e1
\$[]1
Packit 9795e1
_LTECHO_EOF'
Packit 9795e1
}
Packit 9795e1
Packit 9795e1
# Quote evaled strings.
Packit 9795e1
for var in lt_decl_all_varnames([[ \
Packit 9795e1
]], lt_decl_quote_varnames); do
Packit 9795e1
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
Packit 9795e1
    *[[\\\\\\\`\\"\\\$]]*)
Packit 9795e1
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
Packit 9795e1
      ;;
Packit 9795e1
    *)
Packit 9795e1
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
Packit 9795e1
      ;;
Packit 9795e1
    esac
Packit 9795e1
done
Packit 9795e1
Packit 9795e1
# Double-quote double-evaled strings.
Packit 9795e1
for var in lt_decl_all_varnames([[ \
Packit 9795e1
]], lt_decl_dquote_varnames); do
Packit 9795e1
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
Packit 9795e1
    *[[\\\\\\\`\\"\\\$]]*)
Packit 9795e1
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
Packit 9795e1
      ;;
Packit 9795e1
    *)
Packit 9795e1
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
Packit 9795e1
      ;;
Packit 9795e1
    esac
Packit 9795e1
done
Packit 9795e1
Packit 9795e1
_LT_OUTPUT_LIBTOOL_INIT
Packit 9795e1
])
Packit 9795e1
Packit 9795e1
# _LT_GENERATED_FILE_INIT(FILE, [COMMENT])
Packit 9795e1
# ------------------------------------
Packit 9795e1
# Generate a child script FILE with all initialization necessary to
Packit 9795e1
# reuse the environment learned by the parent script, and make the
Packit 9795e1
# file executable.  If COMMENT is supplied, it is inserted after the
Packit 9795e1
# '#!' sequence but before initialization text begins.  After this
Packit 9795e1
# macro, additional text can be appended to FILE to form the body of
Packit 9795e1
# the child script.  The macro ends with non-zero status if the
Packit 9795e1
# file could not be fully written (such as if the disk is full).
Packit 9795e1
m4_ifdef([AS_INIT_GENERATED],
Packit 9795e1
[m4_defun([_LT_GENERATED_FILE_INIT],[AS_INIT_GENERATED($@)])],
Packit 9795e1
[m4_defun([_LT_GENERATED_FILE_INIT],
Packit 9795e1
[m4_require([AS_PREPARE])]dnl
Packit 9795e1
[m4_pushdef([AS_MESSAGE_LOG_FD])]dnl
Packit 9795e1
[lt_write_fail=0
Packit 9795e1
cat >$1 <<_ASEOF || lt_write_fail=1
Packit 9795e1
#! $SHELL
Packit 9795e1
# Generated by $as_me.
Packit 9795e1
$2
Packit 9795e1
SHELL=\${CONFIG_SHELL-$SHELL}
Packit 9795e1
export SHELL
Packit 9795e1
_ASEOF
Packit 9795e1
cat >>$1 <<\_ASEOF || lt_write_fail=1
Packit 9795e1
AS_SHELL_SANITIZE
Packit 9795e1
_AS_PREPARE
Packit 9795e1
exec AS_MESSAGE_FD>&1
Packit 9795e1
_ASEOF
Packit 9795e1
test 0 = "$lt_write_fail" && chmod +x $1[]dnl
Packit 9795e1
m4_popdef([AS_MESSAGE_LOG_FD])])])# _LT_GENERATED_FILE_INIT
Packit 9795e1
Packit 9795e1
# LT_OUTPUT
Packit 9795e1
# ---------
Packit 9795e1
# This macro allows early generation of the libtool script (before
Packit 9795e1
# AC_OUTPUT is called), incase it is used in configure for compilation
Packit 9795e1
# tests.
Packit 9795e1
AC_DEFUN([LT_OUTPUT],
Packit 9795e1
[: ${CONFIG_LT=./config.lt}
Packit 9795e1
AC_MSG_NOTICE([creating $CONFIG_LT])
Packit 9795e1
_LT_GENERATED_FILE_INIT(["$CONFIG_LT"],
Packit 9795e1
[# Run this file to recreate a libtool stub with the current configuration.])
Packit 9795e1
Packit 9795e1
cat >>"$CONFIG_LT" <<\_LTEOF
Packit 9795e1
lt_cl_silent=false
Packit 9795e1
exec AS_MESSAGE_LOG_FD>>config.log
Packit 9795e1
{
Packit 9795e1
  echo
Packit 9795e1
  AS_BOX([Running $as_me.])
Packit 9795e1
} >&AS_MESSAGE_LOG_FD
Packit 9795e1
Packit 9795e1
lt_cl_help="\
Packit 9795e1
'$as_me' creates a local libtool stub from the current configuration,
Packit 9795e1
for use in further configure time tests before the real libtool is
Packit 9795e1
generated.
Packit 9795e1
Packit 9795e1
Usage: $[0] [[OPTIONS]]
Packit 9795e1
Packit 9795e1
  -h, --help      print this help, then exit
Packit 9795e1
  -V, --version   print version number, then exit
Packit 9795e1
  -q, --quiet     do not print progress messages
Packit 9795e1
  -d, --debug     don't remove temporary files
Packit 9795e1
Packit 9795e1
Report bugs to <bug-libtool@gnu.org>."
Packit 9795e1
Packit 9795e1
lt_cl_version="\
Packit 9795e1
m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])config.lt[]dnl
Packit 9795e1
m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION])
Packit 9795e1
configured by $[0], generated by m4_PACKAGE_STRING.
Packit 9795e1
Packit 9795e1
Copyright (C) 2011 Free Software Foundation, Inc.
Packit 9795e1
This config.lt script is free software; the Free Software Foundation
Packit 9795e1
gives unlimited permision to copy, distribute and modify it."
Packit 9795e1
Packit 9795e1
while test 0 != $[#]
Packit 9795e1
do
Packit 9795e1
  case $[1] in
Packit 9795e1
    --version | --v* | -V )
Packit 9795e1
      echo "$lt_cl_version"; exit 0 ;;
Packit 9795e1
    --help | --h* | -h )
Packit 9795e1
      echo "$lt_cl_help"; exit 0 ;;
Packit 9795e1
    --debug | --d* | -d )
Packit 9795e1
      debug=: ;;
Packit 9795e1
    --quiet | --q* | --silent | --s* | -q )
Packit 9795e1
      lt_cl_silent=: ;;
Packit 9795e1
Packit 9795e1
    -*) AC_MSG_ERROR([unrecognized option: $[1]
Packit 9795e1
Try '$[0] --help' for more information.]) ;;
Packit 9795e1
Packit 9795e1
    *) AC_MSG_ERROR([unrecognized argument: $[1]
Packit 9795e1
Try '$[0] --help' for more information.]) ;;
Packit 9795e1
  esac
Packit 9795e1
  shift
Packit 9795e1
done
Packit 9795e1
Packit 9795e1
if $lt_cl_silent; then
Packit 9795e1
  exec AS_MESSAGE_FD>/dev/null
Packit 9795e1
fi
Packit 9795e1
_LTEOF
Packit 9795e1
Packit 9795e1
cat >>"$CONFIG_LT" <<_LTEOF
Packit 9795e1
_LT_OUTPUT_LIBTOOL_COMMANDS_INIT
Packit 9795e1
_LTEOF
Packit 9795e1
Packit 9795e1
cat >>"$CONFIG_LT" <<\_LTEOF
Packit 9795e1
AC_MSG_NOTICE([creating $ofile])
Packit 9795e1
_LT_OUTPUT_LIBTOOL_COMMANDS
Packit 9795e1
AS_EXIT(0)
Packit 9795e1
_LTEOF
Packit 9795e1
chmod +x "$CONFIG_LT"
Packit 9795e1
Packit 9795e1
# configure is writing to config.log, but config.lt does its own redirection,
Packit 9795e1
# appending to config.log, which fails on DOS, as config.log is still kept
Packit 9795e1
# open by configure.  Here we exec the FD to /dev/null, effectively closing
Packit 9795e1
# config.log, so it can be properly (re)opened and appended to by config.lt.
Packit 9795e1
lt_cl_success=:
Packit 9795e1
test yes = "$silent" &&
Packit 9795e1
  lt_config_lt_args="$lt_config_lt_args --quiet"
Packit 9795e1
exec AS_MESSAGE_LOG_FD>/dev/null
Packit 9795e1
$SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false
Packit 9795e1
exec AS_MESSAGE_LOG_FD>>config.log
Packit 9795e1
$lt_cl_success || AS_EXIT(1)
Packit 9795e1
])# LT_OUTPUT
Packit 9795e1
Packit 9795e1
Packit 9795e1
# _LT_CONFIG(TAG)
Packit 9795e1
# ---------------
Packit 9795e1
# If TAG is the built-in tag, create an initial libtool script with a
Packit 9795e1
# default configuration from the untagged config vars.  Otherwise add code
Packit 9795e1
# to config.status for appending the configuration named by TAG from the
Packit 9795e1
# matching tagged config vars.
Packit 9795e1
m4_defun([_LT_CONFIG],
Packit 9795e1
[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
Packit 9795e1
_LT_CONFIG_SAVE_COMMANDS([
Packit 9795e1
  m4_define([_LT_TAG], m4_if([$1], [], [C], [$1]))dnl
Packit 9795e1
  m4_if(_LT_TAG, [C], [
Packit 9795e1
    # See if we are running on zsh, and set the options that allow our
Packit 9795e1
    # commands through without removal of \ escapes.
Packit 9795e1
    if test -n "${ZSH_VERSION+set}"; then
Packit 9795e1
      setopt NO_GLOB_SUBST
Packit 9795e1
    fi
Packit 9795e1
Packit 9795e1
    cfgfile=${ofile}T
Packit 9795e1
    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
Packit 9795e1
    $RM "$cfgfile"
Packit 9795e1
Packit 9795e1
    cat <<_LT_EOF >> "$cfgfile"
Packit 9795e1
#! $SHELL
Packit 9795e1
# Generated automatically by $as_me ($PACKAGE) $VERSION
Packit 9795e1
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
Packit 9795e1
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
Packit 9795e1
Packit 9795e1
# Provide generalized library-building support services.
Packit 9795e1
# Written by Gordon Matzigkeit, 1996
Packit 9795e1
Packit 9795e1
_LT_COPYING
Packit 9795e1
_LT_LIBTOOL_TAGS
Packit 9795e1
Packit 9795e1
# Configured defaults for sys_lib_dlsearch_path munging.
Packit 9795e1
: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
Packit 9795e1
Packit 9795e1
# ### BEGIN LIBTOOL CONFIG
Packit 9795e1
_LT_LIBTOOL_CONFIG_VARS
Packit 9795e1
_LT_LIBTOOL_TAG_VARS
Packit 9795e1
# ### END LIBTOOL CONFIG
Packit 9795e1
Packit 9795e1
_LT_EOF
Packit 9795e1
Packit 9795e1
    cat <<'_LT_EOF' >> "$cfgfile"
Packit 9795e1
Packit 9795e1
# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
Packit 9795e1
Packit 9795e1
_LT_PREPARE_MUNGE_PATH_LIST
Packit 9795e1
_LT_PREPARE_CC_BASENAME
Packit 9795e1
Packit 9795e1
# ### END FUNCTIONS SHARED WITH CONFIGURE
Packit 9795e1
Packit 9795e1
_LT_EOF
Packit 9795e1
Packit 9795e1
  case $host_os in
Packit 9795e1
  aix3*)
Packit 9795e1
    cat <<\_LT_EOF >> "$cfgfile"
Packit 9795e1
# AIX sometimes has problems with the GCC collect2 program.  For some
Packit 9795e1
# reason, if we set the COLLECT_NAMES environment variable, the problems
Packit 9795e1
# vanish in a puff of smoke.
Packit 9795e1
if test set != "${COLLECT_NAMES+set}"; then
Packit 9795e1
  COLLECT_NAMES=
Packit 9795e1
  export COLLECT_NAMES
Packit 9795e1
fi
Packit 9795e1
_LT_EOF
Packit 9795e1
    ;;
Packit 9795e1
  esac
Packit 9795e1
Packit 9795e1
  _LT_PROG_LTMAIN
Packit 9795e1
Packit 9795e1
  # We use sed instead of cat because bash on DJGPP gets confused if
Packit 9795e1
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
Packit 9795e1
  # text mode, it properly converts lines to CR/LF.  This bash problem
Packit 9795e1
  # is reportedly fixed, but why not run on old versions too?
Packit 9795e1
  sed '$q' "$ltmain" >> "$cfgfile" \
Packit 9795e1
     || (rm -f "$cfgfile"; exit 1)
Packit 9795e1
Packit 9795e1
   mv -f "$cfgfile" "$ofile" ||
Packit 9795e1
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
Packit 9795e1
  chmod +x "$ofile"
Packit 9795e1
],
Packit 9795e1
[cat <<_LT_EOF >> "$ofile"
Packit 9795e1
Packit 9795e1
dnl Unfortunately we have to use $1 here, since _LT_TAG is not expanded
Packit 9795e1
dnl in a comment (ie after a #).
Packit 9795e1
# ### BEGIN LIBTOOL TAG CONFIG: $1
Packit 9795e1
_LT_LIBTOOL_TAG_VARS(_LT_TAG)
Packit 9795e1
# ### END LIBTOOL TAG CONFIG: $1
Packit 9795e1
_LT_EOF
Packit 9795e1
])dnl /m4_if
Packit 9795e1
],
Packit 9795e1
[m4_if([$1], [], [
Packit 9795e1
    PACKAGE='$PACKAGE'
Packit 9795e1
    VERSION='$VERSION'
Packit 9795e1
    RM='$RM'
Packit 9795e1
    ofile='$ofile'], [])
Packit 9795e1
])dnl /_LT_CONFIG_SAVE_COMMANDS
Packit 9795e1
])# _LT_CONFIG
Packit 9795e1
Packit 9795e1
Packit 9795e1
# LT_SUPPORTED_TAG(TAG)
Packit 9795e1
# ---------------------
Packit 9795e1
# Trace this macro to discover what tags are supported by the libtool
Packit 9795e1
# --tag option, using:
Packit 9795e1
#    autoconf --trace 'LT_SUPPORTED_TAG:$1'
Packit 9795e1
AC_DEFUN([LT_SUPPORTED_TAG], [])
Packit 9795e1
Packit 9795e1
Packit 9795e1
# C support is built-in for now
Packit 9795e1
m4_define([_LT_LANG_C_enabled], [])
Packit 9795e1
m4_define([_LT_TAGS], [])
Packit 9795e1
Packit 9795e1
Packit 9795e1
# LT_LANG(LANG)
Packit 9795e1
# -------------
Packit 9795e1
# Enable libtool support for the given language if not already enabled.
Packit 9795e1
AC_DEFUN([LT_LANG],
Packit 9795e1
[AC_BEFORE([$0], [LT_OUTPUT])dnl
Packit 9795e1
m4_case([$1],
Packit 9795e1
  [C],			[_LT_LANG(C)],
Packit 9795e1
  [C++],		[_LT_LANG(CXX)],
Packit 9795e1
  [Go],			[_LT_LANG(GO)],
Packit 9795e1
  [Java],		[_LT_LANG(GCJ)],
Packit 9795e1
  [Fortran 77],		[_LT_LANG(F77)],
Packit 9795e1
  [Fortran],		[_LT_LANG(FC)],
Packit 9795e1
  [Windows Resource],	[_LT_LANG(RC)],
Packit 9795e1
  [m4_ifdef([_LT_LANG_]$1[_CONFIG],
Packit 9795e1
    [_LT_LANG($1)],
Packit 9795e1
    [m4_fatal([$0: unsupported language: "$1"])])])dnl
Packit 9795e1
])# LT_LANG
Packit 9795e1
Packit 9795e1
Packit 9795e1
# _LT_LANG(LANGNAME)
Packit 9795e1
# ------------------
Packit 9795e1
m4_defun([_LT_LANG],
Packit 9795e1
[m4_ifdef([_LT_LANG_]$1[_enabled], [],
Packit 9795e1
  [LT_SUPPORTED_TAG([$1])dnl
Packit 9795e1
  m4_append([_LT_TAGS], [$1 ])dnl
Packit 9795e1
  m4_define([_LT_LANG_]$1[_enabled], [])dnl
Packit 9795e1
  _LT_LANG_$1_CONFIG($1)])dnl
Packit 9795e1
])# _LT_LANG
Packit 9795e1
Packit 9795e1
Packit 9795e1
m4_ifndef([AC_PROG_GO], [
Packit 9795e1
# NOTE: This macro has been submitted for inclusion into   #
Packit 9795e1
#  GNU Autoconf as AC_PROG_GO.  When it is available in    #
Packit 9795e1
#  a released version of Autoconf we should remove this    #
Packit 9795e1
#  macro and use it instead.                               #
Packit 9795e1
m4_defun([AC_PROG_GO],
Packit 9795e1
[AC_LANG_PUSH(Go)dnl
Packit 9795e1
AC_ARG_VAR([GOC],     [Go compiler command])dnl
Packit 9795e1
AC_ARG_VAR([GOFLAGS], [Go compiler flags])dnl
Packit 9795e1
_AC_ARG_VAR_LDFLAGS()dnl
Packit 9795e1
AC_CHECK_TOOL(GOC, gccgo)
Packit 9795e1
if test -z "$GOC"; then
Packit 9795e1
  if test -n "$ac_tool_prefix"; then
Packit 9795e1
    AC_CHECK_PROG(GOC, [${ac_tool_prefix}gccgo], [${ac_tool_prefix}gccgo])
Packit 9795e1
  fi
Packit 9795e1
fi
Packit 9795e1
if test -z "$GOC"; then
Packit 9795e1
  AC_CHECK_PROG(GOC, gccgo, gccgo, false)
Packit 9795e1
fi
Packit 9795e1
])#m4_defun
Packit 9795e1
])#m4_ifndef
Packit 9795e1
Packit 9795e1
Packit 9795e1
# _LT_LANG_DEFAULT_CONFIG
Packit 9795e1
# -----------------------
Packit 9795e1
m4_defun([_LT_LANG_DEFAULT_CONFIG],
Packit 9795e1
[AC_PROVIDE_IFELSE([AC_PROG_CXX],
Packit 9795e1
  [LT_LANG(CXX)],
Packit 9795e1
  [m4_define([AC_PROG_CXX], defn([AC_PROG_CXX])[LT_LANG(CXX)])])
Packit 9795e1
Packit 9795e1
AC_PROVIDE_IFELSE([AC_PROG_F77],
Packit 9795e1
  [LT_LANG(F77)],
Packit 9795e1
  [m4_define([AC_PROG_F77], defn([AC_PROG_F77])[LT_LANG(F77)])])
Packit 9795e1
Packit 9795e1
AC_PROVIDE_IFELSE([AC_PROG_FC],
Packit 9795e1
  [LT_LANG(FC)],
Packit 9795e1
  [m4_define([AC_PROG_FC], defn([AC_PROG_FC])[LT_LANG(FC)])])
Packit 9795e1
Packit 9795e1
dnl The call to [A][M_PROG_GCJ] is quoted like that to stop aclocal
Packit 9795e1
dnl pulling things in needlessly.
Packit 9795e1
AC_PROVIDE_IFELSE([AC_PROG_GCJ],
Packit 9795e1
  [LT_LANG(GCJ)],
Packit 9795e1
  [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],
Packit 9795e1
    [LT_LANG(GCJ)],
Packit 9795e1
    [AC_PROVIDE_IFELSE([LT_PROG_GCJ],
Packit 9795e1
      [LT_LANG(GCJ)],
Packit 9795e1
      [m4_ifdef([AC_PROG_GCJ],
Packit 9795e1
	[m4_define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[LT_LANG(GCJ)])])
Packit 9795e1
       m4_ifdef([A][M_PROG_GCJ],
Packit 9795e1
	[m4_define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[LT_LANG(GCJ)])])
Packit 9795e1
       m4_ifdef([LT_PROG_GCJ],
Packit 9795e1
	[m4_define([LT_PROG_GCJ], defn([LT_PROG_GCJ])[LT_LANG(GCJ)])])])])])
Packit 9795e1
Packit 9795e1
AC_PROVIDE_IFELSE([AC_PROG_GO],
Packit 9795e1
  [LT_LANG(GO)],
Packit 9795e1
  [m4_define([AC_PROG_GO], defn([AC_PROG_GO])[LT_LANG(GO)])])
Packit 9795e1
Packit 9795e1
AC_PROVIDE_IFELSE([LT_PROG_RC],
Packit 9795e1
  [LT_LANG(RC)],
Packit 9795e1
  [m4_define([LT_PROG_RC], defn([LT_PROG_RC])[LT_LANG(RC)])])
Packit 9795e1
])# _LT_LANG_DEFAULT_CONFIG
Packit 9795e1
Packit 9795e1
# Obsolete macros:
Packit 9795e1
AU_DEFUN([AC_LIBTOOL_CXX], [LT_LANG(C++)])
Packit 9795e1
AU_DEFUN([AC_LIBTOOL_F77], [LT_LANG(Fortran 77)])
Packit 9795e1
AU_DEFUN([AC_LIBTOOL_FC], [LT_LANG(Fortran)])
Packit 9795e1
AU_DEFUN([AC_LIBTOOL_GCJ], [LT_LANG(Java)])
Packit 9795e1
AU_DEFUN([AC_LIBTOOL_RC], [LT_LANG(Windows Resource)])
Packit 9795e1
dnl aclocal-1.4 backwards compatibility:
Packit 9795e1
dnl AC_DEFUN([AC_LIBTOOL_CXX], [])
Packit 9795e1
dnl AC_DEFUN([AC_LIBTOOL_F77], [])
Packit 9795e1
dnl AC_DEFUN([AC_LIBTOOL_FC], [])
Packit 9795e1
dnl AC_DEFUN([AC_LIBTOOL_GCJ], [])
Packit 9795e1
dnl AC_DEFUN([AC_LIBTOOL_RC], [])
Packit 9795e1
Packit 9795e1
Packit 9795e1
# _LT_TAG_COMPILER
Packit 9795e1
# ----------------
Packit 9795e1
m4_defun([_LT_TAG_COMPILER],
Packit 9795e1
[AC_REQUIRE([AC_PROG_CC])dnl
Packit 9795e1
Packit 9795e1
_LT_DECL([LTCC], [CC], [1], [A C compiler])dnl
Packit 9795e1
_LT_DECL([LTCFLAGS], [CFLAGS], [1], [LTCC compiler flags])dnl
Packit 9795e1
_LT_TAGDECL([CC], [compiler], [1], [A language specific compiler])dnl
Packit 9795e1
_LT_TAGDECL([with_gcc], [GCC], [0], [Is the compiler the GNU compiler?])dnl
Packit 9795e1
Packit 9795e1
# If no C compiler was specified, use CC.
Packit 9795e1
LTCC=${LTCC-"$CC"}
Packit 9795e1
Packit 9795e1
# If no C compiler flags were specified, use CFLAGS.
Packit 9795e1
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
Packit 9795e1
Packit 9795e1
# Allow CC to be a program name with arguments.
Packit 9795e1
compiler=$CC
Packit 9795e1
])# _LT_TAG_COMPILER
Packit 9795e1
Packit 9795e1
Packit 9795e1
# _LT_COMPILER_BOILERPLATE
Packit 9795e1
# ------------------------
Packit 9795e1
# Check for compiler boilerplate output or warnings with
Packit 9795e1
# the simple compiler test code.
Packit 9795e1
m4_defun([_LT_COMPILER_BOILERPLATE],
Packit 9795e1
[m4_require([_LT_DECL_SED])dnl
Packit 9795e1
ac_outfile=conftest.$ac_objext
Packit 9795e1
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
Packit 9795e1
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
Packit 9795e1
_lt_compiler_boilerplate=`cat conftest.err`
Packit 9795e1
$RM conftest*
Packit 9795e1
])# _LT_COMPILER_BOILERPLATE
Packit 9795e1
Packit 9795e1
Packit 9795e1
# _LT_LINKER_BOILERPLATE
Packit 9795e1
# ----------------------
Packit 9795e1
# Check for linker boilerplate output or warnings with
Packit 9795e1
# the simple link test code.
Packit 9795e1
m4_defun([_LT_LINKER_BOILERPLATE],
Packit 9795e1
[m4_require([_LT_DECL_SED])dnl
Packit 9795e1
ac_outfile=conftest.$ac_objext
Packit 9795e1
echo "$lt_simple_link_test_code" >conftest.$ac_ext
Packit 9795e1
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
Packit 9795e1
_lt_linker_boilerplate=`cat conftest.err`
Packit 9795e1
$RM -r conftest*
Packit 9795e1
])# _LT_LINKER_BOILERPLATE
Packit 9795e1
Packit 9795e1
# _LT_REQUIRED_DARWIN_CHECKS
Packit 9795e1
# -------------------------
Packit 9795e1
m4_defun_once([_LT_REQUIRED_DARWIN_CHECKS],[
Packit 9795e1
  case $host_os in
Packit 9795e1
    rhapsody* | darwin*)
Packit 9795e1
    AC_CHECK_TOOL([DSYMUTIL], [dsymutil], [:])
Packit 9795e1
    AC_CHECK_TOOL([NMEDIT], [nmedit], [:])
Packit 9795e1
    AC_CHECK_TOOL([LIPO], [lipo], [:])
Packit 9795e1
    AC_CHECK_TOOL([OTOOL], [otool], [:])
Packit 9795e1
    AC_CHECK_TOOL([OTOOL64], [otool64], [:])
Packit 9795e1
    _LT_DECL([], [DSYMUTIL], [1],
Packit 9795e1
      [Tool to manipulate archived DWARF debug symbol files on Mac OS X])
Packit 9795e1
    _LT_DECL([], [NMEDIT], [1],
Packit 9795e1
      [Tool to change global to local symbols on Mac OS X])
Packit 9795e1
    _LT_DECL([], [LIPO], [1],
Packit 9795e1
      [Tool to manipulate fat objects and archives on Mac OS X])
Packit 9795e1
    _LT_DECL([], [OTOOL], [1],
Packit 9795e1
      [ldd/readelf like tool for Mach-O binaries on Mac OS X])
Packit 9795e1
    _LT_DECL([], [OTOOL64], [1],
Packit 9795e1
      [ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4])
Packit 9795e1
Packit 9795e1
    AC_CACHE_CHECK([for -single_module linker flag],[lt_cv_apple_cc_single_mod],
Packit 9795e1
      [lt_cv_apple_cc_single_mod=no
Packit 9795e1
      if test -z "$LT_MULTI_MODULE"; then
Packit 9795e1
	# By default we will add the -single_module flag. You can override
Packit 9795e1
	# by either setting the environment variable LT_MULTI_MODULE
Packit 9795e1
	# non-empty at configure time, or by adding -multi_module to the
Packit 9795e1
	# link flags.
Packit 9795e1
	rm -rf libconftest.dylib*
Packit 9795e1
	echo "int foo(void){return 1;}" > conftest.c
Packit 9795e1
	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
Packit 9795e1
-dynamiclib -Wl,-single_module conftest.c" >&AS_MESSAGE_LOG_FD
Packit 9795e1
	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
Packit 9795e1
	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
Packit 9795e1
        _lt_result=$?
Packit 9795e1
	# If there is a non-empty error log, and "single_module"
Packit 9795e1
	# appears in it, assume the flag caused a linker warning
Packit 9795e1
        if test -s conftest.err && $GREP single_module conftest.err; then
Packit 9795e1
	  cat conftest.err >&AS_MESSAGE_LOG_FD
Packit 9795e1
	# Otherwise, if the output was created with a 0 exit code from
Packit 9795e1
	# the compiler, it worked.
Packit 9795e1
	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
Packit 9795e1
	  lt_cv_apple_cc_single_mod=yes
Packit 9795e1
	else
Packit 9795e1
	  cat conftest.err >&AS_MESSAGE_LOG_FD
Packit 9795e1
	fi
Packit 9795e1
	rm -rf libconftest.dylib*
Packit 9795e1
	rm -f conftest.*
Packit 9795e1
      fi])
Packit 9795e1
Packit 9795e1
    AC_CACHE_CHECK([for -exported_symbols_list linker flag],
Packit 9795e1
      [lt_cv_ld_exported_symbols_list],
Packit 9795e1
      [lt_cv_ld_exported_symbols_list=no
Packit 9795e1
      save_LDFLAGS=$LDFLAGS
Packit 9795e1
      echo "_main" > conftest.sym
Packit 9795e1
      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
Packit 9795e1
      AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
Packit 9795e1
	[lt_cv_ld_exported_symbols_list=yes],
Packit 9795e1
	[lt_cv_ld_exported_symbols_list=no])
Packit 9795e1
	LDFLAGS=$save_LDFLAGS
Packit 9795e1
    ])
Packit 9795e1
Packit 9795e1
    AC_CACHE_CHECK([for -force_load linker flag],[lt_cv_ld_force_load],
Packit 9795e1
      [lt_cv_ld_force_load=no
Packit 9795e1
      cat > conftest.c << _LT_EOF
Packit 9795e1
int forced_loaded() { return 2;}
Packit 9795e1
_LT_EOF
Packit 9795e1
      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&AS_MESSAGE_LOG_FD
Packit 9795e1
      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&AS_MESSAGE_LOG_FD
Packit 9795e1
      echo "$AR cru libconftest.a conftest.o" >&AS_MESSAGE_LOG_FD
Packit 9795e1
      $AR cru libconftest.a conftest.o 2>&AS_MESSAGE_LOG_FD
Packit 9795e1
      echo "$RANLIB libconftest.a" >&AS_MESSAGE_LOG_FD
Packit 9795e1
      $RANLIB libconftest.a 2>&AS_MESSAGE_LOG_FD
Packit 9795e1
      cat > conftest.c << _LT_EOF
Packit 9795e1
int main() { return 0;}
Packit 9795e1
_LT_EOF
Packit 9795e1
      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&AS_MESSAGE_LOG_FD
Packit 9795e1
      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
Packit 9795e1
      _lt_result=$?
Packit 9795e1
      if test -s conftest.err && $GREP force_load conftest.err; then
Packit 9795e1
	cat conftest.err >&AS_MESSAGE_LOG_FD
Packit 9795e1
      elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
Packit 9795e1
	lt_cv_ld_force_load=yes
Packit 9795e1
      else
Packit 9795e1
	cat conftest.err >&AS_MESSAGE_LOG_FD
Packit 9795e1
      fi
Packit 9795e1
        rm -f conftest.err libconftest.a conftest conftest.c
Packit 9795e1
        rm -rf conftest.dSYM
Packit 9795e1
    ])
Packit 9795e1
    case $host_os in
Packit 9795e1
    rhapsody* | darwin1.[[012]])
Packit 9795e1
      _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
Packit 9795e1
    darwin1.*)
Packit 9795e1
      _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
Packit 9795e1
    darwin*) # darwin 5.x on
Packit 9795e1
      # if running on 10.5 or later, the deployment target defaults
Packit 9795e1
      # to the OS version, if on x86, and 10.4, the deployment
Packit 9795e1
      # target defaults to 10.4. Don't you love it?
Packit 9795e1
      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
Packit 9795e1
	10.0,*86*-darwin8*|10.0,*-darwin[[91]]*)
Packit 9795e1
	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
Packit 9795e1
	10.[[012]][[,.]]*)
Packit 9795e1
	  _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
Packit 9795e1
	10.*)
Packit 9795e1
	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
Packit 9795e1
      esac
Packit 9795e1
    ;;
Packit 9795e1
  esac
Packit 9795e1
    if test yes = "$lt_cv_apple_cc_single_mod"; then
Packit 9795e1
      _lt_dar_single_mod='$single_module'
Packit 9795e1
    fi
Packit 9795e1
    if test yes = "$lt_cv_ld_exported_symbols_list"; then
Packit 9795e1
      _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
Packit 9795e1
    else
Packit 9795e1
      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
Packit 9795e1
    fi
Packit 9795e1
    if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
Packit 9795e1
      _lt_dsymutil='~$DSYMUTIL $lib || :'
Packit 9795e1
    else
Packit 9795e1
      _lt_dsymutil=
Packit 9795e1
    fi
Packit 9795e1
    ;;
Packit 9795e1
  esac
Packit 9795e1
])
Packit 9795e1
Packit 9795e1
Packit 9795e1
# _LT_DARWIN_LINKER_FEATURES([TAG])
Packit 9795e1
# ---------------------------------
Packit 9795e1
# Checks for linker and compiler features on darwin
Packit 9795e1
m4_defun([_LT_DARWIN_LINKER_FEATURES],
Packit 9795e1
[
Packit 9795e1
  m4_require([_LT_REQUIRED_DARWIN_CHECKS])
Packit 9795e1
  _LT_TAGVAR(archive_cmds_need_lc, $1)=no
Packit 9795e1
  _LT_TAGVAR(hardcode_direct, $1)=no
Packit 9795e1
  _LT_TAGVAR(hardcode_automatic, $1)=yes
Packit 9795e1
  _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
Packit 9795e1
  if test yes = "$lt_cv_ld_force_load"; then
Packit 9795e1
    _LT_TAGVAR(whole_archive_flag_spec, $1)='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
Packit 9795e1
    m4_case([$1], [F77], [_LT_TAGVAR(compiler_needs_object, $1)=yes],
Packit 9795e1
                  [FC],  [_LT_TAGVAR(compiler_needs_object, $1)=yes])
Packit 9795e1
  else
Packit 9795e1
    _LT_TAGVAR(whole_archive_flag_spec, $1)=''
Packit 9795e1
  fi
Packit 9795e1
  _LT_TAGVAR(link_all_deplibs, $1)=yes
Packit 9795e1
  _LT_TAGVAR(allow_undefined_flag, $1)=$_lt_dar_allow_undefined
Packit 9795e1
  case $cc_basename in
Packit 9795e1
     ifort*|nagfor*) _lt_dar_can_shared=yes ;;
Packit 9795e1
     *) _lt_dar_can_shared=$GCC ;;
Packit 9795e1
  esac
Packit 9795e1
  if test yes = "$_lt_dar_can_shared"; then
Packit 9795e1
    output_verbose_link_cmd=func_echo_all
Packit 9795e1
    _LT_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
Packit 9795e1
    _LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
Packit 9795e1
    _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dar_export_syms$_lt_dsymutil"
Packit 9795e1
    _LT_TAGVAR(module_expsym_cmds, $1)="sed -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil"
Packit 9795e1
    m4_if([$1], [CXX],
Packit 9795e1
[   if test yes != "$lt_cv_apple_cc_single_mod"; then
Packit 9795e1
      _LT_TAGVAR(archive_cmds, $1)="\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dsymutil"
Packit 9795e1
      _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dar_export_syms$_lt_dsymutil"
Packit 9795e1
    fi
Packit 9795e1
],[])
Packit 9795e1
  else
Packit 9795e1
  _LT_TAGVAR(ld_shlibs, $1)=no
Packit 9795e1
  fi
Packit 9795e1
])
Packit 9795e1
Packit 9795e1
# _LT_SYS_MODULE_PATH_AIX([TAGNAME])
Packit 9795e1
# ----------------------------------
Packit 9795e1
# Links a minimal program and checks the executable
Packit 9795e1
# for the system default hardcoded library path. In most cases,
Packit 9795e1
# this is /usr/lib:/lib, but when the MPI compilers are used
Packit 9795e1
# the location of the communication and MPI libs are included too.
Packit 9795e1
# If we don't find anything, use the default library path according
Packit 9795e1
# to the aix ld manual.
Packit 9795e1
# Store the results from the different compilers for each TAGNAME.
Packit 9795e1
# Allow to override them for all tags through lt_cv_aix_libpath.
Packit 9795e1
m4_defun([_LT_SYS_MODULE_PATH_AIX],
Packit 9795e1
[m4_require([_LT_DECL_SED])dnl
Packit 9795e1
if test set = "${lt_cv_aix_libpath+set}"; then
Packit 9795e1
  aix_libpath=$lt_cv_aix_libpath
Packit 9795e1
else
Packit 9795e1
  AC_CACHE_VAL([_LT_TAGVAR([lt_cv_aix_libpath_], [$1])],
Packit 9795e1
  [AC_LINK_IFELSE([AC_LANG_PROGRAM],[
Packit 9795e1
  lt_aix_libpath_sed='[
Packit 9795e1
      /Import File Strings/,/^$/ {
Packit 9795e1
	  /^0/ {
Packit 9795e1
	      s/^0  *\([^ ]*\) *$/\1/
Packit 9795e1
	      p
Packit 9795e1
	  }
Packit 9795e1
      }]'
Packit 9795e1
  _LT_TAGVAR([lt_cv_aix_libpath_], [$1])=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
Packit 9795e1
  # Check for a 64-bit object if we didn't find anything.
Packit 9795e1
  if test -z "$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])"; then
Packit 9795e1
    _LT_TAGVAR([lt_cv_aix_libpath_], [$1])=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
Packit 9795e1
  fi],[])
Packit 9795e1
  if test -z "$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])"; then
Packit 9795e1
    _LT_TAGVAR([lt_cv_aix_libpath_], [$1])=/usr/lib:/lib
Packit 9795e1
  fi
Packit 9795e1
  ])
Packit 9795e1
  aix_libpath=$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])
Packit 9795e1
fi
Packit 9795e1
])# _LT_SYS_MODULE_PATH_AIX
Packit 9795e1
Packit 9795e1
Packit 9795e1
# _LT_SHELL_INIT(ARG)
Packit 9795e1
# -------------------
Packit 9795e1
m4_define([_LT_SHELL_INIT],
Packit 9795e1
[m4_divert_text([M4SH-INIT], [$1
Packit 9795e1
])])# _LT_SHELL_INIT
Packit 9795e1
Packit 9795e1
Packit 9795e1
Packit 9795e1
# _LT_PROG_ECHO_BACKSLASH
Packit 9795e1
# -----------------------
Packit 9795e1
# Find how we can fake an echo command that does not interpret backslash.
Packit 9795e1
# In particular, with Autoconf 2.60 or later we add some code to the start
Packit 9795e1
# of the generated configure script that will find a shell with a builtin
Packit 9795e1
# printf (that we can use as an echo command).
Packit 9795e1
m4_defun([_LT_PROG_ECHO_BACKSLASH],
Packit 9795e1
[ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
Packit 9795e1
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
Packit 9795e1
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
Packit 9795e1
Packit 9795e1
AC_MSG_CHECKING([how to print strings])
Packit 9795e1
# Test print first, because it will be a builtin if present.
Packit 9795e1
if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
Packit 9795e1
   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
Packit 9795e1
  ECHO='print -r --'
Packit 9795e1
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
Packit 9795e1
  ECHO='printf %s\n'
Packit 9795e1
else
Packit 9795e1
  # Use this function as a fallback that always works.
Packit 9795e1
  func_fallback_echo ()
Packit 9795e1
  {
Packit 9795e1
    eval 'cat <<_LTECHO_EOF
Packit 9795e1
$[]1
Packit 9795e1
_LTECHO_EOF'
Packit 9795e1
  }
Packit 9795e1
  ECHO='func_fallback_echo'
Packit 9795e1
fi
Packit 9795e1
Packit 9795e1
# func_echo_all arg...
Packit 9795e1
# Invoke $ECHO with all args, space-separated.
Packit 9795e1
func_echo_all ()
Packit 9795e1
{
Packit 9795e1
    $ECHO "$*"
Packit 9795e1
}
Packit 9795e1
Packit 9795e1
case $ECHO in
Packit 9795e1
  printf*) AC_MSG_RESULT([printf]) ;;
Packit 9795e1
  print*) AC_MSG_RESULT([print -r]) ;;
Packit 9795e1
  *) AC_MSG_RESULT([cat]) ;;
Packit 9795e1
esac
Packit 9795e1
Packit 9795e1
m4_ifdef([_AS_DETECT_SUGGESTED],
Packit 9795e1
[_AS_DETECT_SUGGESTED([
Packit 9795e1
  test -n "${ZSH_VERSION+set}${BASH_VERSION+set}" || (
Packit 9795e1
    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
Packit 9795e1
    ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
Packit 9795e1
    ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
Packit 9795e1
    PATH=/empty FPATH=/empty; export PATH FPATH
Packit 9795e1
    test "X`printf %s $ECHO`" = "X$ECHO" \
Packit 9795e1
      || test "X`print -r -- $ECHO`" = "X$ECHO" )])])
Packit 9795e1
Packit 9795e1
_LT_DECL([], [SHELL], [1], [Shell to use when invoking shell scripts])
Packit 9795e1
_LT_DECL([], [ECHO], [1], [An echo program that protects backslashes])
Packit 9795e1
])# _LT_PROG_ECHO_BACKSLASH
Packit 9795e1
Packit 9795e1
Packit 9795e1
# _LT_WITH_SYSROOT
Packit 9795e1
# ----------------
Packit 9795e1
AC_DEFUN([_LT_WITH_SYSROOT],
Packit 9795e1
[AC_MSG_CHECKING([for sysroot])
Packit 9795e1
AC_ARG_WITH([sysroot],
Packit 9795e1
[AS_HELP_STRING([--with-sysroot@<:@=DIR@:>@],
Packit 9795e1
  [Search for dependent libraries within DIR (or the compiler's sysroot
Packit 9795e1
   if not specified).])],
Packit 9795e1
[], [with_sysroot=no])
Packit 9795e1
Packit 9795e1
dnl lt_sysroot will always be passed unquoted.  We quote it here
Packit 9795e1
dnl in case the user passed a directory name.
Packit 9795e1
lt_sysroot=
Packit 9795e1
case $with_sysroot in #(
Packit 9795e1
 yes)
Packit 9795e1
   if test yes = "$GCC"; then
Packit 9795e1
     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
Packit 9795e1
   fi
Packit 9795e1
   ;; #(
Packit 9795e1
 /*)
Packit 9795e1
   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
Packit 9795e1
   ;; #(
Packit 9795e1
 no|'')
Packit 9795e1
   ;; #(
Packit 9795e1
 *)
Packit 9795e1
   AC_MSG_RESULT([$with_sysroot])
Packit 9795e1
   AC_MSG_ERROR([The sysroot must be an absolute path.])
Packit 9795e1
   ;;
Packit 9795e1
esac
Packit 9795e1
Packit 9795e1
 AC_MSG_RESULT([${lt_sysroot:-no}])
Packit 9795e1
_LT_DECL([], [lt_sysroot], [0], [The root where to search for ]dnl
Packit 9795e1
[dependent libraries, and where our libraries should be installed.])])
Packit 9795e1
Packit 9795e1
# _LT_ENABLE_LOCK
Packit 9795e1
# ---------------
Packit 9795e1
m4_defun([_LT_ENABLE_LOCK],
Packit 9795e1
[AC_ARG_ENABLE([libtool-lock],
Packit 9795e1
  [AS_HELP_STRING([--disable-libtool-lock],
Packit 9795e1
    [avoid locking (might break parallel builds)])])
Packit 9795e1
test no = "$enable_libtool_lock" || enable_libtool_lock=yes
Packit 9795e1
Packit 9795e1
# Some flags need to be propagated to the compiler or linker for good
Packit 9795e1
# libtool support.
Packit 9795e1
case $host in
Packit 9795e1
ia64-*-hpux*)
Packit 9795e1
  # Find out what ABI is being produced by ac_compile, and set mode
Packit 9795e1
  # options accordingly.
Packit 9795e1
  echo 'int i;' > conftest.$ac_ext
Packit 9795e1
  if AC_TRY_EVAL(ac_compile); then
Packit 9795e1
    case `/usr/bin/file conftest.$ac_objext` in
Packit 9795e1
      *ELF-32*)
Packit 9795e1
	HPUX_IA64_MODE=32
Packit 9795e1
	;;
Packit 9795e1
      *ELF-64*)
Packit 9795e1
	HPUX_IA64_MODE=64
Packit 9795e1
	;;
Packit 9795e1
    esac
Packit 9795e1
  fi
Packit 9795e1
  rm -rf conftest*
Packit 9795e1
  ;;
Packit 9795e1
*-*-irix6*)
Packit 9795e1
  # Find out what ABI is being produced by ac_compile, and set linker
Packit 9795e1
  # options accordingly.
Packit 9795e1
  echo '[#]line '$LINENO' "configure"' > conftest.$ac_ext
Packit 9795e1
  if AC_TRY_EVAL(ac_compile); then
Packit 9795e1
    if test yes = "$lt_cv_prog_gnu_ld"; then
Packit 9795e1
      case `/usr/bin/file conftest.$ac_objext` in
Packit 9795e1
	*32-bit*)
Packit 9795e1
	  LD="${LD-ld} -melf32bsmip"
Packit 9795e1
	  ;;
Packit 9795e1
	*N32*)
Packit 9795e1
	  LD="${LD-ld} -melf32bmipn32"
Packit 9795e1
	  ;;
Packit 9795e1
	*64-bit*)
Packit 9795e1
	  LD="${LD-ld} -melf64bmip"
Packit 9795e1
	;;
Packit 9795e1
      esac
Packit 9795e1
    else
Packit 9795e1
      case `/usr/bin/file conftest.$ac_objext` in
Packit 9795e1
	*32-bit*)
Packit 9795e1
	  LD="${LD-ld} -32"
Packit 9795e1
	  ;;
Packit 9795e1
	*N32*)
Packit 9795e1
	  LD="${LD-ld} -n32"
Packit 9795e1
	  ;;
Packit 9795e1
	*64-bit*)
Packit 9795e1
	  LD="${LD-ld} -64"
Packit 9795e1
	  ;;
Packit 9795e1
      esac
Packit 9795e1
    fi
Packit 9795e1
  fi
Packit 9795e1
  rm -rf conftest*
Packit 9795e1
  ;;
Packit 9795e1
Packit 9795e1
mips64*-*linux*)
Packit 9795e1
  # Find out what ABI is being produced by ac_compile, and set linker
Packit 9795e1
  # options accordingly.
Packit 9795e1
  echo '[#]line '$LINENO' "configure"' > conftest.$ac_ext
Packit 9795e1
  if AC_TRY_EVAL(ac_compile); then
Packit 9795e1
    emul=elf
Packit 9795e1
    case `/usr/bin/file conftest.$ac_objext` in
Packit 9795e1
      *32-bit*)
Packit 9795e1
	emul="${emul}32"
Packit 9795e1
	;;
Packit 9795e1
      *64-bit*)
Packit 9795e1
	emul="${emul}64"
Packit 9795e1
	;;
Packit 9795e1
    esac
Packit 9795e1
    case `/usr/bin/file conftest.$ac_objext` in
Packit 9795e1
      *MSB*)
Packit 9795e1
	emul="${emul}btsmip"
Packit 9795e1
	;;
Packit 9795e1
      *LSB*)
Packit 9795e1
	emul="${emul}ltsmip"
Packit 9795e1
	;;
Packit 9795e1
    esac
Packit 9795e1
    case `/usr/bin/file conftest.$ac_objext` in
Packit 9795e1
      *N32*)
Packit 9795e1
	emul="${emul}n32"
Packit 9795e1
	;;
Packit 9795e1
    esac
Packit 9795e1
    LD="${LD-ld} -m $emul"
Packit 9795e1
  fi
Packit 9795e1
  rm -rf conftest*
Packit 9795e1
  ;;
Packit 9795e1
Packit 9795e1
x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
Packit 9795e1
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
Packit 9795e1
  # Find out what ABI is being produced by ac_compile, and set linker
Packit 9795e1
  # options accordingly.  Note that the listed cases only cover the
Packit 9795e1
  # situations where additional linker options are needed (such as when
Packit 9795e1
  # doing 32-bit compilation for a host where ld defaults to 64-bit, or
Packit 9795e1
  # vice versa); the common cases where no linker options are needed do
Packit 9795e1
  # not appear in the list.
Packit 9795e1
  echo 'int i;' > conftest.$ac_ext
Packit 9795e1
  if AC_TRY_EVAL(ac_compile); then
Packit 9795e1
    case `/usr/bin/file conftest.o` in
Packit 9795e1
      *32-bit*)
Packit 9795e1
	case $host in
Packit 9795e1
	  x86_64-*kfreebsd*-gnu)
Packit 9795e1
	    LD="${LD-ld} -m elf_i386_fbsd"
Packit 9795e1
	    ;;
Packit 9795e1
	  x86_64-*linux*)
Packit 9795e1
	    case `/usr/bin/file conftest.o` in
Packit 9795e1
	      *x86-64*)
Packit 9795e1
		LD="${LD-ld} -m elf32_x86_64"
Packit 9795e1
		;;
Packit 9795e1
	      *)
Packit 9795e1
		LD="${LD-ld} -m elf_i386"
Packit 9795e1
		;;
Packit 9795e1
	    esac
Packit 9795e1
	    ;;
Packit 9795e1
	  powerpc64le-*linux*)
Packit 9795e1
	    LD="${LD-ld} -m elf32lppclinux"
Packit 9795e1
	    ;;
Packit 9795e1
	  powerpc64-*linux*)
Packit 9795e1
	    LD="${LD-ld} -m elf32ppclinux"
Packit 9795e1
	    ;;
Packit 9795e1
	  s390x-*linux*)
Packit 9795e1
	    LD="${LD-ld} -m elf_s390"
Packit 9795e1
	    ;;
Packit 9795e1
	  sparc64-*linux*)
Packit 9795e1
	    LD="${LD-ld} -m elf32_sparc"
Packit 9795e1
	    ;;
Packit 9795e1
	esac
Packit 9795e1
	;;
Packit 9795e1
      *64-bit*)
Packit 9795e1
	case $host in
Packit 9795e1
	  x86_64-*kfreebsd*-gnu)
Packit 9795e1
	    LD="${LD-ld} -m elf_x86_64_fbsd"
Packit 9795e1
	    ;;
Packit 9795e1
	  x86_64-*linux*)
Packit 9795e1
	    LD="${LD-ld} -m elf_x86_64"
Packit 9795e1
	    ;;
Packit 9795e1
	  powerpcle-*linux*)
Packit 9795e1
	    LD="${LD-ld} -m elf64lppc"
Packit 9795e1
	    ;;
Packit 9795e1
	  powerpc-*linux*)
Packit 9795e1
	    LD="${LD-ld} -m elf64ppc"
Packit 9795e1
	    ;;
Packit 9795e1
	  s390*-*linux*|s390*-*tpf*)
Packit 9795e1
	    LD="${LD-ld} -m elf64_s390"
Packit 9795e1
	    ;;
Packit 9795e1
	  sparc*-*linux*)
Packit 9795e1
	    LD="${LD-ld} -m elf64_sparc"
Packit 9795e1
	    ;;
Packit 9795e1
	esac
Packit 9795e1
	;;
Packit 9795e1
    esac
Packit 9795e1
  fi
Packit 9795e1
  rm -rf conftest*
Packit 9795e1
  ;;
Packit 9795e1
Packit 9795e1
*-*-sco3.2v5*)
Packit 9795e1
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
Packit 9795e1
  SAVE_CFLAGS=$CFLAGS
Packit 9795e1
  CFLAGS="$CFLAGS -belf"
Packit 9795e1
  AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
Packit 9795e1
    [AC_LANG_PUSH(C)
Packit 9795e1
     AC_LINK_IFELSE([AC_LANG_PROGRAM([[]],[[]])],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])
Packit 9795e1
     AC_LANG_POP])
Packit 9795e1
  if test yes != "$lt_cv_cc_needs_belf"; then
Packit 9795e1
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
Packit 9795e1
    CFLAGS=$SAVE_CFLAGS
Packit 9795e1
  fi
Packit 9795e1
  ;;
Packit 9795e1
*-*solaris*)
Packit 9795e1
  # Find out what ABI is being produced by ac_compile, and set linker
Packit 9795e1
  # options accordingly.
Packit 9795e1
  echo 'int i;' > conftest.$ac_ext
Packit 9795e1
  if AC_TRY_EVAL(ac_compile); then
Packit 9795e1
    case `/usr/bin/file conftest.o` in
Packit 9795e1
    *64-bit*)
Packit 9795e1
      case $lt_cv_prog_gnu_ld in
Packit 9795e1
      yes*)
Packit 9795e1
        case $host in
Packit 9795e1
        i?86-*-solaris*|x86_64-*-solaris*)
Packit 9795e1
          LD="${LD-ld} -m elf_x86_64"
Packit 9795e1
          ;;
Packit 9795e1
        sparc*-*-solaris*)
Packit 9795e1
          LD="${LD-ld} -m elf64_sparc"
Packit 9795e1
          ;;
Packit 9795e1
        esac
Packit 9795e1
        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
Packit 9795e1
        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
Packit 9795e1
          LD=${LD-ld}_sol2
Packit 9795e1
        fi
Packit 9795e1
        ;;
Packit 9795e1
      *)
Packit 9795e1
	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
Packit 9795e1
	  LD="${LD-ld} -64"
Packit 9795e1
	fi
Packit 9795e1
	;;
Packit 9795e1
      esac
Packit 9795e1
      ;;
Packit 9795e1
    esac
Packit 9795e1
  fi
Packit 9795e1
  rm -rf conftest*
Packit 9795e1
  ;;
Packit 9795e1
esac
Packit 9795e1
Packit 9795e1
need_locks=$enable_libtool_lock
Packit 9795e1
])# _LT_ENABLE_LOCK
Packit 9795e1
Packit 9795e1
Packit 9795e1
# _LT_PROG_AR
Packit 9795e1
# -----------
Packit 9795e1
m4_defun([_LT_PROG_AR],
Packit 9795e1
[AC_CHECK_TOOLS(AR, [ar], false)
Packit 9795e1
: ${AR=ar}
Packit 9795e1
: ${AR_FLAGS=cru}
Packit 9795e1
_LT_DECL([], [AR], [1], [The archiver])
Packit 9795e1
_LT_DECL([], [AR_FLAGS], [1], [Flags to create an archive])
Packit 9795e1
Packit 9795e1
AC_CACHE_CHECK([for archiver @FILE support], [lt_cv_ar_at_file],
Packit 9795e1
  [lt_cv_ar_at_file=no
Packit 9795e1
   AC_COMPILE_IFELSE([AC_LANG_PROGRAM],
Packit 9795e1
     [echo conftest.$ac_objext > conftest.lst
Packit 9795e1
      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&AS_MESSAGE_LOG_FD'
Packit 9795e1
      AC_TRY_EVAL([lt_ar_try])
Packit 9795e1
      if test 0 -eq "$ac_status"; then
Packit 9795e1
	# Ensure the archiver fails upon bogus file names.
Packit 9795e1
	rm -f conftest.$ac_objext libconftest.a
Packit 9795e1
	AC_TRY_EVAL([lt_ar_try])
Packit 9795e1
	if test 0 -ne "$ac_status"; then
Packit 9795e1
          lt_cv_ar_at_file=@
Packit 9795e1
        fi
Packit 9795e1
      fi
Packit 9795e1
      rm -f conftest.* libconftest.a
Packit 9795e1
     ])
Packit 9795e1
  ])
Packit 9795e1
Packit 9795e1
if test no = "$lt_cv_ar_at_file"; then
Packit 9795e1
  archiver_list_spec=
Packit 9795e1
else
Packit 9795e1
  archiver_list_spec=$lt_cv_ar_at_file
Packit 9795e1
fi
Packit 9795e1
_LT_DECL([], [archiver_list_spec], [1],
Packit 9795e1
  [How to feed a file listing to the archiver])
Packit 9795e1
])# _LT_PROG_AR
Packit 9795e1
Packit 9795e1
Packit 9795e1
# _LT_CMD_OLD_ARCHIVE
Packit 9795e1
# -------------------
Packit 9795e1
m4_defun([_LT_CMD_OLD_ARCHIVE],
Packit 9795e1
[_LT_PROG_AR
Packit 9795e1
Packit 9795e1
AC_CHECK_TOOL(STRIP, strip, :)
Packit 9795e1
test -z "$STRIP" && STRIP=:
Packit 9795e1
_LT_DECL([], [STRIP], [1], [A symbol stripping program])
Packit 9795e1
Packit 9795e1
AC_CHECK_TOOL(RANLIB, ranlib, :)
Packit 9795e1
test -z "$RANLIB" && RANLIB=:
Packit 9795e1
_LT_DECL([], [RANLIB], [1],
Packit 9795e1
    [Commands used to install an old-style archive])
Packit 9795e1
Packit 9795e1
# Determine commands to create old-style static archives.
Packit 9795e1
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
Packit 9795e1
old_postinstall_cmds='chmod 644 $oldlib'
Packit 9795e1
old_postuninstall_cmds=
Packit 9795e1
Packit 9795e1
if test -n "$RANLIB"; then
Packit 9795e1
  case $host_os in
Packit 9795e1
  bitrig* | openbsd*)
Packit 9795e1
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
Packit 9795e1
    ;;
Packit 9795e1
  *)
Packit 9795e1
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
Packit 9795e1
    ;;
Packit 9795e1
  esac
Packit 9795e1
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
Packit 9795e1
fi
Packit 9795e1
Packit 9795e1
case $host_os in
Packit 9795e1
  darwin*)
Packit 9795e1
    lock_old_archive_extraction=yes ;;
Packit 9795e1
  *)
Packit 9795e1
    lock_old_archive_extraction=no ;;
Packit 9795e1
esac
Packit 9795e1
_LT_DECL([], [old_postinstall_cmds], [2])
Packit 9795e1
_LT_DECL([], [old_postuninstall_cmds], [2])
Packit 9795e1
_LT_TAGDECL([], [old_archive_cmds], [2],
Packit 9795e1
    [Commands used to build an old-style archive])
Packit 9795e1
_LT_DECL([], [lock_old_archive_extraction], [0],
Packit 9795e1
    [Whether to use a lock for old archive extraction])
Packit 9795e1
])# _LT_CMD_OLD_ARCHIVE
Packit 9795e1
Packit 9795e1
Packit 9795e1
# _LT_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
Packit 9795e1
#		[OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE])
Packit 9795e1
# ----------------------------------------------------------------
Packit 9795e1
# Check whether the given compiler option works
Packit 9795e1
AC_DEFUN([_LT_COMPILER_OPTION],
Packit 9795e1
[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
Packit 9795e1
m4_require([_LT_DECL_SED])dnl
Packit 9795e1
AC_CACHE_CHECK([$1], [$2],
Packit 9795e1
  [$2=no
Packit 9795e1
   m4_if([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
Packit 9795e1
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
Packit 9795e1
   lt_compiler_flag="$3"  ## exclude from sc_useless_quotes_in_assignment
Packit 9795e1
   # Insert the option either (1) after the last *FLAGS variable, or
Packit 9795e1
   # (2) before a word containing "conftest.", or (3) at the end.
Packit 9795e1
   # Note that $ac_compile itself does not contain backslashes and begins
Packit 9795e1
   # with a dollar sign (not a hyphen), so the echo should work correctly.
Packit 9795e1
   # The option is referenced via a variable to avoid confusing sed.
Packit 9795e1
   lt_compile=`echo "$ac_compile" | $SED \
Packit 9795e1
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
Packit 9795e1
   -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
Packit 9795e1
   -e 's:$: $lt_compiler_flag:'`
Packit 9795e1
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
Packit 9795e1
   (eval "$lt_compile" 2>conftest.err)
Packit 9795e1
   ac_status=$?
Packit 9795e1
   cat conftest.err >&AS_MESSAGE_LOG_FD
Packit 9795e1
   echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
Packit 9795e1
   if (exit $ac_status) && test -s "$ac_outfile"; then
Packit 9795e1
     # The compiler can only warn and ignore the option if not recognized
Packit 9795e1
     # So say no if there are warnings other than the usual output.
Packit 9795e1
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
Packit 9795e1
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
Packit 9795e1
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
Packit 9795e1
       $2=yes
Packit 9795e1
     fi
Packit 9795e1
   fi
Packit 9795e1
   $RM conftest*
Packit 9795e1
])
Packit 9795e1
Packit 9795e1
if test yes = "[$]$2"; then
Packit 9795e1
    m4_if([$5], , :, [$5])
Packit 9795e1
else
Packit 9795e1
    m4_if([$6], , :, [$6])
Packit 9795e1
fi
Packit 9795e1
])# _LT_COMPILER_OPTION
Packit 9795e1
Packit 9795e1
# Old name:
Packit 9795e1
AU_ALIAS([AC_LIBTOOL_COMPILER_OPTION], [_LT_COMPILER_OPTION])
Packit 9795e1
dnl aclocal-1.4 backwards compatibility:
Packit 9795e1
dnl AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], [])
Packit 9795e1
Packit 9795e1
Packit 9795e1
# _LT_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
Packit 9795e1
#                  [ACTION-SUCCESS], [ACTION-FAILURE])
Packit 9795e1
# ----------------------------------------------------
Packit 9795e1
# Check whether the given linker option works
Packit 9795e1
AC_DEFUN([_LT_LINKER_OPTION],
Packit 9795e1
[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
Packit 9795e1
m4_require([_LT_DECL_SED])dnl
Packit 9795e1
AC_CACHE_CHECK([$1], [$2],
Packit 9795e1
  [$2=no
Packit 9795e1
   save_LDFLAGS=$LDFLAGS
Packit 9795e1
   LDFLAGS="$LDFLAGS $3"
Packit 9795e1
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
Packit 9795e1
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
Packit 9795e1
     # The linker can only warn and ignore the option if not recognized
Packit 9795e1
     # So say no if there are warnings
Packit 9795e1
     if test -s conftest.err; then
Packit 9795e1
       # Append any errors to the config.log.
Packit 9795e1
       cat conftest.err 1>&AS_MESSAGE_LOG_FD
Packit 9795e1
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
Packit 9795e1
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
Packit 9795e1
       if diff conftest.exp conftest.er2 >/dev/null; then
Packit 9795e1
         $2=yes
Packit 9795e1
       fi
Packit 9795e1
     else
Packit 9795e1
       $2=yes
Packit 9795e1
     fi
Packit 9795e1
   fi
Packit 9795e1
   $RM -r conftest*
Packit 9795e1
   LDFLAGS=$save_LDFLAGS
Packit 9795e1
])
Packit 9795e1
Packit 9795e1
if test yes = "[$]$2"; then
Packit 9795e1
    m4_if([$4], , :, [$4])
Packit 9795e1
else
Packit 9795e1
    m4_if([$5], , :, [$5])
Packit 9795e1
fi
Packit 9795e1
])# _LT_LINKER_OPTION
Packit 9795e1
Packit 9795e1
# Old name:
Packit 9795e1
AU_ALIAS([AC_LIBTOOL_LINKER_OPTION], [_LT_LINKER_OPTION])
Packit 9795e1
dnl aclocal-1.4 backwards compatibility:
Packit 9795e1
dnl AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], [])
Packit 9795e1
Packit 9795e1
Packit 9795e1
# LT_CMD_MAX_LEN
Packit 9795e1
#---------------
Packit 9795e1
AC_DEFUN([LT_CMD_MAX_LEN],
Packit 9795e1
[AC_REQUIRE([AC_CANONICAL_HOST])dnl
Packit 9795e1
# find the maximum length of command line arguments
Packit 9795e1
AC_MSG_CHECKING([the maximum length of command line arguments])
Packit 9795e1
AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
Packit 9795e1
  i=0
Packit 9795e1
  teststring=ABCD
Packit 9795e1
Packit 9795e1
  case $build_os in
Packit 9795e1
  msdosdjgpp*)
Packit 9795e1
    # On DJGPP, this test can blow up pretty badly due to problems in libc
Packit 9795e1
    # (any single argument exceeding 2000 bytes causes a buffer overrun
Packit 9795e1
    # during glob expansion).  Even if it were fixed, the result of this
Packit 9795e1
    # check would be larger than it should be.
Packit 9795e1
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
Packit 9795e1
    ;;
Packit 9795e1
Packit 9795e1
  gnu*)
Packit 9795e1
    # Under GNU Hurd, this test is not required because there is
Packit 9795e1
    # no limit to the length of command line arguments.
Packit 9795e1
    # Libtool will interpret -1 as no limit whatsoever
Packit 9795e1
    lt_cv_sys_max_cmd_len=-1;
Packit 9795e1
    ;;
Packit 9795e1
Packit 9795e1
  cygwin* | mingw* | cegcc*)
Packit 9795e1
    # On Win9x/ME, this test blows up -- it succeeds, but takes
Packit 9795e1
    # about 5 minutes as the teststring grows exponentially.
Packit 9795e1
    # Worse, since 9x/ME are not pre-emptively multitasking,
Packit 9795e1
    # you end up with a "frozen" computer, even though with patience
Packit 9795e1
    # the test eventually succeeds (with a max line length of 256k).
Packit 9795e1
    # Instead, let's just punt: use the minimum linelength reported by
Packit 9795e1
    # all of the supported platforms: 8192 (on NT/2K/XP).
Packit 9795e1
    lt_cv_sys_max_cmd_len=8192;
Packit 9795e1
    ;;
Packit 9795e1
Packit 9795e1
  mint*)
Packit 9795e1
    # On MiNT this can take a long time and run out of memory.
Packit 9795e1
    lt_cv_sys_max_cmd_len=8192;
Packit 9795e1
    ;;
Packit 9795e1
Packit 9795e1
  amigaos*)
Packit 9795e1
    # On AmigaOS with pdksh, this test takes hours, literally.
Packit 9795e1
    # So we just punt and use a minimum line length of 8192.
Packit 9795e1
    lt_cv_sys_max_cmd_len=8192;
Packit 9795e1
    ;;
Packit 9795e1
Packit 9795e1
  bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
Packit 9795e1
    # This has been around since 386BSD, at least.  Likely further.
Packit 9795e1
    if test -x /sbin/sysctl; then
Packit 9795e1
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
Packit 9795e1
    elif test -x /usr/sbin/sysctl; then
Packit 9795e1
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
Packit 9795e1
    else
Packit 9795e1
      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
Packit 9795e1
    fi
Packit 9795e1
    # And add a safety zone
Packit 9795e1
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
Packit 9795e1
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
Packit 9795e1
    ;;
Packit 9795e1
Packit 9795e1
  interix*)
Packit 9795e1
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
Packit 9795e1
    lt_cv_sys_max_cmd_len=196608
Packit 9795e1
    ;;
Packit 9795e1
Packit 9795e1
  os2*)
Packit 9795e1
    # The test takes a long time on OS/2.
Packit 9795e1
    lt_cv_sys_max_cmd_len=8192
Packit 9795e1
    ;;
Packit 9795e1
Packit 9795e1
  osf*)
Packit 9795e1
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
Packit 9795e1
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
Packit 9795e1
    # nice to cause kernel panics so lets avoid the loop below.
Packit 9795e1
    # First set a reasonable default.
Packit 9795e1
    lt_cv_sys_max_cmd_len=16384
Packit 9795e1
    #
Packit 9795e1
    if test -x /sbin/sysconfig; then
Packit 9795e1
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
Packit 9795e1
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
Packit 9795e1
      esac
Packit 9795e1
    fi
Packit 9795e1
    ;;
Packit 9795e1
  sco3.2v5*)
Packit 9795e1
    lt_cv_sys_max_cmd_len=102400
Packit 9795e1
    ;;
Packit 9795e1
  sysv5* | sco5v6* | sysv4.2uw2*)
Packit 9795e1
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
Packit 9795e1
    if test -n "$kargmax"; then
Packit 9795e1
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[	 ]]//'`
Packit 9795e1
    else
Packit 9795e1
      lt_cv_sys_max_cmd_len=32768
Packit 9795e1
    fi
Packit 9795e1
    ;;
Packit 9795e1
  *)
Packit 9795e1
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
Packit 9795e1
    if test -n "$lt_cv_sys_max_cmd_len" && \
Packit 9795e1
       test undefined != "$lt_cv_sys_max_cmd_len"; then
Packit 9795e1
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
Packit 9795e1
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
Packit 9795e1
    else
Packit 9795e1
      # Make teststring a little bigger before we do anything with it.
Packit 9795e1
      # a 1K string should be a reasonable start.
Packit 9795e1
      for i in 1 2 3 4 5 6 7 8; do
Packit 9795e1
        teststring=$teststring$teststring
Packit 9795e1
      done
Packit 9795e1
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
Packit 9795e1
      # If test is not a shell built-in, we'll probably end up computing a
Packit 9795e1
      # maximum length that is only half of the actual maximum length, but
Packit 9795e1
      # we can't tell.
Packit 9795e1
      while { test X`env echo "$teststring$teststring" 2>/dev/null` \
Packit 9795e1
	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
Packit 9795e1
	      test 17 != "$i" # 1/2 MB should be enough
Packit 9795e1
      do
Packit 9795e1
        i=`expr $i + 1`
Packit 9795e1
        teststring=$teststring$teststring
Packit 9795e1
      done
Packit 9795e1
      # Only check the string length outside the loop.
Packit 9795e1
      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
Packit 9795e1
      teststring=
Packit 9795e1
      # Add a significant safety factor because C++ compilers can tack on
Packit 9795e1
      # massive amounts of additional arguments before passing them to the
Packit 9795e1
      # linker.  It appears as though 1/2 is a usable value.
Packit 9795e1
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
Packit 9795e1
    fi
Packit 9795e1
    ;;
Packit 9795e1
  esac
Packit 9795e1
])
Packit 9795e1
if test -n "$lt_cv_sys_max_cmd_len"; then
Packit 9795e1
  AC_MSG_RESULT($lt_cv_sys_max_cmd_len)
Packit 9795e1
else
Packit 9795e1
  AC_MSG_RESULT(none)
Packit 9795e1
fi
Packit 9795e1
max_cmd_len=$lt_cv_sys_max_cmd_len
Packit 9795e1
_LT_DECL([], [max_cmd_len], [0],
Packit 9795e1
    [What is the maximum length of a command?])
Packit 9795e1
])# LT_CMD_MAX_LEN
Packit 9795e1
Packit 9795e1
# Old name:
Packit 9795e1
AU_ALIAS([AC_LIBTOOL_SYS_MAX_CMD_LEN], [LT_CMD_MAX_LEN])
Packit 9795e1
dnl aclocal-1.4 backwards compatibility:
Packit 9795e1
dnl AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], [])
Packit 9795e1
Packit 9795e1
Packit 9795e1
# _LT_HEADER_DLFCN
Packit 9795e1
# ----------------
Packit 9795e1
m4_defun([_LT_HEADER_DLFCN],
Packit 9795e1
[AC_CHECK_HEADERS([dlfcn.h], [], [], [AC_INCLUDES_DEFAULT])dnl
Packit 9795e1
])# _LT_HEADER_DLFCN
Packit 9795e1
Packit 9795e1
Packit 9795e1
# _LT_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
Packit 9795e1
#                      ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
Packit 9795e1
# ----------------------------------------------------------------
Packit 9795e1
m4_defun([_LT_TRY_DLOPEN_SELF],
Packit 9795e1
[m4_require([_LT_HEADER_DLFCN])dnl
Packit 9795e1
if test yes = "$cross_compiling"; then :
Packit 9795e1
  [$4]
Packit 9795e1
else
Packit 9795e1
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
Packit 9795e1
  lt_status=$lt_dlunknown
Packit 9795e1
  cat > conftest.$ac_ext <<_LT_EOF
Packit 9795e1
[#line $LINENO "configure"
Packit 9795e1
#include "confdefs.h"
Packit 9795e1
Packit 9795e1
#if HAVE_DLFCN_H
Packit 9795e1
#include <dlfcn.h>
Packit 9795e1
#endif
Packit 9795e1
Packit 9795e1
#include <stdio.h>
Packit 9795e1
Packit 9795e1
#ifdef RTLD_GLOBAL
Packit 9795e1
#  define LT_DLGLOBAL		RTLD_GLOBAL
Packit 9795e1
#else
Packit 9795e1
#  ifdef DL_GLOBAL
Packit 9795e1
#    define LT_DLGLOBAL		DL_GLOBAL
Packit 9795e1
#  else
Packit 9795e1
#    define LT_DLGLOBAL		0
Packit 9795e1
#  endif
Packit 9795e1
#endif
Packit 9795e1
Packit 9795e1
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
Packit 9795e1
   find out it does not work in some platform. */
Packit 9795e1
#ifndef LT_DLLAZY_OR_NOW
Packit 9795e1
#  ifdef RTLD_LAZY
Packit 9795e1
#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
Packit 9795e1
#  else
Packit 9795e1
#    ifdef DL_LAZY
Packit 9795e1
#      define LT_DLLAZY_OR_NOW		DL_LAZY
Packit 9795e1
#    else
Packit 9795e1
#      ifdef RTLD_NOW
Packit 9795e1
#        define LT_DLLAZY_OR_NOW	RTLD_NOW
Packit 9795e1
#      else
Packit 9795e1
#        ifdef DL_NOW
Packit 9795e1
#          define LT_DLLAZY_OR_NOW	DL_NOW
Packit 9795e1
#        else
Packit 9795e1
#          define LT_DLLAZY_OR_NOW	0
Packit 9795e1
#        endif
Packit 9795e1
#      endif
Packit 9795e1
#    endif
Packit 9795e1
#  endif
Packit 9795e1
#endif
Packit 9795e1
Packit 9795e1
/* When -fvisibility=hidden is used, assume the code has been annotated
Packit 9795e1
   correspondingly for the symbols needed.  */
Packit 9795e1
#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
Packit 9795e1
int fnord () __attribute__((visibility("default")));
Packit 9795e1
#endif
Packit 9795e1
Packit 9795e1
int fnord () { return 42; }
Packit 9795e1
int main ()
Packit 9795e1
{
Packit 9795e1
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
Packit 9795e1
  int status = $lt_dlunknown;
Packit 9795e1
Packit 9795e1
  if (self)
Packit 9795e1
    {
Packit 9795e1
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
Packit 9795e1
      else
Packit 9795e1
        {
Packit 9795e1
	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
Packit 9795e1
          else puts (dlerror ());
Packit 9795e1
	}
Packit 9795e1
      /* dlclose (self); */
Packit 9795e1
    }
Packit 9795e1
  else
Packit 9795e1
    puts (dlerror ());
Packit 9795e1
Packit 9795e1
  return status;
Packit 9795e1
}]
Packit 9795e1
_LT_EOF
Packit 9795e1
  if AC_TRY_EVAL(ac_link) && test -s "conftest$ac_exeext" 2>/dev/null; then
Packit 9795e1
    (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null
Packit 9795e1
    lt_status=$?
Packit 9795e1
    case x$lt_status in
Packit 9795e1
      x$lt_dlno_uscore) $1 ;;
Packit 9795e1
      x$lt_dlneed_uscore) $2 ;;
Packit 9795e1
      x$lt_dlunknown|x*) $3 ;;
Packit 9795e1
    esac
Packit 9795e1
  else :
Packit 9795e1
    # compilation failed
Packit 9795e1
    $3
Packit 9795e1
  fi
Packit 9795e1
fi
Packit 9795e1
rm -fr conftest*
Packit 9795e1
])# _LT_TRY_DLOPEN_SELF
Packit 9795e1
Packit 9795e1
Packit 9795e1
# LT_SYS_DLOPEN_SELF
Packit 9795e1
# ------------------
Packit 9795e1
AC_DEFUN([LT_SYS_DLOPEN_SELF],
Packit 9795e1
[m4_require([_LT_HEADER_DLFCN])dnl
Packit 9795e1
if test yes != "$enable_dlopen"; then
Packit 9795e1
  enable_dlopen=unknown
Packit 9795e1
  enable_dlopen_self=unknown
Packit 9795e1
  enable_dlopen_self_static=unknown
Packit 9795e1
else
Packit 9795e1
  lt_cv_dlopen=no
Packit 9795e1
  lt_cv_dlopen_libs=
Packit 9795e1
Packit 9795e1
  case $host_os in
Packit 9795e1
  beos*)
Packit 9795e1
    lt_cv_dlopen=load_add_on
Packit 9795e1
    lt_cv_dlopen_libs=
Packit 9795e1
    lt_cv_dlopen_self=yes
Packit 9795e1
    ;;
Packit 9795e1
Packit 9795e1
  mingw* | pw32* | cegcc*)
Packit 9795e1
    lt_cv_dlopen=LoadLibrary
Packit 9795e1
    lt_cv_dlopen_libs=
Packit 9795e1
    ;;
Packit 9795e1
Packit 9795e1
  cygwin*)
Packit 9795e1
    lt_cv_dlopen=dlopen
Packit 9795e1
    lt_cv_dlopen_libs=
Packit 9795e1
    ;;
Packit 9795e1
Packit 9795e1
  darwin*)
Packit 9795e1
    # if libdl is installed we need to link against it
Packit 9795e1
    AC_CHECK_LIB([dl], [dlopen],
Packit 9795e1
		[lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl],[
Packit 9795e1
    lt_cv_dlopen=dyld
Packit 9795e1
    lt_cv_dlopen_libs=
Packit 9795e1
    lt_cv_dlopen_self=yes
Packit 9795e1
    ])
Packit 9795e1
    ;;
Packit 9795e1
Packit 9795e1
  tpf*)
Packit 9795e1
    # Don't try to run any link tests for TPF.  We know it's impossible
Packit 9795e1
    # because TPF is a cross-compiler, and we know how we open DSOs.
Packit 9795e1
    lt_cv_dlopen=dlopen
Packit 9795e1
    lt_cv_dlopen_libs=
Packit 9795e1
    lt_cv_dlopen_self=no
Packit 9795e1
    ;;
Packit 9795e1
Packit 9795e1
  *)
Packit 9795e1
    AC_CHECK_FUNC([shl_load],
Packit 9795e1
	  [lt_cv_dlopen=shl_load],
Packit 9795e1
      [AC_CHECK_LIB([dld], [shl_load],
Packit 9795e1
	    [lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld],
Packit 9795e1
	[AC_CHECK_FUNC([dlopen],
Packit 9795e1
	      [lt_cv_dlopen=dlopen],
Packit 9795e1
	  [AC_CHECK_LIB([dl], [dlopen],
Packit 9795e1
		[lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl],
Packit 9795e1
	    [AC_CHECK_LIB([svld], [dlopen],
Packit 9795e1
		  [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld],
Packit 9795e1
	      [AC_CHECK_LIB([dld], [dld_link],
Packit 9795e1
		    [lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld])
Packit 9795e1
	      ])
Packit 9795e1
	    ])
Packit 9795e1
	  ])
Packit 9795e1
	])
Packit 9795e1
      ])
Packit 9795e1
    ;;
Packit 9795e1
  esac
Packit 9795e1
Packit 9795e1
  if test no = "$lt_cv_dlopen"; then
Packit 9795e1
    enable_dlopen=no
Packit 9795e1
  else
Packit 9795e1
    enable_dlopen=yes
Packit 9795e1
  fi
Packit 9795e1
Packit 9795e1
  case $lt_cv_dlopen in
Packit 9795e1
  dlopen)
Packit 9795e1
    save_CPPFLAGS=$CPPFLAGS
Packit 9795e1
    test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
Packit 9795e1
Packit 9795e1
    save_LDFLAGS=$LDFLAGS
Packit 9795e1
    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
Packit 9795e1
Packit 9795e1
    save_LIBS=$LIBS
Packit 9795e1
    LIBS="$lt_cv_dlopen_libs $LIBS"
Packit 9795e1
Packit 9795e1
    AC_CACHE_CHECK([whether a program can dlopen itself],
Packit 9795e1
	  lt_cv_dlopen_self, [dnl
Packit 9795e1
	  _LT_TRY_DLOPEN_SELF(
Packit 9795e1
	    lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes,
Packit 9795e1
	    lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross)
Packit 9795e1
    ])
Packit 9795e1
Packit 9795e1
    if test yes = "$lt_cv_dlopen_self"; then
Packit 9795e1
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
Packit 9795e1
      AC_CACHE_CHECK([whether a statically linked program can dlopen itself],
Packit 9795e1
	  lt_cv_dlopen_self_static, [dnl
Packit 9795e1
	  _LT_TRY_DLOPEN_SELF(
Packit 9795e1
	    lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes,
Packit 9795e1
	    lt_cv_dlopen_self_static=no,  lt_cv_dlopen_self_static=cross)
Packit 9795e1
      ])
Packit 9795e1
    fi
Packit 9795e1
Packit 9795e1
    CPPFLAGS=$save_CPPFLAGS
Packit 9795e1
    LDFLAGS=$save_LDFLAGS
Packit 9795e1
    LIBS=$save_LIBS
Packit 9795e1
    ;;
Packit 9795e1
  esac
Packit 9795e1
Packit 9795e1
  case $lt_cv_dlopen_self in
Packit 9795e1
  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
Packit 9795e1
  *) enable_dlopen_self=unknown ;;
Packit 9795e1
  esac
Packit 9795e1
Packit 9795e1
  case $lt_cv_dlopen_self_static in
Packit 9795e1
  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
Packit 9795e1
  *) enable_dlopen_self_static=unknown ;;
Packit 9795e1
  esac
Packit 9795e1
fi
Packit 9795e1
_LT_DECL([dlopen_support], [enable_dlopen], [0],
Packit 9795e1
	 [Whether dlopen is supported])
Packit 9795e1
_LT_DECL([dlopen_self], [enable_dlopen_self], [0],
Packit 9795e1
	 [Whether dlopen of programs is supported])
Packit 9795e1
_LT_DECL([dlopen_self_static], [enable_dlopen_self_static], [0],
Packit 9795e1
	 [Whether dlopen of statically linked programs is supported])
Packit 9795e1
])# LT_SYS_DLOPEN_SELF
Packit 9795e1
Packit 9795e1
# Old name:
Packit 9795e1
AU_ALIAS([AC_LIBTOOL_DLOPEN_SELF], [LT_SYS_DLOPEN_SELF])
Packit 9795e1
dnl aclocal-1.4 backwards compatibility:
Packit 9795e1
dnl AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF], [])
Packit 9795e1
Packit 9795e1
Packit 9795e1
# _LT_COMPILER_C_O([TAGNAME])
Packit 9795e1
# ---------------------------
Packit 9795e1
# Check to see if options -c and -o are simultaneously supported by compiler.
Packit 9795e1
# This macro does not hard code the compiler like AC_PROG_CC_C_O.
Packit 9795e1
m4_defun([_LT_COMPILER_C_O],
Packit 9795e1
[m4_require([_LT_DECL_SED])dnl
Packit 9795e1
m4_require([_LT_FILEUTILS_DEFAULTS])dnl
Packit 9795e1
m4_require([_LT_TAG_COMPILER])dnl
Packit 9795e1
AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext],
Packit 9795e1
  [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)],
Packit 9795e1
  [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no
Packit 9795e1
   $RM -r conftest 2>/dev/null
Packit 9795e1
   mkdir conftest
Packit 9795e1
   cd conftest
Packit 9795e1
   mkdir out
Packit 9795e1
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
Packit 9795e1
Packit 9795e1
   lt_compiler_flag="-o out/conftest2.$ac_objext"
Packit