1# generated automatically by aclocal 1.15.1 -*- Autoconf -*-
2
3# Copyright (C) 1996-2017 Free Software Foundation, Inc.
4
5# This file is free software; the Free Software Foundation
6# gives unlimited permission to copy and/or distribute it,
7# with or without modifications, as long as this notice is preserved.
8
9# This program is distributed in the hope that it will be useful,
10# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
11# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
12# PARTICULAR PURPOSE.
13
14m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])])
15m4_ifndef([AC_AUTOCONF_VERSION],
16  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
17m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],,
18[m4_warning([this file was generated for autoconf 2.69.
19You have another version of autoconf.  It may work, but is not guaranteed to.
20If you have problems, you may need to regenerate the build system entirely.
21To do so, use the procedure documented by the package, typically 'autoreconf'.])])
22
23# longlong.m4 serial 17
24dnl Copyright (C) 1999-2007, 2009-2016 Free Software Foundation, Inc.
25dnl This file is free software; the Free Software Foundation
26dnl gives unlimited permission to copy and/or distribute it,
27dnl with or without modifications, as long as this notice is preserved.
28
29dnl From Paul Eggert.
30
31# Define HAVE_LONG_LONG_INT if 'long long int' works.
32# This fixes a bug in Autoconf 2.61, and can be faster
33# than what's in Autoconf 2.62 through 2.68.
34
35# Note: If the type 'long long int' exists but is only 32 bits large
36# (as on some very old compilers), HAVE_LONG_LONG_INT will not be
37# defined. In this case you can treat 'long long int' like 'long int'.
38
39AC_DEFUN([AC_TYPE_LONG_LONG_INT],
40[
41  AC_REQUIRE([AC_TYPE_UNSIGNED_LONG_LONG_INT])
42  AC_CACHE_CHECK([for long long int], [ac_cv_type_long_long_int],
43     [ac_cv_type_long_long_int=yes
44      if test "x${ac_cv_prog_cc_c99-no}" = xno; then
45        ac_cv_type_long_long_int=$ac_cv_type_unsigned_long_long_int
46        if test $ac_cv_type_long_long_int = yes; then
47          dnl Catch a bug in Tandem NonStop Kernel (OSS) cc -O circa 2004.
48          dnl If cross compiling, assume the bug is not important, since
49          dnl nobody cross compiles for this platform as far as we know.
50          AC_RUN_IFELSE(
51            [AC_LANG_PROGRAM(
52               [[@%:@include <limits.h>
53                 @%:@ifndef LLONG_MAX
54                 @%:@ define HALF \
55                          (1LL << (sizeof (long long int) * CHAR_BIT - 2))
56                 @%:@ define LLONG_MAX (HALF - 1 + HALF)
57                 @%:@endif]],
58               [[long long int n = 1;
59                 int i;
60                 for (i = 0; ; i++)
61                   {
62                     long long int m = n << i;
63                     if (m >> i != n)
64                       return 1;
65                     if (LLONG_MAX / 2 < m)
66                       break;
67                   }
68                 return 0;]])],
69            [],
70            [ac_cv_type_long_long_int=no],
71            [:])
72        fi
73      fi])
74  if test $ac_cv_type_long_long_int = yes; then
75    AC_DEFINE([HAVE_LONG_LONG_INT], [1],
76      [Define to 1 if the system has the type 'long long int'.])
77  fi
78])
79
80# Define HAVE_UNSIGNED_LONG_LONG_INT if 'unsigned long long int' works.
81# This fixes a bug in Autoconf 2.61, and can be faster
82# than what's in Autoconf 2.62 through 2.68.
83
84# Note: If the type 'unsigned long long int' exists but is only 32 bits
85# large (as on some very old compilers), AC_TYPE_UNSIGNED_LONG_LONG_INT
86# will not be defined. In this case you can treat 'unsigned long long int'
87# like 'unsigned long int'.
88
89AC_DEFUN([AC_TYPE_UNSIGNED_LONG_LONG_INT],
90[
91  AC_CACHE_CHECK([for unsigned long long int],
92    [ac_cv_type_unsigned_long_long_int],
93    [ac_cv_type_unsigned_long_long_int=yes
94     if test "x${ac_cv_prog_cc_c99-no}" = xno; then
95       AC_LINK_IFELSE(
96         [_AC_TYPE_LONG_LONG_SNIPPET],
97         [],
98         [ac_cv_type_unsigned_long_long_int=no])
99     fi])
100  if test $ac_cv_type_unsigned_long_long_int = yes; then
101    AC_DEFINE([HAVE_UNSIGNED_LONG_LONG_INT], [1],
102      [Define to 1 if the system has the type 'unsigned long long int'.])
103  fi
104])
105
106# Expands to a C program that can be used to test for simultaneous support
107# of 'long long' and 'unsigned long long'. We don't want to say that
108# 'long long' is available if 'unsigned long long' is not, or vice versa,
109# because too many programs rely on the symmetry between signed and unsigned
110# integer types (excluding 'bool').
111AC_DEFUN([_AC_TYPE_LONG_LONG_SNIPPET],
112[
113  AC_LANG_PROGRAM(
114    [[/* For now, do not test the preprocessor; as of 2007 there are too many
115         implementations with broken preprocessors.  Perhaps this can
116         be revisited in 2012.  In the meantime, code should not expect
117         #if to work with literals wider than 32 bits.  */
118      /* Test literals.  */
119      long long int ll = 9223372036854775807ll;
120      long long int nll = -9223372036854775807LL;
121      unsigned long long int ull = 18446744073709551615ULL;
122      /* Test constant expressions.   */
123      typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll)
124                     ? 1 : -1)];
125      typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1
126                     ? 1 : -1)];
127      int i = 63;]],
128    [[/* Test availability of runtime routines for shift and division.  */
129      long long int llmax = 9223372036854775807ll;
130      unsigned long long int ullmax = 18446744073709551615ull;
131      return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i)
132              | (llmax / ll) | (llmax % ll)
133              | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i)
134              | (ullmax / ull) | (ullmax % ull));]])
135])
136
137# Copyright (C) 2002-2017 Free Software Foundation, Inc.
138#
139# This file is free software; the Free Software Foundation
140# gives unlimited permission to copy and/or distribute it,
141# with or without modifications, as long as this notice is preserved.
142
143# AM_AUTOMAKE_VERSION(VERSION)
144# ----------------------------
145# Automake X.Y traces this macro to ensure aclocal.m4 has been
146# generated from the m4 files accompanying Automake X.Y.
147# (This private macro should not be called outside this file.)
148AC_DEFUN([AM_AUTOMAKE_VERSION],
149[am__api_version='1.15'
150dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
151dnl require some minimum version.  Point them to the right macro.
152m4_if([$1], [1.15.1], [],
153      [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
154])
155
156# _AM_AUTOCONF_VERSION(VERSION)
157# -----------------------------
158# aclocal traces this macro to find the Autoconf version.
159# This is a private macro too.  Using m4_define simplifies
160# the logic in aclocal, which can simply ignore this definition.
161m4_define([_AM_AUTOCONF_VERSION], [])
162
163# AM_SET_CURRENT_AUTOMAKE_VERSION
164# -------------------------------
165# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
166# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
167AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
168[AM_AUTOMAKE_VERSION([1.15.1])dnl
169m4_ifndef([AC_AUTOCONF_VERSION],
170  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
171_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
172
173# AM_AUX_DIR_EXPAND                                         -*- Autoconf -*-
174
175# Copyright (C) 2001-2017 Free Software Foundation, Inc.
176#
177# This file is free software; the Free Software Foundation
178# gives unlimited permission to copy and/or distribute it,
179# with or without modifications, as long as this notice is preserved.
180
181# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
182# $ac_aux_dir to '$srcdir/foo'.  In other projects, it is set to
183# '$srcdir', '$srcdir/..', or '$srcdir/../..'.
184#
185# Of course, Automake must honor this variable whenever it calls a
186# tool from the auxiliary directory.  The problem is that $srcdir (and
187# therefore $ac_aux_dir as well) can be either absolute or relative,
188# depending on how configure is run.  This is pretty annoying, since
189# it makes $ac_aux_dir quite unusable in subdirectories: in the top
190# source directory, any form will work fine, but in subdirectories a
191# relative path needs to be adjusted first.
192#
193# $ac_aux_dir/missing
194#    fails when called from a subdirectory if $ac_aux_dir is relative
195# $top_srcdir/$ac_aux_dir/missing
196#    fails if $ac_aux_dir is absolute,
197#    fails when called from a subdirectory in a VPATH build with
198#          a relative $ac_aux_dir
199#
200# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
201# are both prefixed by $srcdir.  In an in-source build this is usually
202# harmless because $srcdir is '.', but things will broke when you
203# start a VPATH build or use an absolute $srcdir.
204#
205# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
206# iff we strip the leading $srcdir from $ac_aux_dir.  That would be:
207#   am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
208# and then we would define $MISSING as
209#   MISSING="\${SHELL} $am_aux_dir/missing"
210# This will work as long as MISSING is not called from configure, because
211# unfortunately $(top_srcdir) has no meaning in configure.
212# However there are other variables, like CC, which are often used in
213# configure, and could therefore not use this "fixed" $ac_aux_dir.
214#
215# Another solution, used here, is to always expand $ac_aux_dir to an
216# absolute PATH.  The drawback is that using absolute paths prevent a
217# configured tree to be moved without reconfiguration.
218
219AC_DEFUN([AM_AUX_DIR_EXPAND],
220[AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
221# Expand $ac_aux_dir to an absolute path.
222am_aux_dir=`cd "$ac_aux_dir" && pwd`
223])
224
225# AM_CONDITIONAL                                            -*- Autoconf -*-
226
227# Copyright (C) 1997-2017 Free Software Foundation, Inc.
228#
229# This file is free software; the Free Software Foundation
230# gives unlimited permission to copy and/or distribute it,
231# with or without modifications, as long as this notice is preserved.
232
233# AM_CONDITIONAL(NAME, SHELL-CONDITION)
234# -------------------------------------
235# Define a conditional.
236AC_DEFUN([AM_CONDITIONAL],
237[AC_PREREQ([2.52])dnl
238 m4_if([$1], [TRUE],  [AC_FATAL([$0: invalid condition: $1])],
239       [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
240AC_SUBST([$1_TRUE])dnl
241AC_SUBST([$1_FALSE])dnl
242_AM_SUBST_NOTMAKE([$1_TRUE])dnl
243_AM_SUBST_NOTMAKE([$1_FALSE])dnl
244m4_define([_AM_COND_VALUE_$1], [$2])dnl
245if $2; then
246  $1_TRUE=
247  $1_FALSE='#'
248else
249  $1_TRUE='#'
250  $1_FALSE=
251fi
252AC_CONFIG_COMMANDS_PRE(
253[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
254  AC_MSG_ERROR([[conditional "$1" was never defined.
255Usually this means the macro was only invoked conditionally.]])
256fi])])
257
258# Copyright (C) 1999-2017 Free Software Foundation, Inc.
259#
260# This file is free software; the Free Software Foundation
261# gives unlimited permission to copy and/or distribute it,
262# with or without modifications, as long as this notice is preserved.
263
264
265# There are a few dirty hacks below to avoid letting 'AC_PROG_CC' be
266# written in clear, in which case automake, when reading aclocal.m4,
267# will think it sees a *use*, and therefore will trigger all it's
268# C support machinery.  Also note that it means that autoscan, seeing
269# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
270
271
272# _AM_DEPENDENCIES(NAME)
273# ----------------------
274# See how the compiler implements dependency checking.
275# NAME is "CC", "CXX", "OBJC", "OBJCXX", "UPC", or "GJC".
276# We try a few techniques and use that to set a single cache variable.
277#
278# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
279# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
280# dependency, and given that the user is not expected to run this macro,
281# just rely on AC_PROG_CC.
282AC_DEFUN([_AM_DEPENDENCIES],
283[AC_REQUIRE([AM_SET_DEPDIR])dnl
284AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
285AC_REQUIRE([AM_MAKE_INCLUDE])dnl
286AC_REQUIRE([AM_DEP_TRACK])dnl
287
288m4_if([$1], [CC],   [depcc="$CC"   am_compiler_list=],
289      [$1], [CXX],  [depcc="$CXX"  am_compiler_list=],
290      [$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
291      [$1], [OBJCXX], [depcc="$OBJCXX" am_compiler_list='gcc3 gcc'],
292      [$1], [UPC],  [depcc="$UPC"  am_compiler_list=],
293      [$1], [GCJ],  [depcc="$GCJ"  am_compiler_list='gcc3 gcc'],
294                    [depcc="$$1"   am_compiler_list=])
295
296AC_CACHE_CHECK([dependency style of $depcc],
297               [am_cv_$1_dependencies_compiler_type],
298[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
299  # We make a subdir and do the tests there.  Otherwise we can end up
300  # making bogus files that we don't know about and never remove.  For
301  # instance it was reported that on HP-UX the gcc test will end up
302  # making a dummy file named 'D' -- because '-MD' means "put the output
303  # in D".
304  rm -rf conftest.dir
305  mkdir conftest.dir
306  # Copy depcomp to subdir because otherwise we won't find it if we're
307  # using a relative directory.
308  cp "$am_depcomp" conftest.dir
309  cd conftest.dir
310  # We will build objects and dependencies in a subdirectory because
311  # it helps to detect inapplicable dependency modes.  For instance
312  # both Tru64's cc and ICC support -MD to output dependencies as a
313  # side effect of compilation, but ICC will put the dependencies in
314  # the current directory while Tru64 will put them in the object
315  # directory.
316  mkdir sub
317
318  am_cv_$1_dependencies_compiler_type=none
319  if test "$am_compiler_list" = ""; then
320     am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
321  fi
322  am__universal=false
323  m4_case([$1], [CC],
324    [case " $depcc " in #(
325     *\ -arch\ *\ -arch\ *) am__universal=true ;;
326     esac],
327    [CXX],
328    [case " $depcc " in #(
329     *\ -arch\ *\ -arch\ *) am__universal=true ;;
330     esac])
331
332  for depmode in $am_compiler_list; do
333    # Setup a source with many dependencies, because some compilers
334    # like to wrap large dependency lists on column 80 (with \), and
335    # we should not choose a depcomp mode which is confused by this.
336    #
337    # We need to recreate these files for each test, as the compiler may
338    # overwrite some of them when testing with obscure command lines.
339    # This happens at least with the AIX C compiler.
340    : > sub/conftest.c
341    for i in 1 2 3 4 5 6; do
342      echo '#include "conftst'$i'.h"' >> sub/conftest.c
343      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
344      # Solaris 10 /bin/sh.
345      echo '/* dummy */' > sub/conftst$i.h
346    done
347    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
348
349    # We check with '-c' and '-o' for the sake of the "dashmstdout"
350    # mode.  It turns out that the SunPro C++ compiler does not properly
351    # handle '-M -o', and we need to detect this.  Also, some Intel
352    # versions had trouble with output in subdirs.
353    am__obj=sub/conftest.${OBJEXT-o}
354    am__minus_obj="-o $am__obj"
355    case $depmode in
356    gcc)
357      # This depmode causes a compiler race in universal mode.
358      test "$am__universal" = false || continue
359      ;;
360    nosideeffect)
361      # After this tag, mechanisms are not by side-effect, so they'll
362      # only be used when explicitly requested.
363      if test "x$enable_dependency_tracking" = xyes; then
364	continue
365      else
366	break
367      fi
368      ;;
369    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
370      # This compiler won't grok '-c -o', but also, the minuso test has
371      # not run yet.  These depmodes are late enough in the game, and
372      # so weak that their functioning should not be impacted.
373      am__obj=conftest.${OBJEXT-o}
374      am__minus_obj=
375      ;;
376    none) break ;;
377    esac
378    if depmode=$depmode \
379       source=sub/conftest.c object=$am__obj \
380       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
381       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
382         >/dev/null 2>conftest.err &&
383       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
384       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
385       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
386       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
387      # icc doesn't choke on unknown options, it will just issue warnings
388      # or remarks (even with -Werror).  So we grep stderr for any message
389      # that says an option was ignored or not supported.
390      # When given -MP, icc 7.0 and 7.1 complain thusly:
391      #   icc: Command line warning: ignoring option '-M'; no argument required
392      # The diagnosis changed in icc 8.0:
393      #   icc: Command line remark: option '-MP' not supported
394      if (grep 'ignoring option' conftest.err ||
395          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
396        am_cv_$1_dependencies_compiler_type=$depmode
397        break
398      fi
399    fi
400  done
401
402  cd ..
403  rm -rf conftest.dir
404else
405  am_cv_$1_dependencies_compiler_type=none
406fi
407])
408AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
409AM_CONDITIONAL([am__fastdep$1], [
410  test "x$enable_dependency_tracking" != xno \
411  && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
412])
413
414
415# AM_SET_DEPDIR
416# -------------
417# Choose a directory name for dependency files.
418# This macro is AC_REQUIREd in _AM_DEPENDENCIES.
419AC_DEFUN([AM_SET_DEPDIR],
420[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
421AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
422])
423
424
425# AM_DEP_TRACK
426# ------------
427AC_DEFUN([AM_DEP_TRACK],
428[AC_ARG_ENABLE([dependency-tracking], [dnl
429AS_HELP_STRING(
430  [--enable-dependency-tracking],
431  [do not reject slow dependency extractors])
432AS_HELP_STRING(
433  [--disable-dependency-tracking],
434  [speeds up one-time build])])
435if test "x$enable_dependency_tracking" != xno; then
436  am_depcomp="$ac_aux_dir/depcomp"
437  AMDEPBACKSLASH='\'
438  am__nodep='_no'
439fi
440AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
441AC_SUBST([AMDEPBACKSLASH])dnl
442_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
443AC_SUBST([am__nodep])dnl
444_AM_SUBST_NOTMAKE([am__nodep])dnl
445])
446
447# Generate code to set up dependency tracking.              -*- Autoconf -*-
448
449# Copyright (C) 1999-2017 Free Software Foundation, Inc.
450#
451# This file is free software; the Free Software Foundation
452# gives unlimited permission to copy and/or distribute it,
453# with or without modifications, as long as this notice is preserved.
454
455
456# _AM_OUTPUT_DEPENDENCY_COMMANDS
457# ------------------------------
458AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
459[{
460  # Older Autoconf quotes --file arguments for eval, but not when files
461  # are listed without --file.  Let's play safe and only enable the eval
462  # if we detect the quoting.
463  case $CONFIG_FILES in
464  *\'*) eval set x "$CONFIG_FILES" ;;
465  *)   set x $CONFIG_FILES ;;
466  esac
467  shift
468  for mf
469  do
470    # Strip MF so we end up with the name of the file.
471    mf=`echo "$mf" | sed -e 's/:.*$//'`
472    # Check whether this is an Automake generated Makefile or not.
473    # We used to match only the files named 'Makefile.in', but
474    # some people rename them; so instead we look at the file content.
475    # Grep'ing the first line is not enough: some people post-process
476    # each Makefile.in and add a new line on top of each file to say so.
477    # Grep'ing the whole file is not good either: AIX grep has a line
478    # limit of 2048, but all sed's we know have understand at least 4000.
479    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
480      dirpart=`AS_DIRNAME("$mf")`
481    else
482      continue
483    fi
484    # Extract the definition of DEPDIR, am__include, and am__quote
485    # from the Makefile without running 'make'.
486    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
487    test -z "$DEPDIR" && continue
488    am__include=`sed -n 's/^am__include = //p' < "$mf"`
489    test -z "$am__include" && continue
490    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
491    # Find all dependency output files, they are included files with
492    # $(DEPDIR) in their names.  We invoke sed twice because it is the
493    # simplest approach to changing $(DEPDIR) to its actual value in the
494    # expansion.
495    for file in `sed -n "
496      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
497	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
498      # Make sure the directory exists.
499      test -f "$dirpart/$file" && continue
500      fdir=`AS_DIRNAME(["$file"])`
501      AS_MKDIR_P([$dirpart/$fdir])
502      # echo "creating $dirpart/$file"
503      echo '# dummy' > "$dirpart/$file"
504    done
505  done
506}
507])# _AM_OUTPUT_DEPENDENCY_COMMANDS
508
509
510# AM_OUTPUT_DEPENDENCY_COMMANDS
511# -----------------------------
512# This macro should only be invoked once -- use via AC_REQUIRE.
513#
514# This code is only required when automatic dependency tracking
515# is enabled.  FIXME.  This creates each '.P' file that we will
516# need in order to bootstrap the dependency handling code.
517AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
518[AC_CONFIG_COMMANDS([depfiles],
519     [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
520     [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
521])
522
523# Do all the work for Automake.                             -*- Autoconf -*-
524
525# Copyright (C) 1996-2017 Free Software Foundation, Inc.
526#
527# This file is free software; the Free Software Foundation
528# gives unlimited permission to copy and/or distribute it,
529# with or without modifications, as long as this notice is preserved.
530
531# This macro actually does too much.  Some checks are only needed if
532# your package does certain things.  But this isn't really a big deal.
533
534dnl Redefine AC_PROG_CC to automatically invoke _AM_PROG_CC_C_O.
535m4_define([AC_PROG_CC],
536m4_defn([AC_PROG_CC])
537[_AM_PROG_CC_C_O
538])
539
540# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
541# AM_INIT_AUTOMAKE([OPTIONS])
542# -----------------------------------------------
543# The call with PACKAGE and VERSION arguments is the old style
544# call (pre autoconf-2.50), which is being phased out.  PACKAGE
545# and VERSION should now be passed to AC_INIT and removed from
546# the call to AM_INIT_AUTOMAKE.
547# We support both call styles for the transition.  After
548# the next Automake release, Autoconf can make the AC_INIT
549# arguments mandatory, and then we can depend on a new Autoconf
550# release and drop the old call support.
551AC_DEFUN([AM_INIT_AUTOMAKE],
552[AC_PREREQ([2.65])dnl
553dnl Autoconf wants to disallow AM_ names.  We explicitly allow
554dnl the ones we care about.
555m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
556AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
557AC_REQUIRE([AC_PROG_INSTALL])dnl
558if test "`cd $srcdir && pwd`" != "`pwd`"; then
559  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
560  # is not polluted with repeated "-I."
561  AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
562  # test to see if srcdir already configured
563  if test -f $srcdir/config.status; then
564    AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
565  fi
566fi
567
568# test whether we have cygpath
569if test -z "$CYGPATH_W"; then
570  if (cygpath --version) >/dev/null 2>/dev/null; then
571    CYGPATH_W='cygpath -w'
572  else
573    CYGPATH_W=echo
574  fi
575fi
576AC_SUBST([CYGPATH_W])
577
578# Define the identity of the package.
579dnl Distinguish between old-style and new-style calls.
580m4_ifval([$2],
581[AC_DIAGNOSE([obsolete],
582             [$0: two- and three-arguments forms are deprecated.])
583m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
584 AC_SUBST([PACKAGE], [$1])dnl
585 AC_SUBST([VERSION], [$2])],
586[_AM_SET_OPTIONS([$1])dnl
587dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
588m4_if(
589  m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]),
590  [ok:ok],,
591  [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
592 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
593 AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
594
595_AM_IF_OPTION([no-define],,
596[AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package])
597 AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl
598
599# Some tools Automake needs.
600AC_REQUIRE([AM_SANITY_CHECK])dnl
601AC_REQUIRE([AC_ARG_PROGRAM])dnl
602AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
603AM_MISSING_PROG([AUTOCONF], [autoconf])
604AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
605AM_MISSING_PROG([AUTOHEADER], [autoheader])
606AM_MISSING_PROG([MAKEINFO], [makeinfo])
607AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
608AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
609AC_REQUIRE([AC_PROG_MKDIR_P])dnl
610# For better backward compatibility.  To be removed once Automake 1.9.x
611# dies out for good.  For more background, see:
612# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
613# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
614AC_SUBST([mkdir_p], ['$(MKDIR_P)'])
615# We need awk for the "check" target (and possibly the TAP driver).  The
616# system "awk" is bad on some platforms.
617AC_REQUIRE([AC_PROG_AWK])dnl
618AC_REQUIRE([AC_PROG_MAKE_SET])dnl
619AC_REQUIRE([AM_SET_LEADING_DOT])dnl
620_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
621	      [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
622			     [_AM_PROG_TAR([v7])])])
623_AM_IF_OPTION([no-dependencies],,
624[AC_PROVIDE_IFELSE([AC_PROG_CC],
625		  [_AM_DEPENDENCIES([CC])],
626		  [m4_define([AC_PROG_CC],
627			     m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl
628AC_PROVIDE_IFELSE([AC_PROG_CXX],
629		  [_AM_DEPENDENCIES([CXX])],
630		  [m4_define([AC_PROG_CXX],
631			     m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl
632AC_PROVIDE_IFELSE([AC_PROG_OBJC],
633		  [_AM_DEPENDENCIES([OBJC])],
634		  [m4_define([AC_PROG_OBJC],
635			     m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
636AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
637		  [_AM_DEPENDENCIES([OBJCXX])],
638		  [m4_define([AC_PROG_OBJCXX],
639			     m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl
640])
641AC_REQUIRE([AM_SILENT_RULES])dnl
642dnl The testsuite driver may need to know about EXEEXT, so add the
643dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen.  This
644dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below.
645AC_CONFIG_COMMANDS_PRE(dnl
646[m4_provide_if([_AM_COMPILER_EXEEXT],
647  [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
648
649# POSIX will say in a future version that running "rm -f" with no argument
650# is OK; and we want to be able to make that assumption in our Makefile
651# recipes.  So use an aggressive probe to check that the usage we want is
652# actually supported "in the wild" to an acceptable degree.
653# See automake bug#10828.
654# To make any issue more visible, cause the running configure to be aborted
655# by default if the 'rm' program in use doesn't match our expectations; the
656# user can still override this though.
657if rm -f && rm -fr && rm -rf; then : OK; else
658  cat >&2 <<'END'
659Oops!
660
661Your 'rm' program seems unable to run without file operands specified
662on the command line, even when the '-f' option is present.  This is contrary
663to the behaviour of most rm programs out there, and not conforming with
664the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
665
666Please tell bug-automake@gnu.org about your system, including the value
667of your $PATH and any error possibly output before this message.  This
668can help us improve future automake versions.
669
670END
671  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
672    echo 'Configuration will proceed anyway, since you have set the' >&2
673    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
674    echo >&2
675  else
676    cat >&2 <<'END'
677Aborting the configuration process, to ensure you take notice of the issue.
678
679You can download and install GNU coreutils to get an 'rm' implementation
680that behaves properly: <http://www.gnu.org/software/coreutils/>.
681
682If you want to complete the configuration process using your problematic
683'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
684to "yes", and re-run configure.
685
686END
687    AC_MSG_ERROR([Your 'rm' program is bad, sorry.])
688  fi
689fi
690dnl The trailing newline in this macro's definition is deliberate, for
691dnl backward compatibility and to allow trailing 'dnl'-style comments
692dnl after the AM_INIT_AUTOMAKE invocation. See automake bug#16841.
693])
694
695dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion.  Do not
696dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
697dnl mangled by Autoconf and run in a shell conditional statement.
698m4_define([_AC_COMPILER_EXEEXT],
699m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
700
701# When config.status generates a header, we must update the stamp-h file.
702# This file resides in the same directory as the config header
703# that is generated.  The stamp files are numbered to have different names.
704
705# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
706# loop where config.status creates the headers, so we can generate
707# our stamp files there.
708AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
709[# Compute $1's index in $config_headers.
710_am_arg=$1
711_am_stamp_count=1
712for _am_header in $config_headers :; do
713  case $_am_header in
714    $_am_arg | $_am_arg:* )
715      break ;;
716    * )
717      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
718  esac
719done
720echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
721
722# Copyright (C) 2001-2017 Free Software Foundation, Inc.
723#
724# This file is free software; the Free Software Foundation
725# gives unlimited permission to copy and/or distribute it,
726# with or without modifications, as long as this notice is preserved.
727
728# AM_PROG_INSTALL_SH
729# ------------------
730# Define $install_sh.
731AC_DEFUN([AM_PROG_INSTALL_SH],
732[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
733if test x"${install_sh+set}" != xset; then
734  case $am_aux_dir in
735  *\ * | *\	*)
736    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
737  *)
738    install_sh="\${SHELL} $am_aux_dir/install-sh"
739  esac
740fi
741AC_SUBST([install_sh])])
742
743# Copyright (C) 2003-2017 Free Software Foundation, Inc.
744#
745# This file is free software; the Free Software Foundation
746# gives unlimited permission to copy and/or distribute it,
747# with or without modifications, as long as this notice is preserved.
748
749# Check whether the underlying file-system supports filenames
750# with a leading dot.  For instance MS-DOS doesn't.
751AC_DEFUN([AM_SET_LEADING_DOT],
752[rm -rf .tst 2>/dev/null
753mkdir .tst 2>/dev/null
754if test -d .tst; then
755  am__leading_dot=.
756else
757  am__leading_dot=_
758fi
759rmdir .tst 2>/dev/null
760AC_SUBST([am__leading_dot])])
761
762# Add --enable-maintainer-mode option to configure.         -*- Autoconf -*-
763# From Jim Meyering
764
765# Copyright (C) 1996-2017 Free Software Foundation, Inc.
766#
767# This file is free software; the Free Software Foundation
768# gives unlimited permission to copy and/or distribute it,
769# with or without modifications, as long as this notice is preserved.
770
771# AM_MAINTAINER_MODE([DEFAULT-MODE])
772# ----------------------------------
773# Control maintainer-specific portions of Makefiles.
774# Default is to disable them, unless 'enable' is passed literally.
775# For symmetry, 'disable' may be passed as well.  Anyway, the user
776# can override the default with the --enable/--disable switch.
777AC_DEFUN([AM_MAINTAINER_MODE],
778[m4_case(m4_default([$1], [disable]),
779       [enable], [m4_define([am_maintainer_other], [disable])],
780       [disable], [m4_define([am_maintainer_other], [enable])],
781       [m4_define([am_maintainer_other], [enable])
782        m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
783AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
784  dnl maintainer-mode's default is 'disable' unless 'enable' is passed
785  AC_ARG_ENABLE([maintainer-mode],
786    [AS_HELP_STRING([--]am_maintainer_other[-maintainer-mode],
787      am_maintainer_other[ make rules and dependencies not useful
788      (and sometimes confusing) to the casual installer])],
789    [USE_MAINTAINER_MODE=$enableval],
790    [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))
791  AC_MSG_RESULT([$USE_MAINTAINER_MODE])
792  AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
793  MAINT=$MAINTAINER_MODE_TRUE
794  AC_SUBST([MAINT])dnl
795]
796)
797
798# Check to see how 'make' treats includes.	            -*- Autoconf -*-
799
800# Copyright (C) 2001-2017 Free Software Foundation, Inc.
801#
802# This file is free software; the Free Software Foundation
803# gives unlimited permission to copy and/or distribute it,
804# with or without modifications, as long as this notice is preserved.
805
806# AM_MAKE_INCLUDE()
807# -----------------
808# Check to see how make treats includes.
809AC_DEFUN([AM_MAKE_INCLUDE],
810[am_make=${MAKE-make}
811cat > confinc << 'END'
812am__doit:
813	@echo this is the am__doit target
814.PHONY: am__doit
815END
816# If we don't find an include directive, just comment out the code.
817AC_MSG_CHECKING([for style of include used by $am_make])
818am__include="#"
819am__quote=
820_am_result=none
821# First try GNU make style include.
822echo "include confinc" > confmf
823# Ignore all kinds of additional output from 'make'.
824case `$am_make -s -f confmf 2> /dev/null` in #(
825*the\ am__doit\ target*)
826  am__include=include
827  am__quote=
828  _am_result=GNU
829  ;;
830esac
831# Now try BSD make style include.
832if test "$am__include" = "#"; then
833   echo '.include "confinc"' > confmf
834   case `$am_make -s -f confmf 2> /dev/null` in #(
835   *the\ am__doit\ target*)
836     am__include=.include
837     am__quote="\""
838     _am_result=BSD
839     ;;
840   esac
841fi
842AC_SUBST([am__include])
843AC_SUBST([am__quote])
844AC_MSG_RESULT([$_am_result])
845rm -f confinc confmf
846])
847
848# Fake the existence of programs that GNU maintainers use.  -*- Autoconf -*-
849
850# Copyright (C) 1997-2017 Free Software Foundation, Inc.
851#
852# This file is free software; the Free Software Foundation
853# gives unlimited permission to copy and/or distribute it,
854# with or without modifications, as long as this notice is preserved.
855
856# AM_MISSING_PROG(NAME, PROGRAM)
857# ------------------------------
858AC_DEFUN([AM_MISSING_PROG],
859[AC_REQUIRE([AM_MISSING_HAS_RUN])
860$1=${$1-"${am_missing_run}$2"}
861AC_SUBST($1)])
862
863# AM_MISSING_HAS_RUN
864# ------------------
865# Define MISSING if not defined so far and test if it is modern enough.
866# If it is, set am_missing_run to use it, otherwise, to nothing.
867AC_DEFUN([AM_MISSING_HAS_RUN],
868[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
869AC_REQUIRE_AUX_FILE([missing])dnl
870if test x"${MISSING+set}" != xset; then
871  case $am_aux_dir in
872  *\ * | *\	*)
873    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
874  *)
875    MISSING="\${SHELL} $am_aux_dir/missing" ;;
876  esac
877fi
878# Use eval to expand $SHELL
879if eval "$MISSING --is-lightweight"; then
880  am_missing_run="$MISSING "
881else
882  am_missing_run=
883  AC_MSG_WARN(['missing' script is too old or missing])
884fi
885])
886
887# Helper functions for option handling.                     -*- Autoconf -*-
888
889# Copyright (C) 2001-2017 Free Software Foundation, Inc.
890#
891# This file is free software; the Free Software Foundation
892# gives unlimited permission to copy and/or distribute it,
893# with or without modifications, as long as this notice is preserved.
894
895# _AM_MANGLE_OPTION(NAME)
896# -----------------------
897AC_DEFUN([_AM_MANGLE_OPTION],
898[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
899
900# _AM_SET_OPTION(NAME)
901# --------------------
902# Set option NAME.  Presently that only means defining a flag for this option.
903AC_DEFUN([_AM_SET_OPTION],
904[m4_define(_AM_MANGLE_OPTION([$1]), [1])])
905
906# _AM_SET_OPTIONS(OPTIONS)
907# ------------------------
908# OPTIONS is a space-separated list of Automake options.
909AC_DEFUN([_AM_SET_OPTIONS],
910[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
911
912# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
913# -------------------------------------------
914# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
915AC_DEFUN([_AM_IF_OPTION],
916[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
917
918# Copyright (C) 1999-2017 Free Software Foundation, Inc.
919#
920# This file is free software; the Free Software Foundation
921# gives unlimited permission to copy and/or distribute it,
922# with or without modifications, as long as this notice is preserved.
923
924# _AM_PROG_CC_C_O
925# ---------------
926# Like AC_PROG_CC_C_O, but changed for automake.  We rewrite AC_PROG_CC
927# to automatically call this.
928AC_DEFUN([_AM_PROG_CC_C_O],
929[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
930AC_REQUIRE_AUX_FILE([compile])dnl
931AC_LANG_PUSH([C])dnl
932AC_CACHE_CHECK(
933  [whether $CC understands -c and -o together],
934  [am_cv_prog_cc_c_o],
935  [AC_LANG_CONFTEST([AC_LANG_PROGRAM([])])
936  # Make sure it works both with $CC and with simple cc.
937  # Following AC_PROG_CC_C_O, we do the test twice because some
938  # compilers refuse to overwrite an existing .o file with -o,
939  # though they will create one.
940  am_cv_prog_cc_c_o=yes
941  for am_i in 1 2; do
942    if AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext]) \
943         && test -f conftest2.$ac_objext; then
944      : OK
945    else
946      am_cv_prog_cc_c_o=no
947      break
948    fi
949  done
950  rm -f core conftest*
951  unset am_i])
952if test "$am_cv_prog_cc_c_o" != yes; then
953   # Losing compiler, so override with the script.
954   # FIXME: It is wrong to rewrite CC.
955   # But if we don't then we get into trouble of one sort or another.
956   # A longer-term fix would be to have automake use am__CC in this case,
957   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
958   CC="$am_aux_dir/compile $CC"
959fi
960AC_LANG_POP([C])])
961
962# For backward compatibility.
963AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])])
964
965# Copyright (C) 2001-2017 Free Software Foundation, Inc.
966#
967# This file is free software; the Free Software Foundation
968# gives unlimited permission to copy and/or distribute it,
969# with or without modifications, as long as this notice is preserved.
970
971# AM_RUN_LOG(COMMAND)
972# -------------------
973# Run COMMAND, save the exit status in ac_status, and log it.
974# (This has been adapted from Autoconf's _AC_RUN_LOG macro.)
975AC_DEFUN([AM_RUN_LOG],
976[{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD
977   ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD
978   ac_status=$?
979   echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
980   (exit $ac_status); }])
981
982# Check to make sure that the build environment is sane.    -*- Autoconf -*-
983
984# Copyright (C) 1996-2017 Free Software Foundation, Inc.
985#
986# This file is free software; the Free Software Foundation
987# gives unlimited permission to copy and/or distribute it,
988# with or without modifications, as long as this notice is preserved.
989
990# AM_SANITY_CHECK
991# ---------------
992AC_DEFUN([AM_SANITY_CHECK],
993[AC_MSG_CHECKING([whether build environment is sane])
994# Reject unsafe characters in $srcdir or the absolute working directory
995# name.  Accept space and tab only in the latter.
996am_lf='
997'
998case `pwd` in
999  *[[\\\"\#\$\&\'\`$am_lf]]*)
1000    AC_MSG_ERROR([unsafe absolute working directory name]);;
1001esac
1002case $srcdir in
1003  *[[\\\"\#\$\&\'\`$am_lf\ \	]]*)
1004    AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);;
1005esac
1006
1007# Do 'set' in a subshell so we don't clobber the current shell's
1008# arguments.  Must try -L first in case configure is actually a
1009# symlink; some systems play weird games with the mod time of symlinks
1010# (eg FreeBSD returns the mod time of the symlink's containing
1011# directory).
1012if (
1013   am_has_slept=no
1014   for am_try in 1 2; do
1015     echo "timestamp, slept: $am_has_slept" > conftest.file
1016     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
1017     if test "$[*]" = "X"; then
1018	# -L didn't work.
1019	set X `ls -t "$srcdir/configure" conftest.file`
1020     fi
1021     if test "$[*]" != "X $srcdir/configure conftest.file" \
1022	&& test "$[*]" != "X conftest.file $srcdir/configure"; then
1023
1024	# If neither matched, then we have a broken ls.  This can happen
1025	# if, for instance, CONFIG_SHELL is bash and it inherits a
1026	# broken ls alias from the environment.  This has actually
1027	# happened.  Such a system could not be considered "sane".
1028	AC_MSG_ERROR([ls -t appears to fail.  Make sure there is not a broken
1029  alias in your environment])
1030     fi
1031     if test "$[2]" = conftest.file || test $am_try -eq 2; then
1032       break
1033     fi
1034     # Just in case.
1035     sleep 1
1036     am_has_slept=yes
1037   done
1038   test "$[2]" = conftest.file
1039   )
1040then
1041   # Ok.
1042   :
1043else
1044   AC_MSG_ERROR([newly created file is older than distributed files!
1045Check your system clock])
1046fi
1047AC_MSG_RESULT([yes])
1048# If we didn't sleep, we still need to ensure time stamps of config.status and
1049# generated files are strictly newer.
1050am_sleep_pid=
1051if grep 'slept: no' conftest.file >/dev/null 2>&1; then
1052  ( sleep 1 ) &
1053  am_sleep_pid=$!
1054fi
1055AC_CONFIG_COMMANDS_PRE(
1056  [AC_MSG_CHECKING([that generated files are newer than configure])
1057   if test -n "$am_sleep_pid"; then
1058     # Hide warnings about reused PIDs.
1059     wait $am_sleep_pid 2>/dev/null
1060   fi
1061   AC_MSG_RESULT([done])])
1062rm -f conftest.file
1063])
1064
1065# Copyright (C) 2009-2017 Free Software Foundation, Inc.
1066#
1067# This file is free software; the Free Software Foundation
1068# gives unlimited permission to copy and/or distribute it,
1069# with or without modifications, as long as this notice is preserved.
1070
1071# AM_SILENT_RULES([DEFAULT])
1072# --------------------------
1073# Enable less verbose build rules; with the default set to DEFAULT
1074# ("yes" being less verbose, "no" or empty being verbose).
1075AC_DEFUN([AM_SILENT_RULES],
1076[AC_ARG_ENABLE([silent-rules], [dnl
1077AS_HELP_STRING(
1078  [--enable-silent-rules],
1079  [less verbose build output (undo: "make V=1")])
1080AS_HELP_STRING(
1081  [--disable-silent-rules],
1082  [verbose build output (undo: "make V=0")])dnl
1083])
1084case $enable_silent_rules in @%:@ (((
1085  yes) AM_DEFAULT_VERBOSITY=0;;
1086   no) AM_DEFAULT_VERBOSITY=1;;
1087    *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
1088esac
1089dnl
1090dnl A few 'make' implementations (e.g., NonStop OS and NextStep)
1091dnl do not support nested variable expansions.
1092dnl See automake bug#9928 and bug#10237.
1093am_make=${MAKE-make}
1094AC_CACHE_CHECK([whether $am_make supports nested variables],
1095   [am_cv_make_support_nested_variables],
1096   [if AS_ECHO([['TRUE=$(BAR$(V))
1097BAR0=false
1098BAR1=true
1099V=1
1100am__doit:
1101	@$(TRUE)
1102.PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then
1103  am_cv_make_support_nested_variables=yes
1104else
1105  am_cv_make_support_nested_variables=no
1106fi])
1107if test $am_cv_make_support_nested_variables = yes; then
1108  dnl Using '$V' instead of '$(V)' breaks IRIX make.
1109  AM_V='$(V)'
1110  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
1111else
1112  AM_V=$AM_DEFAULT_VERBOSITY
1113  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
1114fi
1115AC_SUBST([AM_V])dnl
1116AM_SUBST_NOTMAKE([AM_V])dnl
1117AC_SUBST([AM_DEFAULT_V])dnl
1118AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl
1119AC_SUBST([AM_DEFAULT_VERBOSITY])dnl
1120AM_BACKSLASH='\'
1121AC_SUBST([AM_BACKSLASH])dnl
1122_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
1123])
1124
1125# Copyright (C) 2001-2017 Free Software Foundation, Inc.
1126#
1127# This file is free software; the Free Software Foundation
1128# gives unlimited permission to copy and/or distribute it,
1129# with or without modifications, as long as this notice is preserved.
1130
1131# AM_PROG_INSTALL_STRIP
1132# ---------------------
1133# One issue with vendor 'install' (even GNU) is that you can't
1134# specify the program used to strip binaries.  This is especially
1135# annoying in cross-compiling environments, where the build's strip
1136# is unlikely to handle the host's binaries.
1137# Fortunately install-sh will honor a STRIPPROG variable, so we
1138# always use install-sh in "make install-strip", and initialize
1139# STRIPPROG with the value of the STRIP variable (set by the user).
1140AC_DEFUN([AM_PROG_INSTALL_STRIP],
1141[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
1142# Installed binaries are usually stripped using 'strip' when the user
1143# run "make install-strip".  However 'strip' might not be the right
1144# tool to use in cross-compilation environments, therefore Automake
1145# will honor the 'STRIP' environment variable to overrule this program.
1146dnl Don't test for $cross_compiling = yes, because it might be 'maybe'.
1147if test "$cross_compiling" != no; then
1148  AC_CHECK_TOOL([STRIP], [strip], :)
1149fi
1150INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
1151AC_SUBST([INSTALL_STRIP_PROGRAM])])
1152
1153# Copyright (C) 2006-2017 Free Software Foundation, Inc.
1154#
1155# This file is free software; the Free Software Foundation
1156# gives unlimited permission to copy and/or distribute it,
1157# with or without modifications, as long as this notice is preserved.
1158
1159# _AM_SUBST_NOTMAKE(VARIABLE)
1160# ---------------------------
1161# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
1162# This macro is traced by Automake.
1163AC_DEFUN([_AM_SUBST_NOTMAKE])
1164
1165# AM_SUBST_NOTMAKE(VARIABLE)
1166# --------------------------
1167# Public sister of _AM_SUBST_NOTMAKE.
1168AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
1169
1170# Check how to create a tarball.                            -*- Autoconf -*-
1171
1172# Copyright (C) 2004-2017 Free Software Foundation, Inc.
1173#
1174# This file is free software; the Free Software Foundation
1175# gives unlimited permission to copy and/or distribute it,
1176# with or without modifications, as long as this notice is preserved.
1177
1178# _AM_PROG_TAR(FORMAT)
1179# --------------------
1180# Check how to create a tarball in format FORMAT.
1181# FORMAT should be one of 'v7', 'ustar', or 'pax'.
1182#
1183# Substitute a variable $(am__tar) that is a command
1184# writing to stdout a FORMAT-tarball containing the directory
1185# $tardir.
1186#     tardir=directory && $(am__tar) > result.tar
1187#
1188# Substitute a variable $(am__untar) that extract such
1189# a tarball read from stdin.
1190#     $(am__untar) < result.tar
1191#
1192AC_DEFUN([_AM_PROG_TAR],
1193[# Always define AMTAR for backward compatibility.  Yes, it's still used
1194# in the wild :-(  We should find a proper way to deprecate it ...
1195AC_SUBST([AMTAR], ['$${TAR-tar}'])
1196
1197# We'll loop over all known methods to create a tar archive until one works.
1198_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
1199
1200m4_if([$1], [v7],
1201  [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
1202
1203  [m4_case([$1],
1204    [ustar],
1205     [# The POSIX 1988 'ustar' format is defined with fixed-size fields.
1206      # There is notably a 21 bits limit for the UID and the GID.  In fact,
1207      # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
1208      # and bug#13588).
1209      am_max_uid=2097151 # 2^21 - 1
1210      am_max_gid=$am_max_uid
1211      # The $UID and $GID variables are not portable, so we need to resort
1212      # to the POSIX-mandated id(1) utility.  Errors in the 'id' calls
1213      # below are definitely unexpected, so allow the users to see them
1214      # (that is, avoid stderr redirection).
1215      am_uid=`id -u || echo unknown`
1216      am_gid=`id -g || echo unknown`
1217      AC_MSG_CHECKING([whether UID '$am_uid' is supported by ustar format])
1218      if test $am_uid -le $am_max_uid; then
1219         AC_MSG_RESULT([yes])
1220      else
1221         AC_MSG_RESULT([no])
1222         _am_tools=none
1223      fi
1224      AC_MSG_CHECKING([whether GID '$am_gid' is supported by ustar format])
1225      if test $am_gid -le $am_max_gid; then
1226         AC_MSG_RESULT([yes])
1227      else
1228        AC_MSG_RESULT([no])
1229        _am_tools=none
1230      fi],
1231
1232  [pax],
1233    [],
1234
1235  [m4_fatal([Unknown tar format])])
1236
1237  AC_MSG_CHECKING([how to create a $1 tar archive])
1238
1239  # Go ahead even if we have the value already cached.  We do so because we
1240  # need to set the values for the 'am__tar' and 'am__untar' variables.
1241  _am_tools=${am_cv_prog_tar_$1-$_am_tools}
1242
1243  for _am_tool in $_am_tools; do
1244    case $_am_tool in
1245    gnutar)
1246      for _am_tar in tar gnutar gtar; do
1247        AM_RUN_LOG([$_am_tar --version]) && break
1248      done
1249      am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
1250      am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
1251      am__untar="$_am_tar -xf -"
1252      ;;
1253    plaintar)
1254      # Must skip GNU tar: if it does not support --format= it doesn't create
1255      # ustar tarball either.
1256      (tar --version) >/dev/null 2>&1 && continue
1257      am__tar='tar chf - "$$tardir"'
1258      am__tar_='tar chf - "$tardir"'
1259      am__untar='tar xf -'
1260      ;;
1261    pax)
1262      am__tar='pax -L -x $1 -w "$$tardir"'
1263      am__tar_='pax -L -x $1 -w "$tardir"'
1264      am__untar='pax -r'
1265      ;;
1266    cpio)
1267      am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
1268      am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
1269      am__untar='cpio -i -H $1 -d'
1270      ;;
1271    none)
1272      am__tar=false
1273      am__tar_=false
1274      am__untar=false
1275      ;;
1276    esac
1277
1278    # If the value was cached, stop now.  We just wanted to have am__tar
1279    # and am__untar set.
1280    test -n "${am_cv_prog_tar_$1}" && break
1281
1282    # tar/untar a dummy directory, and stop if the command works.
1283    rm -rf conftest.dir
1284    mkdir conftest.dir
1285    echo GrepMe > conftest.dir/file
1286    AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
1287    rm -rf conftest.dir
1288    if test -s conftest.tar; then
1289      AM_RUN_LOG([$am__untar <conftest.tar])
1290      AM_RUN_LOG([cat conftest.dir/file])
1291      grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
1292    fi
1293  done
1294  rm -rf conftest.dir
1295
1296  AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
1297  AC_MSG_RESULT([$am_cv_prog_tar_$1])])
1298
1299AC_SUBST([am__tar])
1300AC_SUBST([am__untar])
1301]) # _AM_PROG_TAR
1302
1303m4_include([m4/ac_find_gap.m4])
1304m4_include([m4/libtool.m4])
1305m4_include([m4/ltoptions.m4])
1306m4_include([m4/ltsugar.m4])
1307m4_include([m4/ltversion.m4])
1308m4_include([m4/lt~obsolete.m4])
1309