"Fossies" - the Fresh Open Source Software Archive

Member "SDL2_ttf-2.20.2/aclocal.m4" (7 Feb 2023, 44489 Bytes) of package /linux/misc/SDL2_ttf-2.20.2.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "aclocal.m4": 2.20.1_vs_2.20.2.

    1 # generated automatically by aclocal 1.16.5 -*- Autoconf -*-
    2 
    3 # Copyright (C) 1996-2021 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 
   14 m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])])
   15 m4_ifndef([AC_AUTOCONF_VERSION],
   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.
   19 You have another version of autoconf.  It may work, but is not guaranteed to.
   20 If you have problems, you may need to regenerate the build system entirely.
   21 To do so, use the procedure documented by the package, typically 'autoreconf'.])])
   22 
   23 # lt~obsolete.m4 -- aclocal satisfying obsolete definitions.    -*-Autoconf-*-
   24 #
   25 #   Copyright (C) 2004-2005, 2007, 2009, 2011-2015 Free Software
   26 #   Foundation, Inc.
   27 #   Written by Scott James Remnant, 2004.
   28 #
   29 # This file is free software; the Free Software Foundation gives
   30 # unlimited permission to copy and/or distribute it, with or without
   31 # modifications, as long as this notice is preserved.
   32 
   33 # serial 5 lt~obsolete.m4
   34 
   35 # These exist entirely to fool aclocal when bootstrapping libtool.
   36 #
   37 # In the past libtool.m4 has provided macros via AC_DEFUN (or AU_DEFUN),
   38 # which have later been changed to m4_define as they aren't part of the
   39 # exported API, or moved to Autoconf or Automake where they belong.
   40 #
   41 # The trouble is, aclocal is a bit thick.  It'll see the old AC_DEFUN
   42 # in /usr/share/aclocal/libtool.m4 and remember it, then when it sees us
   43 # using a macro with the same name in our local m4/libtool.m4 it'll
   44 # pull the old libtool.m4 in (it doesn't see our shiny new m4_define
   45 # and doesn't know about Autoconf macros at all.)
   46 #
   47 # So we provide this file, which has a silly filename so it's always
   48 # included after everything else.  This provides aclocal with the
   49 # AC_DEFUNs it wants, but when m4 processes it, it doesn't do anything
   50 # because those macros already exist, or will be overwritten later.
   51 # We use AC_DEFUN over AU_DEFUN for compatibility with aclocal-1.6.
   52 #
   53 # Anytime we withdraw an AC_DEFUN or AU_DEFUN, remember to add it here.
   54 # Yes, that means every name once taken will need to remain here until
   55 # we give up compatibility with versions before 1.7, at which point
   56 # we need to keep only those names which we still refer to.
   57 
   58 # This is to help aclocal find these macros, as it can't see m4_define.
   59 AC_DEFUN([LTOBSOLETE_VERSION], [m4_if([1])])
   60 
   61 m4_ifndef([AC_LIBTOOL_LINKER_OPTION],	[AC_DEFUN([AC_LIBTOOL_LINKER_OPTION])])
   62 m4_ifndef([AC_PROG_EGREP],		[AC_DEFUN([AC_PROG_EGREP])])
   63 m4_ifndef([_LT_AC_PROG_ECHO_BACKSLASH],	[AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH])])
   64 m4_ifndef([_LT_AC_SHELL_INIT],		[AC_DEFUN([_LT_AC_SHELL_INIT])])
   65 m4_ifndef([_LT_AC_SYS_LIBPATH_AIX],	[AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX])])
   66 m4_ifndef([_LT_PROG_LTMAIN],		[AC_DEFUN([_LT_PROG_LTMAIN])])
   67 m4_ifndef([_LT_AC_TAGVAR],		[AC_DEFUN([_LT_AC_TAGVAR])])
   68 m4_ifndef([AC_LTDL_ENABLE_INSTALL],	[AC_DEFUN([AC_LTDL_ENABLE_INSTALL])])
   69 m4_ifndef([AC_LTDL_PREOPEN],		[AC_DEFUN([AC_LTDL_PREOPEN])])
   70 m4_ifndef([_LT_AC_SYS_COMPILER],	[AC_DEFUN([_LT_AC_SYS_COMPILER])])
   71 m4_ifndef([_LT_AC_LOCK],		[AC_DEFUN([_LT_AC_LOCK])])
   72 m4_ifndef([AC_LIBTOOL_SYS_OLD_ARCHIVE],	[AC_DEFUN([AC_LIBTOOL_SYS_OLD_ARCHIVE])])
   73 m4_ifndef([_LT_AC_TRY_DLOPEN_SELF],	[AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF])])
   74 m4_ifndef([AC_LIBTOOL_PROG_CC_C_O],	[AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O])])
   75 m4_ifndef([AC_LIBTOOL_SYS_HARD_LINK_LOCKS], [AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS])])
   76 m4_ifndef([AC_LIBTOOL_OBJDIR],		[AC_DEFUN([AC_LIBTOOL_OBJDIR])])
   77 m4_ifndef([AC_LTDL_OBJDIR],		[AC_DEFUN([AC_LTDL_OBJDIR])])
   78 m4_ifndef([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH], [AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH])])
   79 m4_ifndef([AC_LIBTOOL_SYS_LIB_STRIP],	[AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP])])
   80 m4_ifndef([AC_PATH_MAGIC],		[AC_DEFUN([AC_PATH_MAGIC])])
   81 m4_ifndef([AC_PROG_LD_GNU],		[AC_DEFUN([AC_PROG_LD_GNU])])
   82 m4_ifndef([AC_PROG_LD_RELOAD_FLAG],	[AC_DEFUN([AC_PROG_LD_RELOAD_FLAG])])
   83 m4_ifndef([AC_DEPLIBS_CHECK_METHOD],	[AC_DEFUN([AC_DEPLIBS_CHECK_METHOD])])
   84 m4_ifndef([AC_LIBTOOL_PROG_COMPILER_NO_RTTI], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI])])
   85 m4_ifndef([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE], [AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE])])
   86 m4_ifndef([AC_LIBTOOL_PROG_COMPILER_PIC], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC])])
   87 m4_ifndef([AC_LIBTOOL_PROG_LD_SHLIBS],	[AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS])])
   88 m4_ifndef([AC_LIBTOOL_POSTDEP_PREDEP],	[AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP])])
   89 m4_ifndef([LT_AC_PROG_EGREP],		[AC_DEFUN([LT_AC_PROG_EGREP])])
   90 m4_ifndef([LT_AC_PROG_SED],		[AC_DEFUN([LT_AC_PROG_SED])])
   91 m4_ifndef([_LT_CC_BASENAME],		[AC_DEFUN([_LT_CC_BASENAME])])
   92 m4_ifndef([_LT_COMPILER_BOILERPLATE],	[AC_DEFUN([_LT_COMPILER_BOILERPLATE])])
   93 m4_ifndef([_LT_LINKER_BOILERPLATE],	[AC_DEFUN([_LT_LINKER_BOILERPLATE])])
   94 m4_ifndef([_AC_PROG_LIBTOOL],		[AC_DEFUN([_AC_PROG_LIBTOOL])])
   95 m4_ifndef([AC_LIBTOOL_SETUP],		[AC_DEFUN([AC_LIBTOOL_SETUP])])
   96 m4_ifndef([_LT_AC_CHECK_DLFCN],		[AC_DEFUN([_LT_AC_CHECK_DLFCN])])
   97 m4_ifndef([AC_LIBTOOL_SYS_DYNAMIC_LINKER],	[AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER])])
   98 m4_ifndef([_LT_AC_TAGCONFIG],		[AC_DEFUN([_LT_AC_TAGCONFIG])])
   99 m4_ifndef([AC_DISABLE_FAST_INSTALL],	[AC_DEFUN([AC_DISABLE_FAST_INSTALL])])
  100 m4_ifndef([_LT_AC_LANG_CXX],		[AC_DEFUN([_LT_AC_LANG_CXX])])
  101 m4_ifndef([_LT_AC_LANG_F77],		[AC_DEFUN([_LT_AC_LANG_F77])])
  102 m4_ifndef([_LT_AC_LANG_GCJ],		[AC_DEFUN([_LT_AC_LANG_GCJ])])
  103 m4_ifndef([AC_LIBTOOL_LANG_C_CONFIG],	[AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG])])
  104 m4_ifndef([_LT_AC_LANG_C_CONFIG],	[AC_DEFUN([_LT_AC_LANG_C_CONFIG])])
  105 m4_ifndef([AC_LIBTOOL_LANG_CXX_CONFIG],	[AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG])])
  106 m4_ifndef([_LT_AC_LANG_CXX_CONFIG],	[AC_DEFUN([_LT_AC_LANG_CXX_CONFIG])])
  107 m4_ifndef([AC_LIBTOOL_LANG_F77_CONFIG],	[AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG])])
  108 m4_ifndef([_LT_AC_LANG_F77_CONFIG],	[AC_DEFUN([_LT_AC_LANG_F77_CONFIG])])
  109 m4_ifndef([AC_LIBTOOL_LANG_GCJ_CONFIG],	[AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG])])
  110 m4_ifndef([_LT_AC_LANG_GCJ_CONFIG],	[AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG])])
  111 m4_ifndef([AC_LIBTOOL_LANG_RC_CONFIG],	[AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG])])
  112 m4_ifndef([_LT_AC_LANG_RC_CONFIG],	[AC_DEFUN([_LT_AC_LANG_RC_CONFIG])])
  113 m4_ifndef([AC_LIBTOOL_CONFIG],		[AC_DEFUN([AC_LIBTOOL_CONFIG])])
  114 m4_ifndef([_LT_AC_FILE_LTDLL_C],	[AC_DEFUN([_LT_AC_FILE_LTDLL_C])])
  115 m4_ifndef([_LT_REQUIRED_DARWIN_CHECKS],	[AC_DEFUN([_LT_REQUIRED_DARWIN_CHECKS])])
  116 m4_ifndef([_LT_AC_PROG_CXXCPP],		[AC_DEFUN([_LT_AC_PROG_CXXCPP])])
  117 m4_ifndef([_LT_PREPARE_SED_QUOTE_VARS],	[AC_DEFUN([_LT_PREPARE_SED_QUOTE_VARS])])
  118 m4_ifndef([_LT_PROG_ECHO_BACKSLASH],	[AC_DEFUN([_LT_PROG_ECHO_BACKSLASH])])
  119 m4_ifndef([_LT_PROG_F77],		[AC_DEFUN([_LT_PROG_F77])])
  120 m4_ifndef([_LT_PROG_FC],		[AC_DEFUN([_LT_PROG_FC])])
  121 m4_ifndef([_LT_PROG_CXX],		[AC_DEFUN([_LT_PROG_CXX])])
  122 
  123 # Copyright (C) 2002-2021 Free Software Foundation, Inc.
  124 #
  125 # This file is free software; the Free Software Foundation
  126 # gives unlimited permission to copy and/or distribute it,
  127 # with or without modifications, as long as this notice is preserved.
  128 
  129 # AM_AUTOMAKE_VERSION(VERSION)
  130 # ----------------------------
  131 # Automake X.Y traces this macro to ensure aclocal.m4 has been
  132 # generated from the m4 files accompanying Automake X.Y.
  133 # (This private macro should not be called outside this file.)
  134 AC_DEFUN([AM_AUTOMAKE_VERSION],
  135 [am__api_version='1.16'
  136 dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
  137 dnl require some minimum version.  Point them to the right macro.
  138 m4_if([$1], [1.16.5], [],
  139       [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
  140 ])
  141 
  142 # _AM_AUTOCONF_VERSION(VERSION)
  143 # -----------------------------
  144 # aclocal traces this macro to find the Autoconf version.
  145 # This is a private macro too.  Using m4_define simplifies
  146 # the logic in aclocal, which can simply ignore this definition.
  147 m4_define([_AM_AUTOCONF_VERSION], [])
  148 
  149 # AM_SET_CURRENT_AUTOMAKE_VERSION
  150 # -------------------------------
  151 # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
  152 # This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
  153 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
  154 [AM_AUTOMAKE_VERSION([1.16.5])dnl
  155 m4_ifndef([AC_AUTOCONF_VERSION],
  156   [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
  157 _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
  158 
  159 # AM_AUX_DIR_EXPAND                                         -*- Autoconf -*-
  160 
  161 # Copyright (C) 2001-2021 Free Software Foundation, Inc.
  162 #
  163 # This file is free software; the Free Software Foundation
  164 # gives unlimited permission to copy and/or distribute it,
  165 # with or without modifications, as long as this notice is preserved.
  166 
  167 # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
  168 # $ac_aux_dir to '$srcdir/foo'.  In other projects, it is set to
  169 # '$srcdir', '$srcdir/..', or '$srcdir/../..'.
  170 #
  171 # Of course, Automake must honor this variable whenever it calls a
  172 # tool from the auxiliary directory.  The problem is that $srcdir (and
  173 # therefore $ac_aux_dir as well) can be either absolute or relative,
  174 # depending on how configure is run.  This is pretty annoying, since
  175 # it makes $ac_aux_dir quite unusable in subdirectories: in the top
  176 # source directory, any form will work fine, but in subdirectories a
  177 # relative path needs to be adjusted first.
  178 #
  179 # $ac_aux_dir/missing
  180 #    fails when called from a subdirectory if $ac_aux_dir is relative
  181 # $top_srcdir/$ac_aux_dir/missing
  182 #    fails if $ac_aux_dir is absolute,
  183 #    fails when called from a subdirectory in a VPATH build with
  184 #          a relative $ac_aux_dir
  185 #
  186 # The reason of the latter failure is that $top_srcdir and $ac_aux_dir
  187 # are both prefixed by $srcdir.  In an in-source build this is usually
  188 # harmless because $srcdir is '.', but things will broke when you
  189 # start a VPATH build or use an absolute $srcdir.
  190 #
  191 # So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
  192 # iff we strip the leading $srcdir from $ac_aux_dir.  That would be:
  193 #   am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
  194 # and then we would define $MISSING as
  195 #   MISSING="\${SHELL} $am_aux_dir/missing"
  196 # This will work as long as MISSING is not called from configure, because
  197 # unfortunately $(top_srcdir) has no meaning in configure.
  198 # However there are other variables, like CC, which are often used in
  199 # configure, and could therefore not use this "fixed" $ac_aux_dir.
  200 #
  201 # Another solution, used here, is to always expand $ac_aux_dir to an
  202 # absolute PATH.  The drawback is that using absolute paths prevent a
  203 # configured tree to be moved without reconfiguration.
  204 
  205 AC_DEFUN([AM_AUX_DIR_EXPAND],
  206 [AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
  207 # Expand $ac_aux_dir to an absolute path.
  208 am_aux_dir=`cd "$ac_aux_dir" && pwd`
  209 ])
  210 
  211 # AM_CONDITIONAL                                            -*- Autoconf -*-
  212 
  213 # Copyright (C) 1997-2021 Free Software Foundation, Inc.
  214 #
  215 # This file is free software; the Free Software Foundation
  216 # gives unlimited permission to copy and/or distribute it,
  217 # with or without modifications, as long as this notice is preserved.
  218 
  219 # AM_CONDITIONAL(NAME, SHELL-CONDITION)
  220 # -------------------------------------
  221 # Define a conditional.
  222 AC_DEFUN([AM_CONDITIONAL],
  223 [AC_PREREQ([2.52])dnl
  224  m4_if([$1], [TRUE],  [AC_FATAL([$0: invalid condition: $1])],
  225        [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
  226 AC_SUBST([$1_TRUE])dnl
  227 AC_SUBST([$1_FALSE])dnl
  228 _AM_SUBST_NOTMAKE([$1_TRUE])dnl
  229 _AM_SUBST_NOTMAKE([$1_FALSE])dnl
  230 m4_define([_AM_COND_VALUE_$1], [$2])dnl
  231 if $2; then
  232   $1_TRUE=
  233   $1_FALSE='#'
  234 else
  235   $1_TRUE='#'
  236   $1_FALSE=
  237 fi
  238 AC_CONFIG_COMMANDS_PRE(
  239 [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
  240   AC_MSG_ERROR([[conditional "$1" was never defined.
  241 Usually this means the macro was only invoked conditionally.]])
  242 fi])])
  243 
  244 # Copyright (C) 1999-2021 Free Software Foundation, Inc.
  245 #
  246 # This file is free software; the Free Software Foundation
  247 # gives unlimited permission to copy and/or distribute it,
  248 # with or without modifications, as long as this notice is preserved.
  249 
  250 
  251 # There are a few dirty hacks below to avoid letting 'AC_PROG_CC' be
  252 # written in clear, in which case automake, when reading aclocal.m4,
  253 # will think it sees a *use*, and therefore will trigger all it's
  254 # C support machinery.  Also note that it means that autoscan, seeing
  255 # CC etc. in the Makefile, will ask for an AC_PROG_CC use...
  256 
  257 
  258 # _AM_DEPENDENCIES(NAME)
  259 # ----------------------
  260 # See how the compiler implements dependency checking.
  261 # NAME is "CC", "CXX", "OBJC", "OBJCXX", "UPC", or "GJC".
  262 # We try a few techniques and use that to set a single cache variable.
  263 #
  264 # We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
  265 # modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
  266 # dependency, and given that the user is not expected to run this macro,
  267 # just rely on AC_PROG_CC.
  268 AC_DEFUN([_AM_DEPENDENCIES],
  269 [AC_REQUIRE([AM_SET_DEPDIR])dnl
  270 AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
  271 AC_REQUIRE([AM_MAKE_INCLUDE])dnl
  272 AC_REQUIRE([AM_DEP_TRACK])dnl
  273 
  274 m4_if([$1], [CC],   [depcc="$CC"   am_compiler_list=],
  275       [$1], [CXX],  [depcc="$CXX"  am_compiler_list=],
  276       [$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
  277       [$1], [OBJCXX], [depcc="$OBJCXX" am_compiler_list='gcc3 gcc'],
  278       [$1], [UPC],  [depcc="$UPC"  am_compiler_list=],
  279       [$1], [GCJ],  [depcc="$GCJ"  am_compiler_list='gcc3 gcc'],
  280                     [depcc="$$1"   am_compiler_list=])
  281 
  282 AC_CACHE_CHECK([dependency style of $depcc],
  283                [am_cv_$1_dependencies_compiler_type],
  284 [if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  285   # We make a subdir and do the tests there.  Otherwise we can end up
  286   # making bogus files that we don't know about and never remove.  For
  287   # instance it was reported that on HP-UX the gcc test will end up
  288   # making a dummy file named 'D' -- because '-MD' means "put the output
  289   # in D".
  290   rm -rf conftest.dir
  291   mkdir conftest.dir
  292   # Copy depcomp to subdir because otherwise we won't find it if we're
  293   # using a relative directory.
  294   cp "$am_depcomp" conftest.dir
  295   cd conftest.dir
  296   # We will build objects and dependencies in a subdirectory because
  297   # it helps to detect inapplicable dependency modes.  For instance
  298   # both Tru64's cc and ICC support -MD to output dependencies as a
  299   # side effect of compilation, but ICC will put the dependencies in
  300   # the current directory while Tru64 will put them in the object
  301   # directory.
  302   mkdir sub
  303 
  304   am_cv_$1_dependencies_compiler_type=none
  305   if test "$am_compiler_list" = ""; then
  306      am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
  307   fi
  308   am__universal=false
  309   m4_case([$1], [CC],
  310     [case " $depcc " in #(
  311      *\ -arch\ *\ -arch\ *) am__universal=true ;;
  312      esac],
  313     [CXX],
  314     [case " $depcc " in #(
  315      *\ -arch\ *\ -arch\ *) am__universal=true ;;
  316      esac])
  317 
  318   for depmode in $am_compiler_list; do
  319     # Setup a source with many dependencies, because some compilers
  320     # like to wrap large dependency lists on column 80 (with \), and
  321     # we should not choose a depcomp mode which is confused by this.
  322     #
  323     # We need to recreate these files for each test, as the compiler may
  324     # overwrite some of them when testing with obscure command lines.
  325     # This happens at least with the AIX C compiler.
  326     : > sub/conftest.c
  327     for i in 1 2 3 4 5 6; do
  328       echo '#include "conftst'$i'.h"' >> sub/conftest.c
  329       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
  330       # Solaris 10 /bin/sh.
  331       echo '/* dummy */' > sub/conftst$i.h
  332     done
  333     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  334 
  335     # We check with '-c' and '-o' for the sake of the "dashmstdout"
  336     # mode.  It turns out that the SunPro C++ compiler does not properly
  337     # handle '-M -o', and we need to detect this.  Also, some Intel
  338     # versions had trouble with output in subdirs.
  339     am__obj=sub/conftest.${OBJEXT-o}
  340     am__minus_obj="-o $am__obj"
  341     case $depmode in
  342     gcc)
  343       # This depmode causes a compiler race in universal mode.
  344       test "$am__universal" = false || continue
  345       ;;
  346     nosideeffect)
  347       # After this tag, mechanisms are not by side-effect, so they'll
  348       # only be used when explicitly requested.
  349       if test "x$enable_dependency_tracking" = xyes; then
  350 	continue
  351       else
  352 	break
  353       fi
  354       ;;
  355     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
  356       # This compiler won't grok '-c -o', but also, the minuso test has
  357       # not run yet.  These depmodes are late enough in the game, and
  358       # so weak that their functioning should not be impacted.
  359       am__obj=conftest.${OBJEXT-o}
  360       am__minus_obj=
  361       ;;
  362     none) break ;;
  363     esac
  364     if depmode=$depmode \
  365        source=sub/conftest.c object=$am__obj \
  366        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  367        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
  368          >/dev/null 2>conftest.err &&
  369        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
  370        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  371        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
  372        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  373       # icc doesn't choke on unknown options, it will just issue warnings
  374       # or remarks (even with -Werror).  So we grep stderr for any message
  375       # that says an option was ignored or not supported.
  376       # When given -MP, icc 7.0 and 7.1 complain thusly:
  377       #   icc: Command line warning: ignoring option '-M'; no argument required
  378       # The diagnosis changed in icc 8.0:
  379       #   icc: Command line remark: option '-MP' not supported
  380       if (grep 'ignoring option' conftest.err ||
  381           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  382         am_cv_$1_dependencies_compiler_type=$depmode
  383         break
  384       fi
  385     fi
  386   done
  387 
  388   cd ..
  389   rm -rf conftest.dir
  390 else
  391   am_cv_$1_dependencies_compiler_type=none
  392 fi
  393 ])
  394 AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
  395 AM_CONDITIONAL([am__fastdep$1], [
  396   test "x$enable_dependency_tracking" != xno \
  397   && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
  398 ])
  399 
  400 
  401 # AM_SET_DEPDIR
  402 # -------------
  403 # Choose a directory name for dependency files.
  404 # This macro is AC_REQUIREd in _AM_DEPENDENCIES.
  405 AC_DEFUN([AM_SET_DEPDIR],
  406 [AC_REQUIRE([AM_SET_LEADING_DOT])dnl
  407 AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
  408 ])
  409 
  410 
  411 # AM_DEP_TRACK
  412 # ------------
  413 AC_DEFUN([AM_DEP_TRACK],
  414 [AC_ARG_ENABLE([dependency-tracking], [dnl
  415 AS_HELP_STRING(
  416   [--enable-dependency-tracking],
  417   [do not reject slow dependency extractors])
  418 AS_HELP_STRING(
  419   [--disable-dependency-tracking],
  420   [speeds up one-time build])])
  421 if test "x$enable_dependency_tracking" != xno; then
  422   am_depcomp="$ac_aux_dir/depcomp"
  423   AMDEPBACKSLASH='\'
  424   am__nodep='_no'
  425 fi
  426 AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
  427 AC_SUBST([AMDEPBACKSLASH])dnl
  428 _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
  429 AC_SUBST([am__nodep])dnl
  430 _AM_SUBST_NOTMAKE([am__nodep])dnl
  431 ])
  432 
  433 # Generate code to set up dependency tracking.              -*- Autoconf -*-
  434 
  435 # Copyright (C) 1999-2021 Free Software Foundation, Inc.
  436 #
  437 # This file is free software; the Free Software Foundation
  438 # gives unlimited permission to copy and/or distribute it,
  439 # with or without modifications, as long as this notice is preserved.
  440 
  441 # _AM_OUTPUT_DEPENDENCY_COMMANDS
  442 # ------------------------------
  443 AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
  444 [{
  445   # Older Autoconf quotes --file arguments for eval, but not when files
  446   # are listed without --file.  Let's play safe and only enable the eval
  447   # if we detect the quoting.
  448   # TODO: see whether this extra hack can be removed once we start
  449   # requiring Autoconf 2.70 or later.
  450   AS_CASE([$CONFIG_FILES],
  451           [*\'*], [eval set x "$CONFIG_FILES"],
  452           [*], [set x $CONFIG_FILES])
  453   shift
  454   # Used to flag and report bootstrapping failures.
  455   am_rc=0
  456   for am_mf
  457   do
  458     # Strip MF so we end up with the name of the file.
  459     am_mf=`AS_ECHO(["$am_mf"]) | sed -e 's/:.*$//'`
  460     # Check whether this is an Automake generated Makefile which includes
  461     # dependency-tracking related rules and includes.
  462     # Grep'ing the whole file directly is not great: AIX grep has a line
  463     # limit of 2048, but all sed's we know have understand at least 4000.
  464     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
  465       || continue
  466     am_dirpart=`AS_DIRNAME(["$am_mf"])`
  467     am_filepart=`AS_BASENAME(["$am_mf"])`
  468     AM_RUN_LOG([cd "$am_dirpart" \
  469       && sed -e '/# am--include-marker/d' "$am_filepart" \
  470         | $MAKE -f - am--depfiles]) || am_rc=$?
  471   done
  472   if test $am_rc -ne 0; then
  473     AC_MSG_FAILURE([Something went wrong bootstrapping makefile fragments
  474     for automatic dependency tracking.  If GNU make was not used, consider
  475     re-running the configure script with MAKE="gmake" (or whatever is
  476     necessary).  You can also try re-running configure with the
  477     '--disable-dependency-tracking' option to at least be able to build
  478     the package (albeit without support for automatic dependency tracking).])
  479   fi
  480   AS_UNSET([am_dirpart])
  481   AS_UNSET([am_filepart])
  482   AS_UNSET([am_mf])
  483   AS_UNSET([am_rc])
  484   rm -f conftest-deps.mk
  485 }
  486 ])# _AM_OUTPUT_DEPENDENCY_COMMANDS
  487 
  488 
  489 # AM_OUTPUT_DEPENDENCY_COMMANDS
  490 # -----------------------------
  491 # This macro should only be invoked once -- use via AC_REQUIRE.
  492 #
  493 # This code is only required when automatic dependency tracking is enabled.
  494 # This creates each '.Po' and '.Plo' makefile fragment that we'll need in
  495 # order to bootstrap the dependency handling code.
  496 AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
  497 [AC_CONFIG_COMMANDS([depfiles],
  498      [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
  499      [AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"])])
  500 
  501 # Do all the work for Automake.                             -*- Autoconf -*-
  502 
  503 # Copyright (C) 1996-2021 Free Software Foundation, Inc.
  504 #
  505 # This file is free software; the Free Software Foundation
  506 # gives unlimited permission to copy and/or distribute it,
  507 # with or without modifications, as long as this notice is preserved.
  508 
  509 # This macro actually does too much.  Some checks are only needed if
  510 # your package does certain things.  But this isn't really a big deal.
  511 
  512 dnl Redefine AC_PROG_CC to automatically invoke _AM_PROG_CC_C_O.
  513 m4_define([AC_PROG_CC],
  514 m4_defn([AC_PROG_CC])
  515 [_AM_PROG_CC_C_O
  516 ])
  517 
  518 # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
  519 # AM_INIT_AUTOMAKE([OPTIONS])
  520 # -----------------------------------------------
  521 # The call with PACKAGE and VERSION arguments is the old style
  522 # call (pre autoconf-2.50), which is being phased out.  PACKAGE
  523 # and VERSION should now be passed to AC_INIT and removed from
  524 # the call to AM_INIT_AUTOMAKE.
  525 # We support both call styles for the transition.  After
  526 # the next Automake release, Autoconf can make the AC_INIT
  527 # arguments mandatory, and then we can depend on a new Autoconf
  528 # release and drop the old call support.
  529 AC_DEFUN([AM_INIT_AUTOMAKE],
  530 [AC_PREREQ([2.65])dnl
  531 m4_ifdef([_$0_ALREADY_INIT],
  532   [m4_fatal([$0 expanded multiple times
  533 ]m4_defn([_$0_ALREADY_INIT]))],
  534   [m4_define([_$0_ALREADY_INIT], m4_expansion_stack)])dnl
  535 dnl Autoconf wants to disallow AM_ names.  We explicitly allow
  536 dnl the ones we care about.
  537 m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
  538 AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
  539 AC_REQUIRE([AC_PROG_INSTALL])dnl
  540 if test "`cd $srcdir && pwd`" != "`pwd`"; then
  541   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
  542   # is not polluted with repeated "-I."
  543   AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
  544   # test to see if srcdir already configured
  545   if test -f $srcdir/config.status; then
  546     AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
  547   fi
  548 fi
  549 
  550 # test whether we have cygpath
  551 if test -z "$CYGPATH_W"; then
  552   if (cygpath --version) >/dev/null 2>/dev/null; then
  553     CYGPATH_W='cygpath -w'
  554   else
  555     CYGPATH_W=echo
  556   fi
  557 fi
  558 AC_SUBST([CYGPATH_W])
  559 
  560 # Define the identity of the package.
  561 dnl Distinguish between old-style and new-style calls.
  562 m4_ifval([$2],
  563 [AC_DIAGNOSE([obsolete],
  564              [$0: two- and three-arguments forms are deprecated.])
  565 m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
  566  AC_SUBST([PACKAGE], [$1])dnl
  567  AC_SUBST([VERSION], [$2])],
  568 [_AM_SET_OPTIONS([$1])dnl
  569 dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
  570 m4_if(
  571   m4_ifset([AC_PACKAGE_NAME], [ok]):m4_ifset([AC_PACKAGE_VERSION], [ok]),
  572   [ok:ok],,
  573   [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
  574  AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
  575  AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
  576 
  577 _AM_IF_OPTION([no-define],,
  578 [AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package])
  579  AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl
  580 
  581 # Some tools Automake needs.
  582 AC_REQUIRE([AM_SANITY_CHECK])dnl
  583 AC_REQUIRE([AC_ARG_PROGRAM])dnl
  584 AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
  585 AM_MISSING_PROG([AUTOCONF], [autoconf])
  586 AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
  587 AM_MISSING_PROG([AUTOHEADER], [autoheader])
  588 AM_MISSING_PROG([MAKEINFO], [makeinfo])
  589 AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
  590 AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
  591 AC_REQUIRE([AC_PROG_MKDIR_P])dnl
  592 # For better backward compatibility.  To be removed once Automake 1.9.x
  593 # dies out for good.  For more background, see:
  594 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
  595 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
  596 AC_SUBST([mkdir_p], ['$(MKDIR_P)'])
  597 # We need awk for the "check" target (and possibly the TAP driver).  The
  598 # system "awk" is bad on some platforms.
  599 AC_REQUIRE([AC_PROG_AWK])dnl
  600 AC_REQUIRE([AC_PROG_MAKE_SET])dnl
  601 AC_REQUIRE([AM_SET_LEADING_DOT])dnl
  602 _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
  603 	      [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
  604 			     [_AM_PROG_TAR([v7])])])
  605 _AM_IF_OPTION([no-dependencies],,
  606 [AC_PROVIDE_IFELSE([AC_PROG_CC],
  607 		  [_AM_DEPENDENCIES([CC])],
  608 		  [m4_define([AC_PROG_CC],
  609 			     m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl
  610 AC_PROVIDE_IFELSE([AC_PROG_CXX],
  611 		  [_AM_DEPENDENCIES([CXX])],
  612 		  [m4_define([AC_PROG_CXX],
  613 			     m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl
  614 AC_PROVIDE_IFELSE([AC_PROG_OBJC],
  615 		  [_AM_DEPENDENCIES([OBJC])],
  616 		  [m4_define([AC_PROG_OBJC],
  617 			     m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
  618 AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
  619 		  [_AM_DEPENDENCIES([OBJCXX])],
  620 		  [m4_define([AC_PROG_OBJCXX],
  621 			     m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl
  622 ])
  623 # Variables for tags utilities; see am/tags.am
  624 if test -z "$CTAGS"; then
  625   CTAGS=ctags
  626 fi
  627 AC_SUBST([CTAGS])
  628 if test -z "$ETAGS"; then
  629   ETAGS=etags
  630 fi
  631 AC_SUBST([ETAGS])
  632 if test -z "$CSCOPE"; then
  633   CSCOPE=cscope
  634 fi
  635 AC_SUBST([CSCOPE])
  636 
  637 AC_REQUIRE([AM_SILENT_RULES])dnl
  638 dnl The testsuite driver may need to know about EXEEXT, so add the
  639 dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen.  This
  640 dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below.
  641 AC_CONFIG_COMMANDS_PRE(dnl
  642 [m4_provide_if([_AM_COMPILER_EXEEXT],
  643   [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
  644 
  645 # POSIX will say in a future version that running "rm -f" with no argument
  646 # is OK; and we want to be able to make that assumption in our Makefile
  647 # recipes.  So use an aggressive probe to check that the usage we want is
  648 # actually supported "in the wild" to an acceptable degree.
  649 # See automake bug#10828.
  650 # To make any issue more visible, cause the running configure to be aborted
  651 # by default if the 'rm' program in use doesn't match our expectations; the
  652 # user can still override this though.
  653 if rm -f && rm -fr && rm -rf; then : OK; else
  654   cat >&2 <<'END'
  655 Oops!
  656 
  657 Your 'rm' program seems unable to run without file operands specified
  658 on the command line, even when the '-f' option is present.  This is contrary
  659 to the behaviour of most rm programs out there, and not conforming with
  660 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
  661 
  662 Please tell bug-automake@gnu.org about your system, including the value
  663 of your $PATH and any error possibly output before this message.  This
  664 can help us improve future automake versions.
  665 
  666 END
  667   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
  668     echo 'Configuration will proceed anyway, since you have set the' >&2
  669     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
  670     echo >&2
  671   else
  672     cat >&2 <<'END'
  673 Aborting the configuration process, to ensure you take notice of the issue.
  674 
  675 You can download and install GNU coreutils to get an 'rm' implementation
  676 that behaves properly: <https://www.gnu.org/software/coreutils/>.
  677 
  678 If you want to complete the configuration process using your problematic
  679 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
  680 to "yes", and re-run configure.
  681 
  682 END
  683     AC_MSG_ERROR([Your 'rm' program is bad, sorry.])
  684   fi
  685 fi
  686 dnl The trailing newline in this macro's definition is deliberate, for
  687 dnl backward compatibility and to allow trailing 'dnl'-style comments
  688 dnl after the AM_INIT_AUTOMAKE invocation. See automake bug#16841.
  689 ])
  690 
  691 dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion.  Do not
  692 dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
  693 dnl mangled by Autoconf and run in a shell conditional statement.
  694 m4_define([_AC_COMPILER_EXEEXT],
  695 m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
  696 
  697 # When config.status generates a header, we must update the stamp-h file.
  698 # This file resides in the same directory as the config header
  699 # that is generated.  The stamp files are numbered to have different names.
  700 
  701 # Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
  702 # loop where config.status creates the headers, so we can generate
  703 # our stamp files there.
  704 AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
  705 [# Compute $1's index in $config_headers.
  706 _am_arg=$1
  707 _am_stamp_count=1
  708 for _am_header in $config_headers :; do
  709   case $_am_header in
  710     $_am_arg | $_am_arg:* )
  711       break ;;
  712     * )
  713       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
  714   esac
  715 done
  716 echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
  717 
  718 # Copyright (C) 2001-2021 Free Software Foundation, Inc.
  719 #
  720 # This file is free software; the Free Software Foundation
  721 # gives unlimited permission to copy and/or distribute it,
  722 # with or without modifications, as long as this notice is preserved.
  723 
  724 # AM_PROG_INSTALL_SH
  725 # ------------------
  726 # Define $install_sh.
  727 AC_DEFUN([AM_PROG_INSTALL_SH],
  728 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
  729 if test x"${install_sh+set}" != xset; then
  730   case $am_aux_dir in
  731   *\ * | *\	*)
  732     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
  733   *)
  734     install_sh="\${SHELL} $am_aux_dir/install-sh"
  735   esac
  736 fi
  737 AC_SUBST([install_sh])])
  738 
  739 # Copyright (C) 2003-2021 Free Software Foundation, Inc.
  740 #
  741 # This file is free software; the Free Software Foundation
  742 # gives unlimited permission to copy and/or distribute it,
  743 # with or without modifications, as long as this notice is preserved.
  744 
  745 # Check whether the underlying file-system supports filenames
  746 # with a leading dot.  For instance MS-DOS doesn't.
  747 AC_DEFUN([AM_SET_LEADING_DOT],
  748 [rm -rf .tst 2>/dev/null
  749 mkdir .tst 2>/dev/null
  750 if test -d .tst; then
  751   am__leading_dot=.
  752 else
  753   am__leading_dot=_
  754 fi
  755 rmdir .tst 2>/dev/null
  756 AC_SUBST([am__leading_dot])])
  757 
  758 # Check to see how 'make' treats includes.	            -*- Autoconf -*-
  759 
  760 # Copyright (C) 2001-2021 Free Software Foundation, Inc.
  761 #
  762 # This file is free software; the Free Software Foundation
  763 # gives unlimited permission to copy and/or distribute it,
  764 # with or without modifications, as long as this notice is preserved.
  765 
  766 # AM_MAKE_INCLUDE()
  767 # -----------------
  768 # Check whether make has an 'include' directive that can support all
  769 # the idioms we need for our automatic dependency tracking code.
  770 AC_DEFUN([AM_MAKE_INCLUDE],
  771 [AC_MSG_CHECKING([whether ${MAKE-make} supports the include directive])
  772 cat > confinc.mk << 'END'
  773 am__doit:
  774 	@echo this is the am__doit target >confinc.out
  775 .PHONY: am__doit
  776 END
  777 am__include="#"
  778 am__quote=
  779 # BSD make does it like this.
  780 echo '.include "confinc.mk" # ignored' > confmf.BSD
  781 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
  782 echo 'include confinc.mk # ignored' > confmf.GNU
  783 _am_result=no
  784 for s in GNU BSD; do
  785   AM_RUN_LOG([${MAKE-make} -f confmf.$s && cat confinc.out])
  786   AS_CASE([$?:`cat confinc.out 2>/dev/null`],
  787       ['0:this is the am__doit target'],
  788       [AS_CASE([$s],
  789           [BSD], [am__include='.include' am__quote='"'],
  790           [am__include='include' am__quote=''])])
  791   if test "$am__include" != "#"; then
  792     _am_result="yes ($s style)"
  793     break
  794   fi
  795 done
  796 rm -f confinc.* confmf.*
  797 AC_MSG_RESULT([${_am_result}])
  798 AC_SUBST([am__include])])
  799 AC_SUBST([am__quote])])
  800 
  801 # Fake the existence of programs that GNU maintainers use.  -*- Autoconf -*-
  802 
  803 # Copyright (C) 1997-2021 Free Software Foundation, Inc.
  804 #
  805 # This file is free software; the Free Software Foundation
  806 # gives unlimited permission to copy and/or distribute it,
  807 # with or without modifications, as long as this notice is preserved.
  808 
  809 # AM_MISSING_PROG(NAME, PROGRAM)
  810 # ------------------------------
  811 AC_DEFUN([AM_MISSING_PROG],
  812 [AC_REQUIRE([AM_MISSING_HAS_RUN])
  813 $1=${$1-"${am_missing_run}$2"}
  814 AC_SUBST($1)])
  815 
  816 # AM_MISSING_HAS_RUN
  817 # ------------------
  818 # Define MISSING if not defined so far and test if it is modern enough.
  819 # If it is, set am_missing_run to use it, otherwise, to nothing.
  820 AC_DEFUN([AM_MISSING_HAS_RUN],
  821 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
  822 AC_REQUIRE_AUX_FILE([missing])dnl
  823 if test x"${MISSING+set}" != xset; then
  824   MISSING="\${SHELL} '$am_aux_dir/missing'"
  825 fi
  826 # Use eval to expand $SHELL
  827 if eval "$MISSING --is-lightweight"; then
  828   am_missing_run="$MISSING "
  829 else
  830   am_missing_run=
  831   AC_MSG_WARN(['missing' script is too old or missing])
  832 fi
  833 ])
  834 
  835 # Helper functions for option handling.                     -*- Autoconf -*-
  836 
  837 # Copyright (C) 2001-2021 Free Software Foundation, Inc.
  838 #
  839 # This file is free software; the Free Software Foundation
  840 # gives unlimited permission to copy and/or distribute it,
  841 # with or without modifications, as long as this notice is preserved.
  842 
  843 # _AM_MANGLE_OPTION(NAME)
  844 # -----------------------
  845 AC_DEFUN([_AM_MANGLE_OPTION],
  846 [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
  847 
  848 # _AM_SET_OPTION(NAME)
  849 # --------------------
  850 # Set option NAME.  Presently that only means defining a flag for this option.
  851 AC_DEFUN([_AM_SET_OPTION],
  852 [m4_define(_AM_MANGLE_OPTION([$1]), [1])])
  853 
  854 # _AM_SET_OPTIONS(OPTIONS)
  855 # ------------------------
  856 # OPTIONS is a space-separated list of Automake options.
  857 AC_DEFUN([_AM_SET_OPTIONS],
  858 [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
  859 
  860 # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
  861 # -------------------------------------------
  862 # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
  863 AC_DEFUN([_AM_IF_OPTION],
  864 [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
  865 
  866 # Copyright (C) 1999-2021 Free Software Foundation, Inc.
  867 #
  868 # This file is free software; the Free Software Foundation
  869 # gives unlimited permission to copy and/or distribute it,
  870 # with or without modifications, as long as this notice is preserved.
  871 
  872 # _AM_PROG_CC_C_O
  873 # ---------------
  874 # Like AC_PROG_CC_C_O, but changed for automake.  We rewrite AC_PROG_CC
  875 # to automatically call this.
  876 AC_DEFUN([_AM_PROG_CC_C_O],
  877 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
  878 AC_REQUIRE_AUX_FILE([compile])dnl
  879 AC_LANG_PUSH([C])dnl
  880 AC_CACHE_CHECK(
  881   [whether $CC understands -c and -o together],
  882   [am_cv_prog_cc_c_o],
  883   [AC_LANG_CONFTEST([AC_LANG_PROGRAM([])])
  884   # Make sure it works both with $CC and with simple cc.
  885   # Following AC_PROG_CC_C_O, we do the test twice because some
  886   # compilers refuse to overwrite an existing .o file with -o,
  887   # though they will create one.
  888   am_cv_prog_cc_c_o=yes
  889   for am_i in 1 2; do
  890     if AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext]) \
  891          && test -f conftest2.$ac_objext; then
  892       : OK
  893     else
  894       am_cv_prog_cc_c_o=no
  895       break
  896     fi
  897   done
  898   rm -f core conftest*
  899   unset am_i])
  900 if test "$am_cv_prog_cc_c_o" != yes; then
  901    # Losing compiler, so override with the script.
  902    # FIXME: It is wrong to rewrite CC.
  903    # But if we don't then we get into trouble of one sort or another.
  904    # A longer-term fix would be to have automake use am__CC in this case,
  905    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
  906    CC="$am_aux_dir/compile $CC"
  907 fi
  908 AC_LANG_POP([C])])
  909 
  910 # For backward compatibility.
  911 AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])])
  912 
  913 # Copyright (C) 2001-2021 Free Software Foundation, Inc.
  914 #
  915 # This file is free software; the Free Software Foundation
  916 # gives unlimited permission to copy and/or distribute it,
  917 # with or without modifications, as long as this notice is preserved.
  918 
  919 # AM_RUN_LOG(COMMAND)
  920 # -------------------
  921 # Run COMMAND, save the exit status in ac_status, and log it.
  922 # (This has been adapted from Autoconf's _AC_RUN_LOG macro.)
  923 AC_DEFUN([AM_RUN_LOG],
  924 [{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD
  925    ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD
  926    ac_status=$?
  927    echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
  928    (exit $ac_status); }])
  929 
  930 # Check to make sure that the build environment is sane.    -*- Autoconf -*-
  931 
  932 # Copyright (C) 1996-2021 Free Software Foundation, Inc.
  933 #
  934 # This file is free software; the Free Software Foundation
  935 # gives unlimited permission to copy and/or distribute it,
  936 # with or without modifications, as long as this notice is preserved.
  937 
  938 # AM_SANITY_CHECK
  939 # ---------------
  940 AC_DEFUN([AM_SANITY_CHECK],
  941 [AC_MSG_CHECKING([whether build environment is sane])
  942 # Reject unsafe characters in $srcdir or the absolute working directory
  943 # name.  Accept space and tab only in the latter.
  944 am_lf='
  945 '
  946 case `pwd` in
  947   *[[\\\"\#\$\&\'\`$am_lf]]*)
  948     AC_MSG_ERROR([unsafe absolute working directory name]);;
  949 esac
  950 case $srcdir in
  951   *[[\\\"\#\$\&\'\`$am_lf\ \	]]*)
  952     AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);;
  953 esac
  954 
  955 # Do 'set' in a subshell so we don't clobber the current shell's
  956 # arguments.  Must try -L first in case configure is actually a
  957 # symlink; some systems play weird games with the mod time of symlinks
  958 # (eg FreeBSD returns the mod time of the symlink's containing
  959 # directory).
  960 if (
  961    am_has_slept=no
  962    for am_try in 1 2; do
  963      echo "timestamp, slept: $am_has_slept" > conftest.file
  964      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
  965      if test "$[*]" = "X"; then
  966 	# -L didn't work.
  967 	set X `ls -t "$srcdir/configure" conftest.file`
  968      fi
  969      if test "$[*]" != "X $srcdir/configure conftest.file" \
  970 	&& test "$[*]" != "X conftest.file $srcdir/configure"; then
  971 
  972 	# If neither matched, then we have a broken ls.  This can happen
  973 	# if, for instance, CONFIG_SHELL is bash and it inherits a
  974 	# broken ls alias from the environment.  This has actually
  975 	# happened.  Such a system could not be considered "sane".
  976 	AC_MSG_ERROR([ls -t appears to fail.  Make sure there is not a broken
  977   alias in your environment])
  978      fi
  979      if test "$[2]" = conftest.file || test $am_try -eq 2; then
  980        break
  981      fi
  982      # Just in case.
  983      sleep 1
  984      am_has_slept=yes
  985    done
  986    test "$[2]" = conftest.file
  987    )
  988 then
  989    # Ok.
  990    :
  991 else
  992    AC_MSG_ERROR([newly created file is older than distributed files!
  993 Check your system clock])
  994 fi
  995 AC_MSG_RESULT([yes])
  996 # If we didn't sleep, we still need to ensure time stamps of config.status and
  997 # generated files are strictly newer.
  998 am_sleep_pid=
  999 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
 1000   ( sleep 1 ) &
 1001   am_sleep_pid=$!
 1002 fi
 1003 AC_CONFIG_COMMANDS_PRE(
 1004   [AC_MSG_CHECKING([that generated files are newer than configure])
 1005    if test -n "$am_sleep_pid"; then
 1006      # Hide warnings about reused PIDs.
 1007      wait $am_sleep_pid 2>/dev/null
 1008    fi
 1009    AC_MSG_RESULT([done])])
 1010 rm -f conftest.file
 1011 ])
 1012 
 1013 # Copyright (C) 2009-2021 Free Software Foundation, Inc.
 1014 #
 1015 # This file is free software; the Free Software Foundation
 1016 # gives unlimited permission to copy and/or distribute it,
 1017 # with or without modifications, as long as this notice is preserved.
 1018 
 1019 # AM_SILENT_RULES([DEFAULT])
 1020 # --------------------------
 1021 # Enable less verbose build rules; with the default set to DEFAULT
 1022 # ("yes" being less verbose, "no" or empty being verbose).
 1023 AC_DEFUN([AM_SILENT_RULES],
 1024 [AC_ARG_ENABLE([silent-rules], [dnl
 1025 AS_HELP_STRING(
 1026   [--enable-silent-rules],
 1027   [less verbose build output (undo: "make V=1")])
 1028 AS_HELP_STRING(
 1029   [--disable-silent-rules],
 1030   [verbose build output (undo: "make V=0")])dnl
 1031 ])
 1032 case $enable_silent_rules in @%:@ (((
 1033   yes) AM_DEFAULT_VERBOSITY=0;;
 1034    no) AM_DEFAULT_VERBOSITY=1;;
 1035     *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
 1036 esac
 1037 dnl
 1038 dnl A few 'make' implementations (e.g., NonStop OS and NextStep)
 1039 dnl do not support nested variable expansions.
 1040 dnl See automake bug#9928 and bug#10237.
 1041 am_make=${MAKE-make}
 1042 AC_CACHE_CHECK([whether $am_make supports nested variables],
 1043    [am_cv_make_support_nested_variables],
 1044    [if AS_ECHO([['TRUE=$(BAR$(V))
 1045 BAR0=false
 1046 BAR1=true
 1047 V=1
 1048 am__doit:
 1049 	@$(TRUE)
 1050 .PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then
 1051   am_cv_make_support_nested_variables=yes
 1052 else
 1053   am_cv_make_support_nested_variables=no
 1054 fi])
 1055 if test $am_cv_make_support_nested_variables = yes; then
 1056   dnl Using '$V' instead of '$(V)' breaks IRIX make.
 1057   AM_V='$(V)'
 1058   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
 1059 else
 1060   AM_V=$AM_DEFAULT_VERBOSITY
 1061   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
 1062 fi
 1063 AC_SUBST([AM_V])dnl
 1064 AM_SUBST_NOTMAKE([AM_V])dnl
 1065 AC_SUBST([AM_DEFAULT_V])dnl
 1066 AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl
 1067 AC_SUBST([AM_DEFAULT_VERBOSITY])dnl
 1068 AM_BACKSLASH='\'
 1069 AC_SUBST([AM_BACKSLASH])dnl
 1070 _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
 1071 ])
 1072 
 1073 # Copyright (C) 2001-2021 Free Software Foundation, Inc.
 1074 #
 1075 # This file is free software; the Free Software Foundation
 1076 # gives unlimited permission to copy and/or distribute it,
 1077 # with or without modifications, as long as this notice is preserved.
 1078 
 1079 # AM_PROG_INSTALL_STRIP
 1080 # ---------------------
 1081 # One issue with vendor 'install' (even GNU) is that you can't
 1082 # specify the program used to strip binaries.  This is especially
 1083 # annoying in cross-compiling environments, where the build's strip
 1084 # is unlikely to handle the host's binaries.
 1085 # Fortunately install-sh will honor a STRIPPROG variable, so we
 1086 # always use install-sh in "make install-strip", and initialize
 1087 # STRIPPROG with the value of the STRIP variable (set by the user).
 1088 AC_DEFUN([AM_PROG_INSTALL_STRIP],
 1089 [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
 1090 # Installed binaries are usually stripped using 'strip' when the user
 1091 # run "make install-strip".  However 'strip' might not be the right
 1092 # tool to use in cross-compilation environments, therefore Automake
 1093 # will honor the 'STRIP' environment variable to overrule this program.
 1094 dnl Don't test for $cross_compiling = yes, because it might be 'maybe'.
 1095 if test "$cross_compiling" != no; then
 1096   AC_CHECK_TOOL([STRIP], [strip], :)
 1097 fi
 1098 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
 1099 AC_SUBST([INSTALL_STRIP_PROGRAM])])
 1100 
 1101 # Copyright (C) 2006-2021 Free Software Foundation, Inc.
 1102 #
 1103 # This file is free software; the Free Software Foundation
 1104 # gives unlimited permission to copy and/or distribute it,
 1105 # with or without modifications, as long as this notice is preserved.
 1106 
 1107 # _AM_SUBST_NOTMAKE(VARIABLE)
 1108 # ---------------------------
 1109 # Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
 1110 # This macro is traced by Automake.
 1111 AC_DEFUN([_AM_SUBST_NOTMAKE])
 1112 
 1113 # AM_SUBST_NOTMAKE(VARIABLE)
 1114 # --------------------------
 1115 # Public sister of _AM_SUBST_NOTMAKE.
 1116 AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
 1117 
 1118 m4_include([acinclude/ax_compute_relative_paths.m4])
 1119 m4_include([acinclude/ax_cxx_compile_stdcxx.m4])
 1120 m4_include([acinclude/ax_normalize_path.m4])
 1121 m4_include([acinclude/ax_recursive_eval.m4])
 1122 m4_include([acinclude/freetype2.m4])
 1123 m4_include([acinclude/libtool.m4])
 1124 m4_include([acinclude/ltoptions.m4])
 1125 m4_include([acinclude/ltsugar.m4])
 1126 m4_include([acinclude/ltversion.m4])
 1127 m4_include([acinclude/lt~obsolete.m4])
 1128 m4_include([acinclude/pkg.m4])
 1129 m4_include([acinclude/sdl2.m4])
 1130 m4_include([acinclude/tar.m4])