1# generated automatically by aclocal 1.16.2 -*- Autoconf -*-
2
3# Copyright (C) 1996-2020 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# Copyright (C) 2002-2020 Free Software Foundation, Inc.
24#
25# This file is free software; the Free Software Foundation
26# gives unlimited permission to copy and/or distribute it,
27# with or without modifications, as long as this notice is preserved.
28
29# AM_AUTOMAKE_VERSION(VERSION)
30# ----------------------------
31# Automake X.Y traces this macro to ensure aclocal.m4 has been
32# generated from the m4 files accompanying Automake X.Y.
33# (This private macro should not be called outside this file.)
34AC_DEFUN([AM_AUTOMAKE_VERSION],
35[am__api_version='1.16'
36dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
37dnl require some minimum version.  Point them to the right macro.
38m4_if([$1], [1.16.2], [],
39      [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
40])
41
42# _AM_AUTOCONF_VERSION(VERSION)
43# -----------------------------
44# aclocal traces this macro to find the Autoconf version.
45# This is a private macro too.  Using m4_define simplifies
46# the logic in aclocal, which can simply ignore this definition.
47m4_define([_AM_AUTOCONF_VERSION], [])
48
49# AM_SET_CURRENT_AUTOMAKE_VERSION
50# -------------------------------
51# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
52# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
53AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
54[AM_AUTOMAKE_VERSION([1.16.2])dnl
55m4_ifndef([AC_AUTOCONF_VERSION],
56  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
57_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
58
59# AM_AUX_DIR_EXPAND                                         -*- Autoconf -*-
60
61# Copyright (C) 2001-2020 Free Software Foundation, Inc.
62#
63# This file is free software; the Free Software Foundation
64# gives unlimited permission to copy and/or distribute it,
65# with or without modifications, as long as this notice is preserved.
66
67# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
68# $ac_aux_dir to '$srcdir/foo'.  In other projects, it is set to
69# '$srcdir', '$srcdir/..', or '$srcdir/../..'.
70#
71# Of course, Automake must honor this variable whenever it calls a
72# tool from the auxiliary directory.  The problem is that $srcdir (and
73# therefore $ac_aux_dir as well) can be either absolute or relative,
74# depending on how configure is run.  This is pretty annoying, since
75# it makes $ac_aux_dir quite unusable in subdirectories: in the top
76# source directory, any form will work fine, but in subdirectories a
77# relative path needs to be adjusted first.
78#
79# $ac_aux_dir/missing
80#    fails when called from a subdirectory if $ac_aux_dir is relative
81# $top_srcdir/$ac_aux_dir/missing
82#    fails if $ac_aux_dir is absolute,
83#    fails when called from a subdirectory in a VPATH build with
84#          a relative $ac_aux_dir
85#
86# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
87# are both prefixed by $srcdir.  In an in-source build this is usually
88# harmless because $srcdir is '.', but things will broke when you
89# start a VPATH build or use an absolute $srcdir.
90#
91# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
92# iff we strip the leading $srcdir from $ac_aux_dir.  That would be:
93#   am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
94# and then we would define $MISSING as
95#   MISSING="\${SHELL} $am_aux_dir/missing"
96# This will work as long as MISSING is not called from configure, because
97# unfortunately $(top_srcdir) has no meaning in configure.
98# However there are other variables, like CC, which are often used in
99# configure, and could therefore not use this "fixed" $ac_aux_dir.
100#
101# Another solution, used here, is to always expand $ac_aux_dir to an
102# absolute PATH.  The drawback is that using absolute paths prevent a
103# configured tree to be moved without reconfiguration.
104
105AC_DEFUN([AM_AUX_DIR_EXPAND],
106[AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
107# Expand $ac_aux_dir to an absolute path.
108am_aux_dir=`cd "$ac_aux_dir" && pwd`
109])
110
111# AM_EXTRA_RECURSIVE_TARGETS                                -*- Autoconf -*-
112
113# Copyright (C) 2012-2020 Free Software Foundation, Inc.
114#
115# This file is free software; the Free Software Foundation
116# gives unlimited permission to copy and/or distribute it,
117# with or without modifications, as long as this notice is preserved.
118
119# AM_EXTRA_RECURSIVE_TARGETS
120# --------------------------
121# Define the list of user recursive targets.  This macro exists only to
122# be traced by Automake, which will ensure that a proper definition of
123# user-defined recursive targets (and associated rules) is propagated
124# into all the generated Makefiles.
125# TODO: We should really reject non-literal arguments here...
126AC_DEFUN([AM_EXTRA_RECURSIVE_TARGETS], [])
127
128# Do all the work for Automake.                             -*- Autoconf -*-
129
130# Copyright (C) 1996-2020 Free Software Foundation, Inc.
131#
132# This file is free software; the Free Software Foundation
133# gives unlimited permission to copy and/or distribute it,
134# with or without modifications, as long as this notice is preserved.
135
136# This macro actually does too much.  Some checks are only needed if
137# your package does certain things.  But this isn't really a big deal.
138
139dnl Redefine AC_PROG_CC to automatically invoke _AM_PROG_CC_C_O.
140m4_define([AC_PROG_CC],
141m4_defn([AC_PROG_CC])
142[_AM_PROG_CC_C_O
143])
144
145# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
146# AM_INIT_AUTOMAKE([OPTIONS])
147# -----------------------------------------------
148# The call with PACKAGE and VERSION arguments is the old style
149# call (pre autoconf-2.50), which is being phased out.  PACKAGE
150# and VERSION should now be passed to AC_INIT and removed from
151# the call to AM_INIT_AUTOMAKE.
152# We support both call styles for the transition.  After
153# the next Automake release, Autoconf can make the AC_INIT
154# arguments mandatory, and then we can depend on a new Autoconf
155# release and drop the old call support.
156AC_DEFUN([AM_INIT_AUTOMAKE],
157[AC_PREREQ([2.65])dnl
158dnl Autoconf wants to disallow AM_ names.  We explicitly allow
159dnl the ones we care about.
160m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
161AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
162AC_REQUIRE([AC_PROG_INSTALL])dnl
163if test "`cd $srcdir && pwd`" != "`pwd`"; then
164  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
165  # is not polluted with repeated "-I."
166  AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
167  # test to see if srcdir already configured
168  if test -f $srcdir/config.status; then
169    AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
170  fi
171fi
172
173# test whether we have cygpath
174if test -z "$CYGPATH_W"; then
175  if (cygpath --version) >/dev/null 2>/dev/null; then
176    CYGPATH_W='cygpath -w'
177  else
178    CYGPATH_W=echo
179  fi
180fi
181AC_SUBST([CYGPATH_W])
182
183# Define the identity of the package.
184dnl Distinguish between old-style and new-style calls.
185m4_ifval([$2],
186[AC_DIAGNOSE([obsolete],
187             [$0: two- and three-arguments forms are deprecated.])
188m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
189 AC_SUBST([PACKAGE], [$1])dnl
190 AC_SUBST([VERSION], [$2])],
191[_AM_SET_OPTIONS([$1])dnl
192dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
193m4_if(
194  m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]),
195  [ok:ok],,
196  [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
197 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
198 AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
199
200_AM_IF_OPTION([no-define],,
201[AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package])
202 AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl
203
204# Some tools Automake needs.
205AC_REQUIRE([AM_SANITY_CHECK])dnl
206AC_REQUIRE([AC_ARG_PROGRAM])dnl
207AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
208AM_MISSING_PROG([AUTOCONF], [autoconf])
209AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
210AM_MISSING_PROG([AUTOHEADER], [autoheader])
211AM_MISSING_PROG([MAKEINFO], [makeinfo])
212AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
213AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
214AC_REQUIRE([AC_PROG_MKDIR_P])dnl
215# For better backward compatibility.  To be removed once Automake 1.9.x
216# dies out for good.  For more background, see:
217# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
218# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
219AC_SUBST([mkdir_p], ['$(MKDIR_P)'])
220# We need awk for the "check" target (and possibly the TAP driver).  The
221# system "awk" is bad on some platforms.
222AC_REQUIRE([AC_PROG_AWK])dnl
223AC_REQUIRE([AC_PROG_MAKE_SET])dnl
224AC_REQUIRE([AM_SET_LEADING_DOT])dnl
225_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
226	      [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
227			     [_AM_PROG_TAR([v7])])])
228_AM_IF_OPTION([no-dependencies],,
229[AC_PROVIDE_IFELSE([AC_PROG_CC],
230		  [_AM_DEPENDENCIES([CC])],
231		  [m4_define([AC_PROG_CC],
232			     m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl
233AC_PROVIDE_IFELSE([AC_PROG_CXX],
234		  [_AM_DEPENDENCIES([CXX])],
235		  [m4_define([AC_PROG_CXX],
236			     m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl
237AC_PROVIDE_IFELSE([AC_PROG_OBJC],
238		  [_AM_DEPENDENCIES([OBJC])],
239		  [m4_define([AC_PROG_OBJC],
240			     m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
241AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
242		  [_AM_DEPENDENCIES([OBJCXX])],
243		  [m4_define([AC_PROG_OBJCXX],
244			     m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl
245])
246AC_REQUIRE([AM_SILENT_RULES])dnl
247dnl The testsuite driver may need to know about EXEEXT, so add the
248dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen.  This
249dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below.
250AC_CONFIG_COMMANDS_PRE(dnl
251[m4_provide_if([_AM_COMPILER_EXEEXT],
252  [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
253
254# POSIX will say in a future version that running "rm -f" with no argument
255# is OK; and we want to be able to make that assumption in our Makefile
256# recipes.  So use an aggressive probe to check that the usage we want is
257# actually supported "in the wild" to an acceptable degree.
258# See automake bug#10828.
259# To make any issue more visible, cause the running configure to be aborted
260# by default if the 'rm' program in use doesn't match our expectations; the
261# user can still override this though.
262if rm -f && rm -fr && rm -rf; then : OK; else
263  cat >&2 <<'END'
264Oops!
265
266Your 'rm' program seems unable to run without file operands specified
267on the command line, even when the '-f' option is present.  This is contrary
268to the behaviour of most rm programs out there, and not conforming with
269the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
270
271Please tell bug-automake@gnu.org about your system, including the value
272of your $PATH and any error possibly output before this message.  This
273can help us improve future automake versions.
274
275END
276  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
277    echo 'Configuration will proceed anyway, since you have set the' >&2
278    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
279    echo >&2
280  else
281    cat >&2 <<'END'
282Aborting the configuration process, to ensure you take notice of the issue.
283
284You can download and install GNU coreutils to get an 'rm' implementation
285that behaves properly: <https://www.gnu.org/software/coreutils/>.
286
287If you want to complete the configuration process using your problematic
288'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
289to "yes", and re-run configure.
290
291END
292    AC_MSG_ERROR([Your 'rm' program is bad, sorry.])
293  fi
294fi
295dnl The trailing newline in this macro's definition is deliberate, for
296dnl backward compatibility and to allow trailing 'dnl'-style comments
297dnl after the AM_INIT_AUTOMAKE invocation. See automake bug#16841.
298])
299
300dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion.  Do not
301dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
302dnl mangled by Autoconf and run in a shell conditional statement.
303m4_define([_AC_COMPILER_EXEEXT],
304m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
305
306# When config.status generates a header, we must update the stamp-h file.
307# This file resides in the same directory as the config header
308# that is generated.  The stamp files are numbered to have different names.
309
310# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
311# loop where config.status creates the headers, so we can generate
312# our stamp files there.
313AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
314[# Compute $1's index in $config_headers.
315_am_arg=$1
316_am_stamp_count=1
317for _am_header in $config_headers :; do
318  case $_am_header in
319    $_am_arg | $_am_arg:* )
320      break ;;
321    * )
322      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
323  esac
324done
325echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
326
327# Copyright (C) 2001-2020 Free Software Foundation, Inc.
328#
329# This file is free software; the Free Software Foundation
330# gives unlimited permission to copy and/or distribute it,
331# with or without modifications, as long as this notice is preserved.
332
333# AM_PROG_INSTALL_SH
334# ------------------
335# Define $install_sh.
336AC_DEFUN([AM_PROG_INSTALL_SH],
337[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
338if test x"${install_sh+set}" != xset; then
339  case $am_aux_dir in
340  *\ * | *\	*)
341    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
342  *)
343    install_sh="\${SHELL} $am_aux_dir/install-sh"
344  esac
345fi
346AC_SUBST([install_sh])])
347
348# Copyright (C) 2003-2020 Free Software Foundation, Inc.
349#
350# This file is free software; the Free Software Foundation
351# gives unlimited permission to copy and/or distribute it,
352# with or without modifications, as long as this notice is preserved.
353
354# Check whether the underlying file-system supports filenames
355# with a leading dot.  For instance MS-DOS doesn't.
356AC_DEFUN([AM_SET_LEADING_DOT],
357[rm -rf .tst 2>/dev/null
358mkdir .tst 2>/dev/null
359if test -d .tst; then
360  am__leading_dot=.
361else
362  am__leading_dot=_
363fi
364rmdir .tst 2>/dev/null
365AC_SUBST([am__leading_dot])])
366
367# Fake the existence of programs that GNU maintainers use.  -*- Autoconf -*-
368
369# Copyright (C) 1997-2020 Free Software Foundation, Inc.
370#
371# This file is free software; the Free Software Foundation
372# gives unlimited permission to copy and/or distribute it,
373# with or without modifications, as long as this notice is preserved.
374
375# AM_MISSING_PROG(NAME, PROGRAM)
376# ------------------------------
377AC_DEFUN([AM_MISSING_PROG],
378[AC_REQUIRE([AM_MISSING_HAS_RUN])
379$1=${$1-"${am_missing_run}$2"}
380AC_SUBST($1)])
381
382# AM_MISSING_HAS_RUN
383# ------------------
384# Define MISSING if not defined so far and test if it is modern enough.
385# If it is, set am_missing_run to use it, otherwise, to nothing.
386AC_DEFUN([AM_MISSING_HAS_RUN],
387[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
388AC_REQUIRE_AUX_FILE([missing])dnl
389if test x"${MISSING+set}" != xset; then
390  case $am_aux_dir in
391  *\ * | *\	*)
392    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
393  *)
394    MISSING="\${SHELL} $am_aux_dir/missing" ;;
395  esac
396fi
397# Use eval to expand $SHELL
398if eval "$MISSING --is-lightweight"; then
399  am_missing_run="$MISSING "
400else
401  am_missing_run=
402  AC_MSG_WARN(['missing' script is too old or missing])
403fi
404])
405
406# Helper functions for option handling.                     -*- Autoconf -*-
407
408# Copyright (C) 2001-2020 Free Software Foundation, Inc.
409#
410# This file is free software; the Free Software Foundation
411# gives unlimited permission to copy and/or distribute it,
412# with or without modifications, as long as this notice is preserved.
413
414# _AM_MANGLE_OPTION(NAME)
415# -----------------------
416AC_DEFUN([_AM_MANGLE_OPTION],
417[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
418
419# _AM_SET_OPTION(NAME)
420# --------------------
421# Set option NAME.  Presently that only means defining a flag for this option.
422AC_DEFUN([_AM_SET_OPTION],
423[m4_define(_AM_MANGLE_OPTION([$1]), [1])])
424
425# _AM_SET_OPTIONS(OPTIONS)
426# ------------------------
427# OPTIONS is a space-separated list of Automake options.
428AC_DEFUN([_AM_SET_OPTIONS],
429[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
430
431# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
432# -------------------------------------------
433# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
434AC_DEFUN([_AM_IF_OPTION],
435[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
436
437# Copyright (C) 2001-2020 Free Software Foundation, Inc.
438#
439# This file is free software; the Free Software Foundation
440# gives unlimited permission to copy and/or distribute it,
441# with or without modifications, as long as this notice is preserved.
442
443# AM_RUN_LOG(COMMAND)
444# -------------------
445# Run COMMAND, save the exit status in ac_status, and log it.
446# (This has been adapted from Autoconf's _AC_RUN_LOG macro.)
447AC_DEFUN([AM_RUN_LOG],
448[{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD
449   ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD
450   ac_status=$?
451   echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
452   (exit $ac_status); }])
453
454# Check to make sure that the build environment is sane.    -*- Autoconf -*-
455
456# Copyright (C) 1996-2020 Free Software Foundation, Inc.
457#
458# This file is free software; the Free Software Foundation
459# gives unlimited permission to copy and/or distribute it,
460# with or without modifications, as long as this notice is preserved.
461
462# AM_SANITY_CHECK
463# ---------------
464AC_DEFUN([AM_SANITY_CHECK],
465[AC_MSG_CHECKING([whether build environment is sane])
466# Reject unsafe characters in $srcdir or the absolute working directory
467# name.  Accept space and tab only in the latter.
468am_lf='
469'
470case `pwd` in
471  *[[\\\"\#\$\&\'\`$am_lf]]*)
472    AC_MSG_ERROR([unsafe absolute working directory name]);;
473esac
474case $srcdir in
475  *[[\\\"\#\$\&\'\`$am_lf\ \	]]*)
476    AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);;
477esac
478
479# Do 'set' in a subshell so we don't clobber the current shell's
480# arguments.  Must try -L first in case configure is actually a
481# symlink; some systems play weird games with the mod time of symlinks
482# (eg FreeBSD returns the mod time of the symlink's containing
483# directory).
484if (
485   am_has_slept=no
486   for am_try in 1 2; do
487     echo "timestamp, slept: $am_has_slept" > conftest.file
488     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
489     if test "$[*]" = "X"; then
490	# -L didn't work.
491	set X `ls -t "$srcdir/configure" conftest.file`
492     fi
493     if test "$[*]" != "X $srcdir/configure conftest.file" \
494	&& test "$[*]" != "X conftest.file $srcdir/configure"; then
495
496	# If neither matched, then we have a broken ls.  This can happen
497	# if, for instance, CONFIG_SHELL is bash and it inherits a
498	# broken ls alias from the environment.  This has actually
499	# happened.  Such a system could not be considered "sane".
500	AC_MSG_ERROR([ls -t appears to fail.  Make sure there is not a broken
501  alias in your environment])
502     fi
503     if test "$[2]" = conftest.file || test $am_try -eq 2; then
504       break
505     fi
506     # Just in case.
507     sleep 1
508     am_has_slept=yes
509   done
510   test "$[2]" = conftest.file
511   )
512then
513   # Ok.
514   :
515else
516   AC_MSG_ERROR([newly created file is older than distributed files!
517Check your system clock])
518fi
519AC_MSG_RESULT([yes])
520# If we didn't sleep, we still need to ensure time stamps of config.status and
521# generated files are strictly newer.
522am_sleep_pid=
523if grep 'slept: no' conftest.file >/dev/null 2>&1; then
524  ( sleep 1 ) &
525  am_sleep_pid=$!
526fi
527AC_CONFIG_COMMANDS_PRE(
528  [AC_MSG_CHECKING([that generated files are newer than configure])
529   if test -n "$am_sleep_pid"; then
530     # Hide warnings about reused PIDs.
531     wait $am_sleep_pid 2>/dev/null
532   fi
533   AC_MSG_RESULT([done])])
534rm -f conftest.file
535])
536
537# Copyright (C) 2009-2020 Free Software Foundation, Inc.
538#
539# This file is free software; the Free Software Foundation
540# gives unlimited permission to copy and/or distribute it,
541# with or without modifications, as long as this notice is preserved.
542
543# AM_SILENT_RULES([DEFAULT])
544# --------------------------
545# Enable less verbose build rules; with the default set to DEFAULT
546# ("yes" being less verbose, "no" or empty being verbose).
547AC_DEFUN([AM_SILENT_RULES],
548[AC_ARG_ENABLE([silent-rules], [dnl
549AS_HELP_STRING(
550  [--enable-silent-rules],
551  [less verbose build output (undo: "make V=1")])
552AS_HELP_STRING(
553  [--disable-silent-rules],
554  [verbose build output (undo: "make V=0")])dnl
555])
556case $enable_silent_rules in @%:@ (((
557  yes) AM_DEFAULT_VERBOSITY=0;;
558   no) AM_DEFAULT_VERBOSITY=1;;
559    *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
560esac
561dnl
562dnl A few 'make' implementations (e.g., NonStop OS and NextStep)
563dnl do not support nested variable expansions.
564dnl See automake bug#9928 and bug#10237.
565am_make=${MAKE-make}
566AC_CACHE_CHECK([whether $am_make supports nested variables],
567   [am_cv_make_support_nested_variables],
568   [if AS_ECHO([['TRUE=$(BAR$(V))
569BAR0=false
570BAR1=true
571V=1
572am__doit:
573	@$(TRUE)
574.PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then
575  am_cv_make_support_nested_variables=yes
576else
577  am_cv_make_support_nested_variables=no
578fi])
579if test $am_cv_make_support_nested_variables = yes; then
580  dnl Using '$V' instead of '$(V)' breaks IRIX make.
581  AM_V='$(V)'
582  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
583else
584  AM_V=$AM_DEFAULT_VERBOSITY
585  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
586fi
587AC_SUBST([AM_V])dnl
588AM_SUBST_NOTMAKE([AM_V])dnl
589AC_SUBST([AM_DEFAULT_V])dnl
590AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl
591AC_SUBST([AM_DEFAULT_VERBOSITY])dnl
592AM_BACKSLASH='\'
593AC_SUBST([AM_BACKSLASH])dnl
594_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
595])
596
597# Copyright (C) 2001-2020 Free Software Foundation, Inc.
598#
599# This file is free software; the Free Software Foundation
600# gives unlimited permission to copy and/or distribute it,
601# with or without modifications, as long as this notice is preserved.
602
603# AM_PROG_INSTALL_STRIP
604# ---------------------
605# One issue with vendor 'install' (even GNU) is that you can't
606# specify the program used to strip binaries.  This is especially
607# annoying in cross-compiling environments, where the build's strip
608# is unlikely to handle the host's binaries.
609# Fortunately install-sh will honor a STRIPPROG variable, so we
610# always use install-sh in "make install-strip", and initialize
611# STRIPPROG with the value of the STRIP variable (set by the user).
612AC_DEFUN([AM_PROG_INSTALL_STRIP],
613[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
614# Installed binaries are usually stripped using 'strip' when the user
615# run "make install-strip".  However 'strip' might not be the right
616# tool to use in cross-compilation environments, therefore Automake
617# will honor the 'STRIP' environment variable to overrule this program.
618dnl Don't test for $cross_compiling = yes, because it might be 'maybe'.
619if test "$cross_compiling" != no; then
620  AC_CHECK_TOOL([STRIP], [strip], :)
621fi
622INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
623AC_SUBST([INSTALL_STRIP_PROGRAM])])
624
625# Copyright (C) 2006-2020 Free Software Foundation, Inc.
626#
627# This file is free software; the Free Software Foundation
628# gives unlimited permission to copy and/or distribute it,
629# with or without modifications, as long as this notice is preserved.
630
631# _AM_SUBST_NOTMAKE(VARIABLE)
632# ---------------------------
633# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
634# This macro is traced by Automake.
635AC_DEFUN([_AM_SUBST_NOTMAKE])
636
637# AM_SUBST_NOTMAKE(VARIABLE)
638# --------------------------
639# Public sister of _AM_SUBST_NOTMAKE.
640AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
641
642# Check how to create a tarball.                            -*- Autoconf -*-
643
644# Copyright (C) 2004-2020 Free Software Foundation, Inc.
645#
646# This file is free software; the Free Software Foundation
647# gives unlimited permission to copy and/or distribute it,
648# with or without modifications, as long as this notice is preserved.
649
650# _AM_PROG_TAR(FORMAT)
651# --------------------
652# Check how to create a tarball in format FORMAT.
653# FORMAT should be one of 'v7', 'ustar', or 'pax'.
654#
655# Substitute a variable $(am__tar) that is a command
656# writing to stdout a FORMAT-tarball containing the directory
657# $tardir.
658#     tardir=directory && $(am__tar) > result.tar
659#
660# Substitute a variable $(am__untar) that extract such
661# a tarball read from stdin.
662#     $(am__untar) < result.tar
663#
664AC_DEFUN([_AM_PROG_TAR],
665[# Always define AMTAR for backward compatibility.  Yes, it's still used
666# in the wild :-(  We should find a proper way to deprecate it ...
667AC_SUBST([AMTAR], ['$${TAR-tar}'])
668
669# We'll loop over all known methods to create a tar archive until one works.
670_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
671
672m4_if([$1], [v7],
673  [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
674
675  [m4_case([$1],
676    [ustar],
677     [# The POSIX 1988 'ustar' format is defined with fixed-size fields.
678      # There is notably a 21 bits limit for the UID and the GID.  In fact,
679      # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
680      # and bug#13588).
681      am_max_uid=2097151 # 2^21 - 1
682      am_max_gid=$am_max_uid
683      # The $UID and $GID variables are not portable, so we need to resort
684      # to the POSIX-mandated id(1) utility.  Errors in the 'id' calls
685      # below are definitely unexpected, so allow the users to see them
686      # (that is, avoid stderr redirection).
687      am_uid=`id -u || echo unknown`
688      am_gid=`id -g || echo unknown`
689      AC_MSG_CHECKING([whether UID '$am_uid' is supported by ustar format])
690      if test $am_uid -le $am_max_uid; then
691         AC_MSG_RESULT([yes])
692      else
693         AC_MSG_RESULT([no])
694         _am_tools=none
695      fi
696      AC_MSG_CHECKING([whether GID '$am_gid' is supported by ustar format])
697      if test $am_gid -le $am_max_gid; then
698         AC_MSG_RESULT([yes])
699      else
700        AC_MSG_RESULT([no])
701        _am_tools=none
702      fi],
703
704  [pax],
705    [],
706
707  [m4_fatal([Unknown tar format])])
708
709  AC_MSG_CHECKING([how to create a $1 tar archive])
710
711  # Go ahead even if we have the value already cached.  We do so because we
712  # need to set the values for the 'am__tar' and 'am__untar' variables.
713  _am_tools=${am_cv_prog_tar_$1-$_am_tools}
714
715  for _am_tool in $_am_tools; do
716    case $_am_tool in
717    gnutar)
718      for _am_tar in tar gnutar gtar; do
719        AM_RUN_LOG([$_am_tar --version]) && break
720      done
721      am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
722      am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
723      am__untar="$_am_tar -xf -"
724      ;;
725    plaintar)
726      # Must skip GNU tar: if it does not support --format= it doesn't create
727      # ustar tarball either.
728      (tar --version) >/dev/null 2>&1 && continue
729      am__tar='tar chf - "$$tardir"'
730      am__tar_='tar chf - "$tardir"'
731      am__untar='tar xf -'
732      ;;
733    pax)
734      am__tar='pax -L -x $1 -w "$$tardir"'
735      am__tar_='pax -L -x $1 -w "$tardir"'
736      am__untar='pax -r'
737      ;;
738    cpio)
739      am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
740      am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
741      am__untar='cpio -i -H $1 -d'
742      ;;
743    none)
744      am__tar=false
745      am__tar_=false
746      am__untar=false
747      ;;
748    esac
749
750    # If the value was cached, stop now.  We just wanted to have am__tar
751    # and am__untar set.
752    test -n "${am_cv_prog_tar_$1}" && break
753
754    # tar/untar a dummy directory, and stop if the command works.
755    rm -rf conftest.dir
756    mkdir conftest.dir
757    echo GrepMe > conftest.dir/file
758    AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
759    rm -rf conftest.dir
760    if test -s conftest.tar; then
761      AM_RUN_LOG([$am__untar <conftest.tar])
762      AM_RUN_LOG([cat conftest.dir/file])
763      grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
764    fi
765  done
766  rm -rf conftest.dir
767
768  AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
769  AC_MSG_RESULT([$am_cv_prog_tar_$1])])
770
771AC_SUBST([am__tar])
772AC_SUBST([am__untar])
773]) # _AM_PROG_TAR
774
775