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