14
14
m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])])
15
15
m4_ifndef([AC_AUTOCONF_VERSION],
16
16
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
17
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.71],,
18
[m4_warning([this file was generated for autoconf 2.71.
17
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],,
18
[m4_warning([this file was generated for autoconf 2.69.
19
19
You have another version of autoconf. It may work, but is not guaranteed to.
20
20
If you have problems, you may need to regenerate the build system entirely.
21
21
To do so, use the procedure documented by the package, typically 'autoreconf'.])])
23
# Copyright (C) 2002-2021 Free Software Foundation, Inc.
23
# Copyright (C) 2002-2013 Free Software Foundation, Inc.
25
25
# This file is free software; the Free Software Foundation
26
26
# gives unlimited permission to copy and/or distribute it,
32
32
# generated from the m4 files accompanying Automake X.Y.
33
33
# (This private macro should not be called outside this file.)
34
34
AC_DEFUN([AM_AUTOMAKE_VERSION],
35
[am__api_version='1.16'
35
[am__api_version='1.13'
36
36
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
37
37
dnl require some minimum version. Point them to the right macro.
38
m4_if([$1], [1.16.5], [],
38
m4_if([$1], [1.13.4], [],
39
39
[AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
51
51
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
52
52
# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
53
53
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
54
[AM_AUTOMAKE_VERSION([1.16.5])dnl
54
[AM_AUTOMAKE_VERSION([1.13.4])dnl
55
55
m4_ifndef([AC_AUTOCONF_VERSION],
56
56
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
57
57
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
59
# Copyright (C) 2011-2021 Free Software Foundation, Inc.
59
# Copyright (C) 2011-2013 Free Software Foundation, Inc.
61
61
# This file is free software; the Free Software Foundation
62
62
# gives unlimited permission to copy and/or distribute it,
163
162
# configured tree to be moved without reconfiguration.
165
164
AC_DEFUN([AM_AUX_DIR_EXPAND],
166
[AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
167
# Expand $ac_aux_dir to an absolute path.
168
am_aux_dir=`cd "$ac_aux_dir" && pwd`
165
[dnl Rely on autoconf to set up CDPATH properly.
167
# expand $ac_aux_dir to an absolute path
168
am_aux_dir=`cd $ac_aux_dir && pwd`
171
171
# AM_CONDITIONAL -*- Autoconf -*-
173
# Copyright (C) 1997-2021 Free Software Foundation, Inc.
173
# Copyright (C) 1997-2013 Free Software Foundation, Inc.
175
175
# This file is free software; the Free Software Foundation
176
176
# gives unlimited permission to copy and/or distribute it,
393
393
# Generate code to set up dependency tracking. -*- Autoconf -*-
395
# Copyright (C) 1999-2021 Free Software Foundation, Inc.
395
# Copyright (C) 1999-2013 Free Software Foundation, Inc.
397
397
# This file is free software; the Free Software Foundation
398
398
# gives unlimited permission to copy and/or distribute it,
399
399
# with or without modifications, as long as this notice is preserved.
401
402
# _AM_OUTPUT_DEPENDENCY_COMMANDS
402
403
# ------------------------------
403
404
AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
405
406
# Older Autoconf quotes --file arguments for eval, but not when files
406
407
# are listed without --file. Let's play safe and only enable the eval
407
408
# if we detect the quoting.
408
# TODO: see whether this extra hack can be removed once we start
409
# requiring Autoconf 2.70 or later.
410
AS_CASE([$CONFIG_FILES],
411
[*\'*], [eval set x "$CONFIG_FILES"],
412
[*], [set x $CONFIG_FILES])
409
case $CONFIG_FILES in
410
*\'*) eval set x "$CONFIG_FILES" ;;
411
*) set x $CONFIG_FILES ;;
414
# Used to flag and report bootstrapping failures.
418
416
# Strip MF so we end up with the name of the file.
419
am_mf=`AS_ECHO(["$am_mf"]) | sed -e 's/:.*$//'`
420
# Check whether this is an Automake generated Makefile which includes
421
# dependency-tracking related rules and includes.
422
# Grep'ing the whole file directly is not great: AIX grep has a line
417
mf=`echo "$mf" | sed -e 's/:.*$//'`
418
# Check whether this is an Automake generated Makefile or not.
419
# We used to match only the files named 'Makefile.in', but
420
# some people rename them; so instead we look at the file content.
421
# Grep'ing the first line is not enough: some people post-process
422
# each Makefile.in and add a new line on top of each file to say so.
423
# Grep'ing the whole file is not good either: AIX grep has a line
423
424
# limit of 2048, but all sed's we know have understand at least 4000.
424
sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
426
am_dirpart=`AS_DIRNAME(["$am_mf"])`
427
am_filepart=`AS_BASENAME(["$am_mf"])`
428
AM_RUN_LOG([cd "$am_dirpart" \
429
&& sed -e '/# am--include-marker/d' "$am_filepart" \
430
| $MAKE -f - am--depfiles]) || am_rc=$?
425
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
426
dirpart=`AS_DIRNAME("$mf")`
430
# Extract the definition of DEPDIR, am__include, and am__quote
431
# from the Makefile without running 'make'.
432
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
433
test -z "$DEPDIR" && continue
434
am__include=`sed -n 's/^am__include = //p' < "$mf"`
435
test -z "$am__include" && continue
436
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
437
# Find all dependency output files, they are included files with
438
# $(DEPDIR) in their names. We invoke sed twice because it is the
439
# simplest approach to changing $(DEPDIR) to its actual value in the
441
for file in `sed -n "
442
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
443
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
444
# Make sure the directory exists.
445
test -f "$dirpart/$file" && continue
446
fdir=`AS_DIRNAME(["$file"])`
447
AS_MKDIR_P([$dirpart/$fdir])
448
# echo "creating $dirpart/$file"
449
echo '# dummy' > "$dirpart/$file"
432
if test $am_rc -ne 0; then
433
AC_MSG_FAILURE([Something went wrong bootstrapping makefile fragments
434
for automatic dependency tracking. If GNU make was not used, consider
435
re-running the configure script with MAKE="gmake" (or whatever is
436
necessary). You can also try re-running configure with the
437
'--disable-dependency-tracking' option to at least be able to build
438
the package (albeit without support for automatic dependency tracking).])
440
AS_UNSET([am_dirpart])
441
AS_UNSET([am_filepart])
444
rm -f conftest-deps.mk
446
453
])# _AM_OUTPUT_DEPENDENCY_COMMANDS
450
457
# -----------------------------
451
458
# This macro should only be invoked once -- use via AC_REQUIRE.
453
# This code is only required when automatic dependency tracking is enabled.
454
# This creates each '.Po' and '.Plo' makefile fragment that we'll need in
455
# order to bootstrap the dependency handling code.
460
# This code is only required when automatic dependency tracking
461
# is enabled. FIXME. This creates each '.P' file that we will
462
# need in order to bootstrap the dependency handling code.
456
463
AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
457
464
[AC_CONFIG_COMMANDS([depfiles],
458
465
[test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
459
[AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"])])
466
[AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
461
469
# Do all the work for Automake. -*- Autoconf -*-
463
# Copyright (C) 1996-2021 Free Software Foundation, Inc.
471
# Copyright (C) 1996-2013 Free Software Foundation, Inc.
465
473
# This file is free software; the Free Software Foundation
466
474
# gives unlimited permission to copy and/or distribute it,
488
490
# release and drop the old call support.
489
491
AC_DEFUN([AM_INIT_AUTOMAKE],
490
492
[AC_PREREQ([2.65])dnl
491
m4_ifdef([_$0_ALREADY_INIT],
492
[m4_fatal([$0 expanded multiple times
493
]m4_defn([_$0_ALREADY_INIT]))],
494
[m4_define([_$0_ALREADY_INIT], m4_expansion_stack)])dnl
495
493
dnl Autoconf wants to disallow AM_ names. We explicitly allow
496
494
dnl the ones we care about.
497
495
m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
551
549
AC_REQUIRE([AC_PROG_MKDIR_P])dnl
552
550
# For better backward compatibility. To be removed once Automake 1.9.x
553
551
# dies out for good. For more background, see:
554
# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
555
# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
552
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
553
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
556
554
AC_SUBST([mkdir_p], ['$(MKDIR_P)'])
557
# We need awk for the "check" target (and possibly the TAP driver). The
558
# system "awk" is bad on some platforms.
555
# We need awk for the "check" target. The system "awk" is bad on
559
557
AC_REQUIRE([AC_PROG_AWK])dnl
560
558
AC_REQUIRE([AC_PROG_MAKE_SET])dnl
561
559
AC_REQUIRE([AM_SET_LEADING_DOT])dnl
580
578
[m4_define([AC_PROG_OBJCXX],
581
579
m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl
583
# Variables for tags utilities; see am/tags.am
584
if test -z "$CTAGS"; then
588
if test -z "$ETAGS"; then
592
if test -z "$CSCOPE"; then
597
581
AC_REQUIRE([AM_SILENT_RULES])dnl
598
582
dnl The testsuite driver may need to know about EXEEXT, so add the
599
583
dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This
601
585
AC_CONFIG_COMMANDS_PRE(dnl
602
586
[m4_provide_if([_AM_COMPILER_EXEEXT],
603
587
[AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
605
# POSIX will say in a future version that running "rm -f" with no argument
606
# is OK; and we want to be able to make that assumption in our Makefile
607
# recipes. So use an aggressive probe to check that the usage we want is
608
# actually supported "in the wild" to an acceptable degree.
609
# See automake bug#10828.
610
# To make any issue more visible, cause the running configure to be aborted
611
# by default if the 'rm' program in use doesn't match our expectations; the
612
# user can still override this though.
613
if rm -f && rm -fr && rm -rf; then : OK; else
617
Your 'rm' program seems unable to run without file operands specified
618
on the command line, even when the '-f' option is present. This is contrary
619
to the behaviour of most rm programs out there, and not conforming with
620
the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
622
Please tell bug-automake@gnu.org about your system, including the value
623
of your $PATH and any error possibly output before this message. This
624
can help us improve future automake versions.
627
if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
628
echo 'Configuration will proceed anyway, since you have set the' >&2
629
echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
633
Aborting the configuration process, to ensure you take notice of the issue.
635
You can download and install GNU coreutils to get an 'rm' implementation
636
that behaves properly: <https://www.gnu.org/software/coreutils/>.
638
If you want to complete the configuration process using your problematic
639
'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
640
to "yes", and re-run configure.
643
AC_MSG_ERROR([Your 'rm' program is bad, sorry.])
646
dnl The trailing newline in this macro's definition is deliberate, for
647
dnl backward compatibility and to allow trailing 'dnl'-style comments
648
dnl after the AM_INIT_AUTOMAKE invocation. See automake bug#16841.
651
590
dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
726
666
# AM_MAKE_INCLUDE()
727
667
# -----------------
728
# Check whether make has an 'include' directive that can support all
729
# the idioms we need for our automatic dependency tracking code.
668
# Check to see how make treats includes.
730
669
AC_DEFUN([AM_MAKE_INCLUDE],
731
[AC_MSG_CHECKING([whether ${MAKE-make} supports the include directive])
732
cat > confinc.mk << 'END'
670
[am_make=${MAKE-make}
671
cat > confinc << 'END'
734
@echo this is the am__doit target >confinc.out
673
@echo this is the am__doit target
676
# If we don't find an include directive, just comment out the code.
677
AC_MSG_CHECKING([for style of include used by $am_make])
739
# BSD make does it like this.
740
echo '.include "confinc.mk" # ignored' > confmf.BSD
741
# Other make implementations (GNU, Solaris 10, AIX) do it like this.
742
echo 'include confinc.mk # ignored' > confmf.GNU
745
AM_RUN_LOG([${MAKE-make} -f confmf.$s && cat confinc.out])
746
AS_CASE([$?:`cat confinc.out 2>/dev/null`],
747
['0:this is the am__doit target'],
749
[BSD], [am__include='.include' am__quote='"'],
750
[am__include='include' am__quote=''])])
751
if test "$am__include" != "#"; then
752
_am_result="yes ($s style)"
756
rm -f confinc.* confmf.*
757
AC_MSG_RESULT([${_am_result}])
758
AC_SUBST([am__include])])
759
AC_SUBST([am__quote])])
681
# First try GNU make style include.
682
echo "include confinc" > confmf
683
# Ignore all kinds of additional output from 'make'.
684
case `$am_make -s -f confmf 2> /dev/null` in #(
685
*the\ am__doit\ target*)
691
# Now try BSD make style include.
692
if test "$am__include" = "#"; then
693
echo '.include "confinc"' > confmf
694
case `$am_make -s -f confmf 2> /dev/null` in #(
695
*the\ am__doit\ target*)
702
AC_SUBST([am__include])
703
AC_SUBST([am__quote])
704
AC_MSG_RESULT([$_am_result])
761
708
# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
763
# Copyright (C) 1997-2021 Free Software Foundation, Inc.
710
# Copyright (C) 1997-2013 Free Software Foundation, Inc.
765
712
# This file is free software; the Free Software Foundation
766
713
# gives unlimited permission to copy and/or distribute it,
823
775
AC_DEFUN([_AM_IF_OPTION],
824
776
[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
826
# Copyright (C) 1999-2021 Free Software Foundation, Inc.
828
# This file is free software; the Free Software Foundation
829
# gives unlimited permission to copy and/or distribute it,
830
# with or without modifications, as long as this notice is preserved.
834
# Like AC_PROG_CC_C_O, but changed for automake. We rewrite AC_PROG_CC
835
# to automatically call this.
836
AC_DEFUN([_AM_PROG_CC_C_O],
837
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
838
AC_REQUIRE_AUX_FILE([compile])dnl
841
[whether $CC understands -c and -o together],
843
[AC_LANG_CONFTEST([AC_LANG_PROGRAM([])])
844
# Make sure it works both with $CC and with simple cc.
845
# Following AC_PROG_CC_C_O, we do the test twice because some
846
# compilers refuse to overwrite an existing .o file with -o,
847
# though they will create one.
848
am_cv_prog_cc_c_o=yes
850
if AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext]) \
851
&& test -f conftest2.$ac_objext; then
860
if test "$am_cv_prog_cc_c_o" != yes; then
861
# Losing compiler, so override with the script.
862
# FIXME: It is wrong to rewrite CC.
863
# But if we don't then we get into trouble of one sort or another.
864
# A longer-term fix would be to have automake use am__CC in this case,
865
# and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
866
CC="$am_aux_dir/compile $CC"
870
# For backward compatibility.
871
AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])])
873
# Copyright (C) 2001-2021 Free Software Foundation, Inc.
875
# This file is free software; the Free Software Foundation
876
# gives unlimited permission to copy and/or distribute it,
877
# with or without modifications, as long as this notice is preserved.
879
# AM_RUN_LOG(COMMAND)
880
# -------------------
881
# Run COMMAND, save the exit status in ac_status, and log it.
882
# (This has been adapted from Autoconf's _AC_RUN_LOG macro.)
883
AC_DEFUN([AM_RUN_LOG],
884
[{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD
885
($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD
887
echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
888
(exit $ac_status); }])
890
778
# Check to make sure that the build environment is sane. -*- Autoconf -*-
892
# Copyright (C) 1996-2021 Free Software Foundation, Inc.
780
# Copyright (C) 1996-2013 Free Software Foundation, Inc.
894
782
# This file is free software; the Free Software Foundation
895
783
# gives unlimited permission to copy and/or distribute it,
1208
1096
AC_SUBST([am__untar])
1209
1097
]) # _AM_PROG_TAR
1211
m4_include([../m4/arch.m4])
1212
m4_include([../m4/ax_check_compile_flag.m4])
1213
m4_include([../m4/codeset.m4])
1214
m4_include([../m4/dirfd.m4])
1215
m4_include([../m4/gettext.m4])
1216
m4_include([../m4/host-cpu-c-abi.m4])
1217
m4_include([../m4/iconv.m4])
1218
m4_include([../m4/intlmacosx.m4])
1219
m4_include([../m4/lcmessage.m4])
1220
m4_include([../m4/lib-ld.m4])
1221
m4_include([../m4/lib-link.m4])
1222
m4_include([../m4/lib-prefix.m4])
1223
m4_include([../m4/libtool.m4])
1224
m4_include([../m4/ltoptions.m4])
1225
m4_include([../m4/ltsugar.m4])
1226
m4_include([../m4/ltversion.m4])
1227
m4_include([../m4/lt~obsolete.m4])
1228
m4_include([../m4/mpfr.m4])
1229
m4_include([../m4/nls.m4])
1230
m4_include([../m4/pma.m4])
1231
m4_include([../m4/po.m4])
1232
m4_include([../m4/progtest.m4])
1233
m4_include([../m4/triplet-transformation.m4])
1099
m4_include([m4/dirfd.m4])
1100
m4_include([m4/gettext.m4])
1101
m4_include([m4/iconv.m4])
1102
m4_include([m4/intlmacosx.m4])
1103
m4_include([m4/lib-ld.m4])
1104
m4_include([m4/lib-link.m4])
1105
m4_include([m4/lib-prefix.m4])
1106
m4_include([m4/libtool.m4])
1107
m4_include([m4/ltoptions.m4])
1108
m4_include([m4/ltsugar.m4])
1109
m4_include([m4/ltversion.m4])
1110
m4_include([m4/lt~obsolete.m4])
1111
m4_include([m4/nls.m4])
1112
m4_include([m4/po.m4])
1113
m4_include([m4/progtest.m4])