Blame hwmixvolume/aclocal.m4

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