"Fossies" - the Fresh Open Source Software Archive

Member "flatpak-1.12.2/aclocal.m4" (12 Oct 2021, 70359 Bytes) of package /linux/misc/flatpak-1.12.2.tar.xz:


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": 1.12.1_vs_1.12.2.

    1 # generated automatically by aclocal 1.16.4 -*- 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 # gpgme.m4 - autoconf macro to detect GPGME.
   24 # Copyright (C) 2002, 2003, 2004, 2014, 2018 g10 Code GmbH
   25 #
   26 # This file is free software; as a special exception the author gives
   27 # unlimited permission to copy and/or distribute it, with or without
   28 # modifications, as long as this notice is preserved.
   29 #
   30 # This file is distributed in the hope that it will be useful, but
   31 # WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
   32 # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
   33 #
   34 # Last-changed: 2020-11-20
   35 
   36 
   37 AC_DEFUN([_AM_PATH_GPGME_CONFIG],
   38 [ AC_ARG_WITH(gpgme-prefix,
   39             AS_HELP_STRING([--with-gpgme-prefix=PFX],
   40                            [prefix where GPGME is installed (optional)]),
   41      gpgme_config_prefix="$withval", gpgme_config_prefix="")
   42   if test x"${GPGME_CONFIG}" = x ; then
   43      if test x"${gpgme_config_prefix}" != x ; then
   44         GPGME_CONFIG="${gpgme_config_prefix}/bin/gpgme-config"
   45      else
   46        case "${SYSROOT}" in
   47          /*)
   48            if test -x "${SYSROOT}/bin/gpgme-config" ; then
   49              GPGME_CONFIG="${SYSROOT}/bin/gpgme-config"
   50            fi
   51            ;;
   52          '')
   53            ;;
   54           *)
   55            AC_MSG_WARN([Ignoring \$SYSROOT as it is not an absolute path.])
   56            ;;
   57        esac
   58      fi
   59   fi
   60 
   61   use_gpgrt_config=""
   62   if test x"${GPGME_CONFIG}" = x -a x"$GPGRT_CONFIG" != x -a "$GPGRT_CONFIG" != "no"; then
   63     if $GPGRT_CONFIG gpgme --exists; then
   64       GPGME_CONFIG="$GPGRT_CONFIG gpgme"
   65       AC_MSG_NOTICE([Use gpgrt-config as gpgme-config])
   66       use_gpgrt_config=yes
   67     fi
   68   fi
   69   if test -z "$use_gpgrt_config"; then
   70     AC_PATH_PROG(GPGME_CONFIG, gpgme-config, no)
   71   fi
   72 
   73   if test "$GPGME_CONFIG" != "no" ; then
   74     if test -z "$use_gpgrt_config"; then
   75       gpgme_version=`$GPGME_CONFIG --version`
   76     else
   77       gpgme_version=`$GPGME_CONFIG --modversion`
   78     fi
   79   fi
   80   gpgme_version_major=`echo $gpgme_version | \
   81                sed 's/\([[0-9]]*\)\.\([[0-9]]*\)\.\([[0-9]]*\).*/\1/'`
   82   gpgme_version_minor=`echo $gpgme_version | \
   83                sed 's/\([[0-9]]*\)\.\([[0-9]]*\)\.\([[0-9]]*\).*/\2/'`
   84   gpgme_version_micro=`echo $gpgme_version | \
   85                sed 's/\([[0-9]]*\)\.\([[0-9]]*\)\.\([[0-9]]*\).*/\3/'`
   86 ])
   87 
   88 
   89 AC_DEFUN([_AM_PATH_GPGME_CONFIG_HOST_CHECK],
   90 [
   91     if test -z "$use_gpgrt_config"; then
   92       gpgme_config_host=`$GPGME_CONFIG --host 2>/dev/null || echo none`
   93     else
   94       gpgme_config_host=`$GPGME_CONFIG --variable=host 2>/dev/null || echo none`
   95     fi
   96     if test x"$gpgme_config_host" != xnone ; then
   97       if test x"$gpgme_config_host" != x"$host" ; then
   98   AC_MSG_WARN([[
   99 ***
  100 *** The config script "$GPGME_CONFIG" was
  101 *** built for $gpgme_config_host and thus may not match the
  102 *** used host $host.
  103 *** You may want to use the configure option --with-gpgme-prefix
  104 *** to specify a matching config script or use \$SYSROOT.
  105 ***]])
  106         gpg_config_script_warn="$gpg_config_script_warn gpgme"
  107       fi
  108     fi
  109 ])
  110 
  111 
  112 dnl AM_PATH_GPGME([MINIMUM-VERSION,
  113 dnl               [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND ]]])
  114 dnl Test for libgpgme and define GPGME_CFLAGS and GPGME_LIBS.
  115 dnl
  116 dnl If a prefix option is not used, the config script is first
  117 dnl searched in $SYSROOT/bin and then along $PATH.  If the used
  118 dnl config script does not match the host specification the script
  119 dnl is added to the gpg_config_script_warn variable.
  120 dnl
  121 AC_DEFUN([AM_PATH_GPGME],
  122 [ AC_REQUIRE([_AM_PATH_GPGME_CONFIG])dnl
  123   tmp=ifelse([$1], ,1:0.4.2,$1)
  124   if echo "$tmp" | grep ':' >/dev/null 2>/dev/null ; then
  125      req_gpgme_api=`echo "$tmp"     | sed 's/\(.*\):\(.*\)/\1/'`
  126      min_gpgme_version=`echo "$tmp" | sed 's/\(.*\):\(.*\)/\2/'`
  127   else
  128      req_gpgme_api=0
  129      min_gpgme_version="$tmp"
  130   fi
  131 
  132   AC_MSG_CHECKING(for GPGME - version >= $min_gpgme_version)
  133   ok=no
  134   if test "$GPGME_CONFIG" != "no" ; then
  135     req_major=`echo $min_gpgme_version | \
  136                sed 's/\([[0-9]]*\)\.\([[0-9]]*\)\.\([[0-9]]*\)/\1/'`
  137     req_minor=`echo $min_gpgme_version | \
  138                sed 's/\([[0-9]]*\)\.\([[0-9]]*\)\.\([[0-9]]*\)/\2/'`
  139     req_micro=`echo $min_gpgme_version | \
  140                sed 's/\([[0-9]]*\)\.\([[0-9]]*\)\.\([[0-9]]*\)/\3/'`
  141     if test "$gpgme_version_major" -gt "$req_major"; then
  142         ok=yes
  143     else
  144         if test "$gpgme_version_major" -eq "$req_major"; then
  145             if test "$gpgme_version_minor" -gt "$req_minor"; then
  146                ok=yes
  147             else
  148                if test "$gpgme_version_minor" -eq "$req_minor"; then
  149                    if test "$gpgme_version_micro" -ge "$req_micro"; then
  150                      ok=yes
  151                    fi
  152                fi
  153             fi
  154         fi
  155     fi
  156   fi
  157   if test $ok = yes; then
  158      # If we have a recent GPGME, we should also check that the
  159      # API is compatible.
  160      if test "$req_gpgme_api" -gt 0 ; then
  161         if test -z "$use_gpgrt_config"; then
  162           tmp=`$GPGME_CONFIG --api-version 2>/dev/null || echo 0`
  163         else
  164           tmp=`$GPGME_CONFIG --variable=api_version 2>/dev/null || echo 0`
  165         fi
  166         if test "$tmp" -gt 0 ; then
  167            if test "$req_gpgme_api" -ne "$tmp" ; then
  168              ok=no
  169            fi
  170         fi
  171      fi
  172   fi
  173   if test $ok = yes; then
  174     GPGME_CFLAGS=`$GPGME_CONFIG --cflags`
  175     GPGME_LIBS=`$GPGME_CONFIG --libs`
  176     AC_MSG_RESULT(yes)
  177     ifelse([$2], , :, [$2])
  178     _AM_PATH_GPGME_CONFIG_HOST_CHECK
  179   else
  180     GPGME_CFLAGS=""
  181     GPGME_LIBS=""
  182     AC_MSG_RESULT(no)
  183     ifelse([$3], , :, [$3])
  184   fi
  185   AC_SUBST(GPGME_CFLAGS)
  186   AC_SUBST(GPGME_LIBS)
  187 ])
  188 
  189 dnl AM_PATH_GPGME_PTHREAD([MINIMUM-VERSION,
  190 dnl                       [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND ]]])
  191 dnl Test for libgpgme and define GPGME_PTHREAD_CFLAGS
  192 dnl  and GPGME_PTHREAD_LIBS.
  193 dnl
  194 AC_DEFUN([AM_PATH_GPGME_PTHREAD],
  195 [ AC_REQUIRE([_AM_PATH_GPGME_CONFIG])dnl
  196   tmp=ifelse([$1], ,1:0.4.2,$1)
  197   if echo "$tmp" | grep ':' >/dev/null 2>/dev/null ; then
  198      req_gpgme_api=`echo "$tmp"     | sed 's/\(.*\):\(.*\)/\1/'`
  199      min_gpgme_version=`echo "$tmp" | sed 's/\(.*\):\(.*\)/\2/'`
  200   else
  201      req_gpgme_api=0
  202      min_gpgme_version="$tmp"
  203   fi
  204 
  205   AC_MSG_CHECKING(for GPGME pthread - version >= $min_gpgme_version)
  206   ok=no
  207   if test "$GPGME_CONFIG" != "no" ; then
  208     if `$GPGME_CONFIG --thread=pthread 2> /dev/null` ; then
  209       req_major=`echo $min_gpgme_version | \
  210                sed 's/\([[0-9]]*\)\.\([[0-9]]*\)\.\([[0-9]]*\)/\1/'`
  211       req_minor=`echo $min_gpgme_version | \
  212                sed 's/\([[0-9]]*\)\.\([[0-9]]*\)\.\([[0-9]]*\)/\2/'`
  213       req_micro=`echo $min_gpgme_version | \
  214                sed 's/\([[0-9]]*\)\.\([[0-9]]*\)\.\([[0-9]]*\)/\3/'`
  215       if test "$gpgme_version_major" -gt "$req_major"; then
  216         ok=yes
  217       else
  218         if test "$gpgme_version_major" -eq "$req_major"; then
  219           if test "$gpgme_version_minor" -gt "$req_minor"; then
  220             ok=yes
  221           else
  222             if test "$gpgme_version_minor" -eq "$req_minor"; then
  223               if test "$gpgme_version_micro" -ge "$req_micro"; then
  224                 ok=yes
  225               fi
  226             fi
  227           fi
  228         fi
  229       fi
  230     fi
  231   fi
  232   if test $ok = yes; then
  233      # If we have a recent GPGME, we should also check that the
  234      # API is compatible.
  235      if test "$req_gpgme_api" -gt 0 ; then
  236         tmp=`$GPGME_CONFIG --api-version 2>/dev/null || echo 0`
  237         if test "$tmp" -gt 0 ; then
  238            if test "$req_gpgme_api" -ne "$tmp" ; then
  239              ok=no
  240            fi
  241         fi
  242      fi
  243   fi
  244   if test $ok = yes; then
  245     GPGME_PTHREAD_CFLAGS=`$GPGME_CONFIG --thread=pthread --cflags`
  246     GPGME_PTHREAD_LIBS=`$GPGME_CONFIG --thread=pthread --libs`
  247     AC_MSG_RESULT(yes)
  248     ifelse([$2], , :, [$2])
  249     _AM_PATH_GPGME_CONFIG_HOST_CHECK
  250   else
  251     GPGME_PTHREAD_CFLAGS=""
  252     GPGME_PTHREAD_LIBS=""
  253     AC_MSG_RESULT(no)
  254     ifelse([$3], , :, [$3])
  255   fi
  256   AC_SUBST(GPGME_PTHREAD_CFLAGS)
  257   AC_SUBST(GPGME_PTHREAD_LIBS)
  258 ])
  259 
  260 
  261 dnl AM_PATH_GPGME_GLIB([MINIMUM-VERSION,
  262 dnl               [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND ]]])
  263 dnl Test for libgpgme-glib and define GPGME_GLIB_CFLAGS and GPGME_GLIB_LIBS.
  264 dnl
  265 AC_DEFUN([AM_PATH_GPGME_GLIB],
  266 [ AC_REQUIRE([_AM_PATH_GPGME_CONFIG])dnl
  267   tmp=ifelse([$1], ,1:0.4.2,$1)
  268   if echo "$tmp" | grep ':' >/dev/null 2>/dev/null ; then
  269      req_gpgme_api=`echo "$tmp"     | sed 's/\(.*\):\(.*\)/\1/'`
  270      min_gpgme_version=`echo "$tmp" | sed 's/\(.*\):\(.*\)/\2/'`
  271   else
  272      req_gpgme_api=0
  273      min_gpgme_version="$tmp"
  274   fi
  275 
  276   AC_MSG_CHECKING(for GPGME - version >= $min_gpgme_version)
  277   ok=no
  278   if test "$GPGME_CONFIG" != "no" ; then
  279     req_major=`echo $min_gpgme_version | \
  280                sed 's/\([[0-9]]*\)\.\([[0-9]]*\)\.\([[0-9]]*\)/\1/'`
  281     req_minor=`echo $min_gpgme_version | \
  282                sed 's/\([[0-9]]*\)\.\([[0-9]]*\)\.\([[0-9]]*\)/\2/'`
  283     req_micro=`echo $min_gpgme_version | \
  284                sed 's/\([[0-9]]*\)\.\([[0-9]]*\)\.\([[0-9]]*\)/\3/'`
  285     if test "$gpgme_version_major" -gt "$req_major"; then
  286         ok=yes
  287     else
  288         if test "$gpgme_version_major" -eq "$req_major"; then
  289             if test "$gpgme_version_minor" -gt "$req_minor"; then
  290                ok=yes
  291             else
  292                if test "$gpgme_version_minor" -eq "$req_minor"; then
  293                    if test "$gpgme_version_micro" -ge "$req_micro"; then
  294                      ok=yes
  295                    fi
  296                fi
  297             fi
  298         fi
  299     fi
  300   fi
  301   if test $ok = yes; then
  302      # If we have a recent GPGME, we should also check that the
  303      # API is compatible.
  304      if test "$req_gpgme_api" -gt 0 ; then
  305         if test -z "$use_gpgrt_config"; then
  306           tmp=`$GPGME_CONFIG --api-version 2>/dev/null || echo 0`
  307         else
  308           tmp=`$GPGME_CONFIG --variable=api_version 2>/dev/null || echo 0`
  309         fi
  310         if test "$tmp" -gt 0 ; then
  311            if test "$req_gpgme_api" -ne "$tmp" ; then
  312              ok=no
  313            fi
  314         fi
  315      fi
  316   fi
  317   if test $ok = yes; then
  318     if test -z "$use_gpgrt_config"; then
  319       GPGME_GLIB_CFLAGS=`$GPGME_CONFIG --glib --cflags`
  320       GPGME_GLIB_LIBS=`$GPGME_CONFIG --glib --libs`
  321     else
  322       if $GPGRT_CONFIG gpgme-glib --exists; then
  323         GPGME_CONFIG="$GPGRT_CONFIG gpgme-glib"
  324         GPGME_GLIB_CFLAGS=`$GPGME_CONFIG --cflags`
  325         GPGME_GLIB_LIBS=`$GPGME_CONFIG --libs`
  326       else
  327         ok = no
  328       fi
  329     fi
  330   fi
  331   if test $ok = yes; then
  332     AC_MSG_RESULT(yes)
  333     ifelse([$2], , :, [$2])
  334     _AM_PATH_GPGME_CONFIG_HOST_CHECK
  335   else
  336     GPGME_GLIB_CFLAGS=""
  337     GPGME_GLIB_LIBS=""
  338     AC_MSG_RESULT(no)
  339     ifelse([$3], , :, [$3])
  340   fi
  341   AC_SUBST(GPGME_GLIB_CFLAGS)
  342   AC_SUBST(GPGME_GLIB_LIBS)
  343 ])
  344 
  345 dnl -*- mode: autoconf -*-
  346 dnl Copyright 2009 Johan Dahlin
  347 dnl
  348 dnl This file is free software; the author(s) gives unlimited
  349 dnl permission to copy and/or distribute it, with or without
  350 dnl modifications, as long as this notice is preserved.
  351 dnl
  352 
  353 # serial 1
  354 
  355 dnl This is a copy of AS_AC_EXPAND
  356 dnl
  357 dnl (C) 2003, 2004, 2005 Thomas Vander Stichele <thomas at apestaart dot org>
  358 dnl Copying and distribution of this file, with or without modification,
  359 dnl are permitted in any medium without royalty provided the copyright
  360 dnl notice and this notice are preserved.
  361 m4_define([_GOBJECT_INTROSPECTION_AS_AC_EXPAND],
  362 [
  363   EXP_VAR=[$1]
  364   FROM_VAR=[$2]
  365 
  366   dnl first expand prefix and exec_prefix if necessary
  367   prefix_save=$prefix
  368   exec_prefix_save=$exec_prefix
  369 
  370   dnl if no prefix given, then use /usr/local, the default prefix
  371   if test "x$prefix" = "xNONE"; then
  372     prefix="$ac_default_prefix"
  373   fi
  374   dnl if no exec_prefix given, then use prefix
  375   if test "x$exec_prefix" = "xNONE"; then
  376     exec_prefix=$prefix
  377   fi
  378 
  379   full_var="$FROM_VAR"
  380   dnl loop until it doesn't change anymore
  381   while true; do
  382     new_full_var="`eval echo $full_var`"
  383     if test "x$new_full_var" = "x$full_var"; then break; fi
  384     full_var=$new_full_var
  385   done
  386 
  387   dnl clean up
  388   full_var=$new_full_var
  389   AC_SUBST([$1], "$full_var")
  390 
  391   dnl restore prefix and exec_prefix
  392   prefix=$prefix_save
  393   exec_prefix=$exec_prefix_save
  394 ])
  395 
  396 m4_define([_GOBJECT_INTROSPECTION_CHECK_INTERNAL],
  397 [
  398     AC_BEFORE([AC_PROG_LIBTOOL],[$0])dnl setup libtool first
  399     AC_BEFORE([AM_PROG_LIBTOOL],[$0])dnl setup libtool first
  400     AC_BEFORE([LT_INIT],[$0])dnl setup libtool first
  401 
  402     dnl enable/disable introspection
  403     m4_if([$2], [require],
  404     [dnl
  405         enable_introspection=yes
  406     ],[dnl
  407         AC_ARG_ENABLE(introspection,
  408                   AS_HELP_STRING([--enable-introspection[=@<:@no/auto/yes@:>@]],
  409                                  [Enable introspection for this build]),, 
  410                                  [enable_introspection=auto])
  411     ])dnl
  412 
  413     AC_MSG_CHECKING([for gobject-introspection])
  414 
  415     dnl presence/version checking
  416     AS_CASE([$enable_introspection],
  417     [no], [dnl
  418         found_introspection="no (disabled, use --enable-introspection to enable)"
  419     ],dnl
  420     [yes],[dnl
  421         PKG_CHECK_EXISTS([gobject-introspection-1.0],,
  422                          AC_MSG_ERROR([gobject-introspection-1.0 is not installed]))
  423         PKG_CHECK_EXISTS([gobject-introspection-1.0 >= $1],
  424                          found_introspection=yes,
  425                          AC_MSG_ERROR([You need to have gobject-introspection >= $1 installed to build AC_PACKAGE_NAME]))
  426     ],dnl
  427     [auto],[dnl
  428         PKG_CHECK_EXISTS([gobject-introspection-1.0 >= $1], found_introspection=yes, found_introspection=no)
  429 	dnl Canonicalize enable_introspection
  430 	enable_introspection=$found_introspection
  431     ],dnl
  432     [dnl	
  433         AC_MSG_ERROR([invalid argument passed to --enable-introspection, should be one of @<:@no/auto/yes@:>@])
  434     ])dnl
  435 
  436     AC_MSG_RESULT([$found_introspection])
  437 
  438     dnl expand datadir/libdir so we can pass them to pkg-config
  439     dnl and get paths relative to our target directories
  440     _GOBJECT_INTROSPECTION_AS_AC_EXPAND(_GI_EXP_DATADIR, "$datadir")
  441     _GOBJECT_INTROSPECTION_AS_AC_EXPAND(_GI_EXP_LIBDIR, "$libdir")
  442 
  443     INTROSPECTION_SCANNER=
  444     INTROSPECTION_COMPILER=
  445     INTROSPECTION_GENERATE=
  446     INTROSPECTION_GIRDIR=
  447     INTROSPECTION_TYPELIBDIR=
  448     if test "x$found_introspection" = "xyes"; then
  449        INTROSPECTION_SCANNER=$PKG_CONFIG_SYSROOT_DIR`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0`
  450        INTROSPECTION_COMPILER=$PKG_CONFIG_SYSROOT_DIR`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0`
  451        INTROSPECTION_GENERATE=$PKG_CONFIG_SYSROOT_DIR`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0`
  452        INTROSPECTION_GIRDIR=`$PKG_CONFIG --define-variable=datadir="${_GI_EXP_DATADIR}" --variable=girdir gobject-introspection-1.0`
  453        INTROSPECTION_TYPELIBDIR="$($PKG_CONFIG --define-variable=libdir="${_GI_EXP_LIBDIR}" --variable=typelibdir gobject-introspection-1.0)"
  454        INTROSPECTION_CFLAGS=`$PKG_CONFIG --cflags gobject-introspection-1.0`
  455        INTROSPECTION_LIBS=`$PKG_CONFIG --libs gobject-introspection-1.0`
  456        INTROSPECTION_MAKEFILE=$PKG_CONFIG_SYSROOT_DIR`$PKG_CONFIG --variable=datadir gobject-introspection-1.0`/gobject-introspection-1.0/Makefile.introspection
  457     fi
  458     AC_SUBST(INTROSPECTION_SCANNER)
  459     AC_SUBST(INTROSPECTION_COMPILER)
  460     AC_SUBST(INTROSPECTION_GENERATE)
  461     AC_SUBST(INTROSPECTION_GIRDIR)
  462     AC_SUBST(INTROSPECTION_TYPELIBDIR)
  463     AC_SUBST(INTROSPECTION_CFLAGS)
  464     AC_SUBST(INTROSPECTION_LIBS)
  465     AC_SUBST(INTROSPECTION_MAKEFILE)
  466 
  467     AM_CONDITIONAL(HAVE_INTROSPECTION, test "x$found_introspection" = "xyes")
  468 ])
  469 
  470 
  471 dnl Usage:
  472 dnl   GOBJECT_INTROSPECTION_CHECK([minimum-g-i-version])
  473 
  474 AC_DEFUN([GOBJECT_INTROSPECTION_CHECK],
  475 [
  476   _GOBJECT_INTROSPECTION_CHECK_INTERNAL([$1])
  477 ])
  478 
  479 dnl Usage:
  480 dnl   GOBJECT_INTROSPECTION_REQUIRE([minimum-g-i-version])
  481 
  482 
  483 AC_DEFUN([GOBJECT_INTROSPECTION_REQUIRE],
  484 [
  485   _GOBJECT_INTROSPECTION_CHECK_INTERNAL([$1], [require])
  486 ])
  487 
  488 # pkg.m4 - Macros to locate and utilise pkg-config.   -*- Autoconf -*-
  489 # serial 12 (pkg-config-0.29.2)
  490 
  491 dnl Copyright © 2004 Scott James Remnant <scott@netsplit.com>.
  492 dnl Copyright © 2012-2015 Dan Nicholson <dbn.lists@gmail.com>
  493 dnl
  494 dnl This program is free software; you can redistribute it and/or modify
  495 dnl it under the terms of the GNU General Public License as published by
  496 dnl the Free Software Foundation; either version 2 of the License, or
  497 dnl (at your option) any later version.
  498 dnl
  499 dnl This program is distributed in the hope that it will be useful, but
  500 dnl WITHOUT ANY WARRANTY; without even the implied warranty of
  501 dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  502 dnl General Public License for more details.
  503 dnl
  504 dnl You should have received a copy of the GNU General Public License
  505 dnl along with this program; if not, write to the Free Software
  506 dnl Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
  507 dnl 02111-1307, USA.
  508 dnl
  509 dnl As a special exception to the GNU General Public License, if you
  510 dnl distribute this file as part of a program that contains a
  511 dnl configuration script generated by Autoconf, you may include it under
  512 dnl the same distribution terms that you use for the rest of that
  513 dnl program.
  514 
  515 dnl PKG_PREREQ(MIN-VERSION)
  516 dnl -----------------------
  517 dnl Since: 0.29
  518 dnl
  519 dnl Verify that the version of the pkg-config macros are at least
  520 dnl MIN-VERSION. Unlike PKG_PROG_PKG_CONFIG, which checks the user's
  521 dnl installed version of pkg-config, this checks the developer's version
  522 dnl of pkg.m4 when generating configure.
  523 dnl
  524 dnl To ensure that this macro is defined, also add:
  525 dnl m4_ifndef([PKG_PREREQ],
  526 dnl     [m4_fatal([must install pkg-config 0.29 or later before running autoconf/autogen])])
  527 dnl
  528 dnl See the "Since" comment for each macro you use to see what version
  529 dnl of the macros you require.
  530 m4_defun([PKG_PREREQ],
  531 [m4_define([PKG_MACROS_VERSION], [0.29.2])
  532 m4_if(m4_version_compare(PKG_MACROS_VERSION, [$1]), -1,
  533     [m4_fatal([pkg.m4 version $1 or higher is required but ]PKG_MACROS_VERSION[ found])])
  534 ])dnl PKG_PREREQ
  535 
  536 dnl PKG_PROG_PKG_CONFIG([MIN-VERSION])
  537 dnl ----------------------------------
  538 dnl Since: 0.16
  539 dnl
  540 dnl Search for the pkg-config tool and set the PKG_CONFIG variable to
  541 dnl first found in the path. Checks that the version of pkg-config found
  542 dnl is at least MIN-VERSION. If MIN-VERSION is not specified, 0.9.0 is
  543 dnl used since that's the first version where most current features of
  544 dnl pkg-config existed.
  545 AC_DEFUN([PKG_PROG_PKG_CONFIG],
  546 [m4_pattern_forbid([^_?PKG_[A-Z_]+$])
  547 m4_pattern_allow([^PKG_CONFIG(_(PATH|LIBDIR|SYSROOT_DIR|ALLOW_SYSTEM_(CFLAGS|LIBS)))?$])
  548 m4_pattern_allow([^PKG_CONFIG_(DISABLE_UNINSTALLED|TOP_BUILD_DIR|DEBUG_SPEW)$])
  549 AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])
  550 AC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search path])
  551 AC_ARG_VAR([PKG_CONFIG_LIBDIR], [path overriding pkg-config's built-in search path])
  552 
  553 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
  554 	AC_PATH_TOOL([PKG_CONFIG], [pkg-config])
  555 fi
  556 if test -n "$PKG_CONFIG"; then
  557 	_pkg_min_version=m4_default([$1], [0.9.0])
  558 	AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version])
  559 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
  560 		AC_MSG_RESULT([yes])
  561 	else
  562 		AC_MSG_RESULT([no])
  563 		PKG_CONFIG=""
  564 	fi
  565 fi[]dnl
  566 ])dnl PKG_PROG_PKG_CONFIG
  567 
  568 dnl PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
  569 dnl -------------------------------------------------------------------
  570 dnl Since: 0.18
  571 dnl
  572 dnl Check to see whether a particular set of modules exists. Similar to
  573 dnl PKG_CHECK_MODULES(), but does not set variables or print errors.
  574 dnl
  575 dnl Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG])
  576 dnl only at the first occurence in configure.ac, so if the first place
  577 dnl it's called might be skipped (such as if it is within an "if", you
  578 dnl have to call PKG_CHECK_EXISTS manually
  579 AC_DEFUN([PKG_CHECK_EXISTS],
  580 [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
  581 if test -n "$PKG_CONFIG" && \
  582     AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then
  583   m4_default([$2], [:])
  584 m4_ifvaln([$3], [else
  585   $3])dnl
  586 fi])
  587 
  588 dnl _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES])
  589 dnl ---------------------------------------------
  590 dnl Internal wrapper calling pkg-config via PKG_CONFIG and setting
  591 dnl pkg_failed based on the result.
  592 m4_define([_PKG_CONFIG],
  593 [if test -n "$$1"; then
  594     pkg_cv_[]$1="$$1"
  595  elif test -n "$PKG_CONFIG"; then
  596     PKG_CHECK_EXISTS([$3],
  597                      [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`
  598 		      test "x$?" != "x0" && pkg_failed=yes ],
  599 		     [pkg_failed=yes])
  600  else
  601     pkg_failed=untried
  602 fi[]dnl
  603 ])dnl _PKG_CONFIG
  604 
  605 dnl _PKG_SHORT_ERRORS_SUPPORTED
  606 dnl ---------------------------
  607 dnl Internal check to see if pkg-config supports short errors.
  608 AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED],
  609 [AC_REQUIRE([PKG_PROG_PKG_CONFIG])
  610 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  611         _pkg_short_errors_supported=yes
  612 else
  613         _pkg_short_errors_supported=no
  614 fi[]dnl
  615 ])dnl _PKG_SHORT_ERRORS_SUPPORTED
  616 
  617 
  618 dnl PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND],
  619 dnl   [ACTION-IF-NOT-FOUND])
  620 dnl --------------------------------------------------------------
  621 dnl Since: 0.4.0
  622 dnl
  623 dnl Note that if there is a possibility the first call to
  624 dnl PKG_CHECK_MODULES might not happen, you should be sure to include an
  625 dnl explicit call to PKG_PROG_PKG_CONFIG in your configure.ac
  626 AC_DEFUN([PKG_CHECK_MODULES],
  627 [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
  628 AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl
  629 AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl
  630 
  631 pkg_failed=no
  632 AC_MSG_CHECKING([for $2])
  633 
  634 _PKG_CONFIG([$1][_CFLAGS], [cflags], [$2])
  635 _PKG_CONFIG([$1][_LIBS], [libs], [$2])
  636 
  637 m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS
  638 and $1[]_LIBS to avoid the need to call pkg-config.
  639 See the pkg-config man page for more details.])
  640 
  641 if test $pkg_failed = yes; then
  642         AC_MSG_RESULT([no])
  643         _PKG_SHORT_ERRORS_SUPPORTED
  644         if test $_pkg_short_errors_supported = yes; then
  645 	        $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$2" 2>&1`
  646         else
  647 	        $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$2" 2>&1`
  648         fi
  649 	# Put the nasty error message in config.log where it belongs
  650 	echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD
  651 
  652 	m4_default([$4], [AC_MSG_ERROR(
  653 [Package requirements ($2) were not met:
  654 
  655 $$1_PKG_ERRORS
  656 
  657 Consider adjusting the PKG_CONFIG_PATH environment variable if you
  658 installed software in a non-standard prefix.
  659 
  660 _PKG_TEXT])[]dnl
  661         ])
  662 elif test $pkg_failed = untried; then
  663         AC_MSG_RESULT([no])
  664 	m4_default([$4], [AC_MSG_FAILURE(
  665 [The pkg-config script could not be found or is too old.  Make sure it
  666 is in your PATH or set the PKG_CONFIG environment variable to the full
  667 path to pkg-config.
  668 
  669 _PKG_TEXT
  670 
  671 To get pkg-config, see <http://pkg-config.freedesktop.org/>.])[]dnl
  672         ])
  673 else
  674 	$1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS
  675 	$1[]_LIBS=$pkg_cv_[]$1[]_LIBS
  676         AC_MSG_RESULT([yes])
  677 	$3
  678 fi[]dnl
  679 ])dnl PKG_CHECK_MODULES
  680 
  681 
  682 dnl PKG_CHECK_MODULES_STATIC(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND],
  683 dnl   [ACTION-IF-NOT-FOUND])
  684 dnl ---------------------------------------------------------------------
  685 dnl Since: 0.29
  686 dnl
  687 dnl Checks for existence of MODULES and gathers its build flags with
  688 dnl static libraries enabled. Sets VARIABLE-PREFIX_CFLAGS from --cflags
  689 dnl and VARIABLE-PREFIX_LIBS from --libs.
  690 dnl
  691 dnl Note that if there is a possibility the first call to
  692 dnl PKG_CHECK_MODULES_STATIC might not happen, you should be sure to
  693 dnl include an explicit call to PKG_PROG_PKG_CONFIG in your
  694 dnl configure.ac.
  695 AC_DEFUN([PKG_CHECK_MODULES_STATIC],
  696 [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
  697 _save_PKG_CONFIG=$PKG_CONFIG
  698 PKG_CONFIG="$PKG_CONFIG --static"
  699 PKG_CHECK_MODULES($@)
  700 PKG_CONFIG=$_save_PKG_CONFIG[]dnl
  701 ])dnl PKG_CHECK_MODULES_STATIC
  702 
  703 
  704 dnl PKG_INSTALLDIR([DIRECTORY])
  705 dnl -------------------------
  706 dnl Since: 0.27
  707 dnl
  708 dnl Substitutes the variable pkgconfigdir as the location where a module
  709 dnl should install pkg-config .pc files. By default the directory is
  710 dnl $libdir/pkgconfig, but the default can be changed by passing
  711 dnl DIRECTORY. The user can override through the --with-pkgconfigdir
  712 dnl parameter.
  713 AC_DEFUN([PKG_INSTALLDIR],
  714 [m4_pushdef([pkg_default], [m4_default([$1], ['${libdir}/pkgconfig'])])
  715 m4_pushdef([pkg_description],
  716     [pkg-config installation directory @<:@]pkg_default[@:>@])
  717 AC_ARG_WITH([pkgconfigdir],
  718     [AS_HELP_STRING([--with-pkgconfigdir], pkg_description)],,
  719     [with_pkgconfigdir=]pkg_default)
  720 AC_SUBST([pkgconfigdir], [$with_pkgconfigdir])
  721 m4_popdef([pkg_default])
  722 m4_popdef([pkg_description])
  723 ])dnl PKG_INSTALLDIR
  724 
  725 
  726 dnl PKG_NOARCH_INSTALLDIR([DIRECTORY])
  727 dnl --------------------------------
  728 dnl Since: 0.27
  729 dnl
  730 dnl Substitutes the variable noarch_pkgconfigdir as the location where a
  731 dnl module should install arch-independent pkg-config .pc files. By
  732 dnl default the directory is $datadir/pkgconfig, but the default can be
  733 dnl changed by passing DIRECTORY. The user can override through the
  734 dnl --with-noarch-pkgconfigdir parameter.
  735 AC_DEFUN([PKG_NOARCH_INSTALLDIR],
  736 [m4_pushdef([pkg_default], [m4_default([$1], ['${datadir}/pkgconfig'])])
  737 m4_pushdef([pkg_description],
  738     [pkg-config arch-independent installation directory @<:@]pkg_default[@:>@])
  739 AC_ARG_WITH([noarch-pkgconfigdir],
  740     [AS_HELP_STRING([--with-noarch-pkgconfigdir], pkg_description)],,
  741     [with_noarch_pkgconfigdir=]pkg_default)
  742 AC_SUBST([noarch_pkgconfigdir], [$with_noarch_pkgconfigdir])
  743 m4_popdef([pkg_default])
  744 m4_popdef([pkg_description])
  745 ])dnl PKG_NOARCH_INSTALLDIR
  746 
  747 
  748 dnl PKG_CHECK_VAR(VARIABLE, MODULE, CONFIG-VARIABLE,
  749 dnl [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
  750 dnl -------------------------------------------
  751 dnl Since: 0.28
  752 dnl
  753 dnl Retrieves the value of the pkg-config variable for the given module.
  754 AC_DEFUN([PKG_CHECK_VAR],
  755 [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
  756 AC_ARG_VAR([$1], [value of $3 for $2, overriding pkg-config])dnl
  757 
  758 _PKG_CONFIG([$1], [variable="][$3]["], [$2])
  759 AS_VAR_COPY([$1], [pkg_cv_][$1])
  760 
  761 AS_VAR_IF([$1], [""], [$5], [$4])dnl
  762 ])dnl PKG_CHECK_VAR
  763 
  764 # Copyright (C) 2002-2021 Free Software Foundation, Inc.
  765 #
  766 # This file is free software; the Free Software Foundation
  767 # gives unlimited permission to copy and/or distribute it,
  768 # with or without modifications, as long as this notice is preserved.
  769 
  770 # AM_AUTOMAKE_VERSION(VERSION)
  771 # ----------------------------
  772 # Automake X.Y traces this macro to ensure aclocal.m4 has been
  773 # generated from the m4 files accompanying Automake X.Y.
  774 # (This private macro should not be called outside this file.)
  775 AC_DEFUN([AM_AUTOMAKE_VERSION],
  776 [am__api_version='1.16'
  777 dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
  778 dnl require some minimum version.  Point them to the right macro.
  779 m4_if([$1], [1.16.4], [],
  780       [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
  781 ])
  782 
  783 # _AM_AUTOCONF_VERSION(VERSION)
  784 # -----------------------------
  785 # aclocal traces this macro to find the Autoconf version.
  786 # This is a private macro too.  Using m4_define simplifies
  787 # the logic in aclocal, which can simply ignore this definition.
  788 m4_define([_AM_AUTOCONF_VERSION], [])
  789 
  790 # AM_SET_CURRENT_AUTOMAKE_VERSION
  791 # -------------------------------
  792 # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
  793 # This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
  794 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
  795 [AM_AUTOMAKE_VERSION([1.16.4])dnl
  796 m4_ifndef([AC_AUTOCONF_VERSION],
  797   [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
  798 _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
  799 
  800 # AM_AUX_DIR_EXPAND                                         -*- Autoconf -*-
  801 
  802 # Copyright (C) 2001-2021 Free Software Foundation, Inc.
  803 #
  804 # This file is free software; the Free Software Foundation
  805 # gives unlimited permission to copy and/or distribute it,
  806 # with or without modifications, as long as this notice is preserved.
  807 
  808 # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
  809 # $ac_aux_dir to '$srcdir/foo'.  In other projects, it is set to
  810 # '$srcdir', '$srcdir/..', or '$srcdir/../..'.
  811 #
  812 # Of course, Automake must honor this variable whenever it calls a
  813 # tool from the auxiliary directory.  The problem is that $srcdir (and
  814 # therefore $ac_aux_dir as well) can be either absolute or relative,
  815 # depending on how configure is run.  This is pretty annoying, since
  816 # it makes $ac_aux_dir quite unusable in subdirectories: in the top
  817 # source directory, any form will work fine, but in subdirectories a
  818 # relative path needs to be adjusted first.
  819 #
  820 # $ac_aux_dir/missing
  821 #    fails when called from a subdirectory if $ac_aux_dir is relative
  822 # $top_srcdir/$ac_aux_dir/missing
  823 #    fails if $ac_aux_dir is absolute,
  824 #    fails when called from a subdirectory in a VPATH build with
  825 #          a relative $ac_aux_dir
  826 #
  827 # The reason of the latter failure is that $top_srcdir and $ac_aux_dir
  828 # are both prefixed by $srcdir.  In an in-source build this is usually
  829 # harmless because $srcdir is '.', but things will broke when you
  830 # start a VPATH build or use an absolute $srcdir.
  831 #
  832 # So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
  833 # iff we strip the leading $srcdir from $ac_aux_dir.  That would be:
  834 #   am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
  835 # and then we would define $MISSING as
  836 #   MISSING="\${SHELL} $am_aux_dir/missing"
  837 # This will work as long as MISSING is not called from configure, because
  838 # unfortunately $(top_srcdir) has no meaning in configure.
  839 # However there are other variables, like CC, which are often used in
  840 # configure, and could therefore not use this "fixed" $ac_aux_dir.
  841 #
  842 # Another solution, used here, is to always expand $ac_aux_dir to an
  843 # absolute PATH.  The drawback is that using absolute paths prevent a
  844 # configured tree to be moved without reconfiguration.
  845 
  846 AC_DEFUN([AM_AUX_DIR_EXPAND],
  847 [AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
  848 # Expand $ac_aux_dir to an absolute path.
  849 am_aux_dir=`cd "$ac_aux_dir" && pwd`
  850 ])
  851 
  852 # AM_CONDITIONAL                                            -*- Autoconf -*-
  853 
  854 # Copyright (C) 1997-2021 Free Software Foundation, Inc.
  855 #
  856 # This file is free software; the Free Software Foundation
  857 # gives unlimited permission to copy and/or distribute it,
  858 # with or without modifications, as long as this notice is preserved.
  859 
  860 # AM_CONDITIONAL(NAME, SHELL-CONDITION)
  861 # -------------------------------------
  862 # Define a conditional.
  863 AC_DEFUN([AM_CONDITIONAL],
  864 [AC_PREREQ([2.52])dnl
  865  m4_if([$1], [TRUE],  [AC_FATAL([$0: invalid condition: $1])],
  866        [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
  867 AC_SUBST([$1_TRUE])dnl
  868 AC_SUBST([$1_FALSE])dnl
  869 _AM_SUBST_NOTMAKE([$1_TRUE])dnl
  870 _AM_SUBST_NOTMAKE([$1_FALSE])dnl
  871 m4_define([_AM_COND_VALUE_$1], [$2])dnl
  872 if $2; then
  873   $1_TRUE=
  874   $1_FALSE='#'
  875 else
  876   $1_TRUE='#'
  877   $1_FALSE=
  878 fi
  879 AC_CONFIG_COMMANDS_PRE(
  880 [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
  881   AC_MSG_ERROR([[conditional "$1" was never defined.
  882 Usually this means the macro was only invoked conditionally.]])
  883 fi])])
  884 
  885 # Copyright (C) 1999-2021 Free Software Foundation, Inc.
  886 #
  887 # This file is free software; the Free Software Foundation
  888 # gives unlimited permission to copy and/or distribute it,
  889 # with or without modifications, as long as this notice is preserved.
  890 
  891 
  892 # There are a few dirty hacks below to avoid letting 'AC_PROG_CC' be
  893 # written in clear, in which case automake, when reading aclocal.m4,
  894 # will think it sees a *use*, and therefore will trigger all it's
  895 # C support machinery.  Also note that it means that autoscan, seeing
  896 # CC etc. in the Makefile, will ask for an AC_PROG_CC use...
  897 
  898 
  899 # _AM_DEPENDENCIES(NAME)
  900 # ----------------------
  901 # See how the compiler implements dependency checking.
  902 # NAME is "CC", "CXX", "OBJC", "OBJCXX", "UPC", or "GJC".
  903 # We try a few techniques and use that to set a single cache variable.
  904 #
  905 # We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
  906 # modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
  907 # dependency, and given that the user is not expected to run this macro,
  908 # just rely on AC_PROG_CC.
  909 AC_DEFUN([_AM_DEPENDENCIES],
  910 [AC_REQUIRE([AM_SET_DEPDIR])dnl
  911 AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
  912 AC_REQUIRE([AM_MAKE_INCLUDE])dnl
  913 AC_REQUIRE([AM_DEP_TRACK])dnl
  914 
  915 m4_if([$1], [CC],   [depcc="$CC"   am_compiler_list=],
  916       [$1], [CXX],  [depcc="$CXX"  am_compiler_list=],
  917       [$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
  918       [$1], [OBJCXX], [depcc="$OBJCXX" am_compiler_list='gcc3 gcc'],
  919       [$1], [UPC],  [depcc="$UPC"  am_compiler_list=],
  920       [$1], [GCJ],  [depcc="$GCJ"  am_compiler_list='gcc3 gcc'],
  921                     [depcc="$$1"   am_compiler_list=])
  922 
  923 AC_CACHE_CHECK([dependency style of $depcc],
  924                [am_cv_$1_dependencies_compiler_type],
  925 [if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  926   # We make a subdir and do the tests there.  Otherwise we can end up
  927   # making bogus files that we don't know about and never remove.  For
  928   # instance it was reported that on HP-UX the gcc test will end up
  929   # making a dummy file named 'D' -- because '-MD' means "put the output
  930   # in D".
  931   rm -rf conftest.dir
  932   mkdir conftest.dir
  933   # Copy depcomp to subdir because otherwise we won't find it if we're
  934   # using a relative directory.
  935   cp "$am_depcomp" conftest.dir
  936   cd conftest.dir
  937   # We will build objects and dependencies in a subdirectory because
  938   # it helps to detect inapplicable dependency modes.  For instance
  939   # both Tru64's cc and ICC support -MD to output dependencies as a
  940   # side effect of compilation, but ICC will put the dependencies in
  941   # the current directory while Tru64 will put them in the object
  942   # directory.
  943   mkdir sub
  944 
  945   am_cv_$1_dependencies_compiler_type=none
  946   if test "$am_compiler_list" = ""; then
  947      am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
  948   fi
  949   am__universal=false
  950   m4_case([$1], [CC],
  951     [case " $depcc " in #(
  952      *\ -arch\ *\ -arch\ *) am__universal=true ;;
  953      esac],
  954     [CXX],
  955     [case " $depcc " in #(
  956      *\ -arch\ *\ -arch\ *) am__universal=true ;;
  957      esac])
  958 
  959   for depmode in $am_compiler_list; do
  960     # Setup a source with many dependencies, because some compilers
  961     # like to wrap large dependency lists on column 80 (with \), and
  962     # we should not choose a depcomp mode which is confused by this.
  963     #
  964     # We need to recreate these files for each test, as the compiler may
  965     # overwrite some of them when testing with obscure command lines.
  966     # This happens at least with the AIX C compiler.
  967     : > sub/conftest.c
  968     for i in 1 2 3 4 5 6; do
  969       echo '#include "conftst'$i'.h"' >> sub/conftest.c
  970       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
  971       # Solaris 10 /bin/sh.
  972       echo '/* dummy */' > sub/conftst$i.h
  973     done
  974     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  975 
  976     # We check with '-c' and '-o' for the sake of the "dashmstdout"
  977     # mode.  It turns out that the SunPro C++ compiler does not properly
  978     # handle '-M -o', and we need to detect this.  Also, some Intel
  979     # versions had trouble with output in subdirs.
  980     am__obj=sub/conftest.${OBJEXT-o}
  981     am__minus_obj="-o $am__obj"
  982     case $depmode in
  983     gcc)
  984       # This depmode causes a compiler race in universal mode.
  985       test "$am__universal" = false || continue
  986       ;;
  987     nosideeffect)
  988       # After this tag, mechanisms are not by side-effect, so they'll
  989       # only be used when explicitly requested.
  990       if test "x$enable_dependency_tracking" = xyes; then
  991 	continue
  992       else
  993 	break
  994       fi
  995       ;;
  996     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
  997       # This compiler won't grok '-c -o', but also, the minuso test has
  998       # not run yet.  These depmodes are late enough in the game, and
  999       # so weak that their functioning should not be impacted.
 1000       am__obj=conftest.${OBJEXT-o}
 1001       am__minus_obj=
 1002       ;;
 1003     none) break ;;
 1004     esac
 1005     if depmode=$depmode \
 1006        source=sub/conftest.c object=$am__obj \
 1007        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 1008        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
 1009          >/dev/null 2>conftest.err &&
 1010        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 1011        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 1012        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
 1013        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 1014       # icc doesn't choke on unknown options, it will just issue warnings
 1015       # or remarks (even with -Werror).  So we grep stderr for any message
 1016       # that says an option was ignored or not supported.
 1017       # When given -MP, icc 7.0 and 7.1 complain thusly:
 1018       #   icc: Command line warning: ignoring option '-M'; no argument required
 1019       # The diagnosis changed in icc 8.0:
 1020       #   icc: Command line remark: option '-MP' not supported
 1021       if (grep 'ignoring option' conftest.err ||
 1022           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 1023         am_cv_$1_dependencies_compiler_type=$depmode
 1024         break
 1025       fi
 1026     fi
 1027   done
 1028 
 1029   cd ..
 1030   rm -rf conftest.dir
 1031 else
 1032   am_cv_$1_dependencies_compiler_type=none
 1033 fi
 1034 ])
 1035 AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
 1036 AM_CONDITIONAL([am__fastdep$1], [
 1037   test "x$enable_dependency_tracking" != xno \
 1038   && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
 1039 ])
 1040 
 1041 
 1042 # AM_SET_DEPDIR
 1043 # -------------
 1044 # Choose a directory name for dependency files.
 1045 # This macro is AC_REQUIREd in _AM_DEPENDENCIES.
 1046 AC_DEFUN([AM_SET_DEPDIR],
 1047 [AC_REQUIRE([AM_SET_LEADING_DOT])dnl
 1048 AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
 1049 ])
 1050 
 1051 
 1052 # AM_DEP_TRACK
 1053 # ------------
 1054 AC_DEFUN([AM_DEP_TRACK],
 1055 [AC_ARG_ENABLE([dependency-tracking], [dnl
 1056 AS_HELP_STRING(
 1057   [--enable-dependency-tracking],
 1058   [do not reject slow dependency extractors])
 1059 AS_HELP_STRING(
 1060   [--disable-dependency-tracking],
 1061   [speeds up one-time build])])
 1062 if test "x$enable_dependency_tracking" != xno; then
 1063   am_depcomp="$ac_aux_dir/depcomp"
 1064   AMDEPBACKSLASH='\'
 1065   am__nodep='_no'
 1066 fi
 1067 AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
 1068 AC_SUBST([AMDEPBACKSLASH])dnl
 1069 _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
 1070 AC_SUBST([am__nodep])dnl
 1071 _AM_SUBST_NOTMAKE([am__nodep])dnl
 1072 ])
 1073 
 1074 # Generate code to set up dependency tracking.              -*- Autoconf -*-
 1075 
 1076 # Copyright (C) 1999-2021 Free Software Foundation, Inc.
 1077 #
 1078 # This file is free software; the Free Software Foundation
 1079 # gives unlimited permission to copy and/or distribute it,
 1080 # with or without modifications, as long as this notice is preserved.
 1081 
 1082 # _AM_OUTPUT_DEPENDENCY_COMMANDS
 1083 # ------------------------------
 1084 AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
 1085 [{
 1086   # Older Autoconf quotes --file arguments for eval, but not when files
 1087   # are listed without --file.  Let's play safe and only enable the eval
 1088   # if we detect the quoting.
 1089   # TODO: see whether this extra hack can be removed once we start
 1090   # requiring Autoconf 2.70 or later.
 1091   AS_CASE([$CONFIG_FILES],
 1092           [*\'*], [eval set x "$CONFIG_FILES"],
 1093           [*], [set x $CONFIG_FILES])
 1094   shift
 1095   # Used to flag and report bootstrapping failures.
 1096   am_rc=0
 1097   for am_mf
 1098   do
 1099     # Strip MF so we end up with the name of the file.
 1100     am_mf=`AS_ECHO(["$am_mf"]) | sed -e 's/:.*$//'`
 1101     # Check whether this is an Automake generated Makefile which includes
 1102     # dependency-tracking related rules and includes.
 1103     # Grep'ing the whole file directly is not great: AIX grep has a line
 1104     # limit of 2048, but all sed's we know have understand at least 4000.
 1105     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
 1106       || continue
 1107     am_dirpart=`AS_DIRNAME(["$am_mf"])`
 1108     am_filepart=`AS_BASENAME(["$am_mf"])`
 1109     AM_RUN_LOG([cd "$am_dirpart" \
 1110       && sed -e '/# am--include-marker/d' "$am_filepart" \
 1111         | $MAKE -f - am--depfiles]) || am_rc=$?
 1112   done
 1113   if test $am_rc -ne 0; then
 1114     AC_MSG_FAILURE([Something went wrong bootstrapping makefile fragments
 1115     for automatic dependency tracking.  If GNU make was not used, consider
 1116     re-running the configure script with MAKE="gmake" (or whatever is
 1117     necessary).  You can also try re-running configure with the
 1118     '--disable-dependency-tracking' option to at least be able to build
 1119     the package (albeit without support for automatic dependency tracking).])
 1120   fi
 1121   AS_UNSET([am_dirpart])
 1122   AS_UNSET([am_filepart])
 1123   AS_UNSET([am_mf])
 1124   AS_UNSET([am_rc])
 1125   rm -f conftest-deps.mk
 1126 }
 1127 ])# _AM_OUTPUT_DEPENDENCY_COMMANDS
 1128 
 1129 
 1130 # AM_OUTPUT_DEPENDENCY_COMMANDS
 1131 # -----------------------------
 1132 # This macro should only be invoked once -- use via AC_REQUIRE.
 1133 #
 1134 # This code is only required when automatic dependency tracking is enabled.
 1135 # This creates each '.Po' and '.Plo' makefile fragment that we'll need in
 1136 # order to bootstrap the dependency handling code.
 1137 AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
 1138 [AC_CONFIG_COMMANDS([depfiles],
 1139      [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
 1140      [AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"])])
 1141 
 1142 # Do all the work for Automake.                             -*- Autoconf -*-
 1143 
 1144 # Copyright (C) 1996-2021 Free Software Foundation, Inc.
 1145 #
 1146 # This file is free software; the Free Software Foundation
 1147 # gives unlimited permission to copy and/or distribute it,
 1148 # with or without modifications, as long as this notice is preserved.
 1149 
 1150 # This macro actually does too much.  Some checks are only needed if
 1151 # your package does certain things.  But this isn't really a big deal.
 1152 
 1153 dnl Redefine AC_PROG_CC to automatically invoke _AM_PROG_CC_C_O.
 1154 m4_define([AC_PROG_CC],
 1155 m4_defn([AC_PROG_CC])
 1156 [_AM_PROG_CC_C_O
 1157 ])
 1158 
 1159 # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
 1160 # AM_INIT_AUTOMAKE([OPTIONS])
 1161 # -----------------------------------------------
 1162 # The call with PACKAGE and VERSION arguments is the old style
 1163 # call (pre autoconf-2.50), which is being phased out.  PACKAGE
 1164 # and VERSION should now be passed to AC_INIT and removed from
 1165 # the call to AM_INIT_AUTOMAKE.
 1166 # We support both call styles for the transition.  After
 1167 # the next Automake release, Autoconf can make the AC_INIT
 1168 # arguments mandatory, and then we can depend on a new Autoconf
 1169 # release and drop the old call support.
 1170 AC_DEFUN([AM_INIT_AUTOMAKE],
 1171 [AC_PREREQ([2.65])dnl
 1172 dnl Autoconf wants to disallow AM_ names.  We explicitly allow
 1173 dnl the ones we care about.
 1174 m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
 1175 AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
 1176 AC_REQUIRE([AC_PROG_INSTALL])dnl
 1177 if test "`cd $srcdir && pwd`" != "`pwd`"; then
 1178   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
 1179   # is not polluted with repeated "-I."
 1180   AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
 1181   # test to see if srcdir already configured
 1182   if test -f $srcdir/config.status; then
 1183     AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
 1184   fi
 1185 fi
 1186 
 1187 # test whether we have cygpath
 1188 if test -z "$CYGPATH_W"; then
 1189   if (cygpath --version) >/dev/null 2>/dev/null; then
 1190     CYGPATH_W='cygpath -w'
 1191   else
 1192     CYGPATH_W=echo
 1193   fi
 1194 fi
 1195 AC_SUBST([CYGPATH_W])
 1196 
 1197 # Define the identity of the package.
 1198 dnl Distinguish between old-style and new-style calls.
 1199 m4_ifval([$2],
 1200 [AC_DIAGNOSE([obsolete],
 1201              [$0: two- and three-arguments forms are deprecated.])
 1202 m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
 1203  AC_SUBST([PACKAGE], [$1])dnl
 1204  AC_SUBST([VERSION], [$2])],
 1205 [_AM_SET_OPTIONS([$1])dnl
 1206 dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
 1207 m4_if(
 1208   m4_ifset([AC_PACKAGE_NAME], [ok]):m4_ifset([AC_PACKAGE_VERSION], [ok]),
 1209   [ok:ok],,
 1210   [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
 1211  AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
 1212  AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
 1213 
 1214 _AM_IF_OPTION([no-define],,
 1215 [AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package])
 1216  AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl
 1217 
 1218 # Some tools Automake needs.
 1219 AC_REQUIRE([AM_SANITY_CHECK])dnl
 1220 AC_REQUIRE([AC_ARG_PROGRAM])dnl
 1221 AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
 1222 AM_MISSING_PROG([AUTOCONF], [autoconf])
 1223 AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
 1224 AM_MISSING_PROG([AUTOHEADER], [autoheader])
 1225 AM_MISSING_PROG([MAKEINFO], [makeinfo])
 1226 AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
 1227 AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
 1228 AC_REQUIRE([AC_PROG_MKDIR_P])dnl
 1229 # For better backward compatibility.  To be removed once Automake 1.9.x
 1230 # dies out for good.  For more background, see:
 1231 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
 1232 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
 1233 AC_SUBST([mkdir_p], ['$(MKDIR_P)'])
 1234 # We need awk for the "check" target (and possibly the TAP driver).  The
 1235 # system "awk" is bad on some platforms.
 1236 AC_REQUIRE([AC_PROG_AWK])dnl
 1237 AC_REQUIRE([AC_PROG_MAKE_SET])dnl
 1238 AC_REQUIRE([AM_SET_LEADING_DOT])dnl
 1239 _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
 1240 	      [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
 1241 			     [_AM_PROG_TAR([v7])])])
 1242 _AM_IF_OPTION([no-dependencies],,
 1243 [AC_PROVIDE_IFELSE([AC_PROG_CC],
 1244 		  [_AM_DEPENDENCIES([CC])],
 1245 		  [m4_define([AC_PROG_CC],
 1246 			     m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl
 1247 AC_PROVIDE_IFELSE([AC_PROG_CXX],
 1248 		  [_AM_DEPENDENCIES([CXX])],
 1249 		  [m4_define([AC_PROG_CXX],
 1250 			     m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl
 1251 AC_PROVIDE_IFELSE([AC_PROG_OBJC],
 1252 		  [_AM_DEPENDENCIES([OBJC])],
 1253 		  [m4_define([AC_PROG_OBJC],
 1254 			     m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
 1255 AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
 1256 		  [_AM_DEPENDENCIES([OBJCXX])],
 1257 		  [m4_define([AC_PROG_OBJCXX],
 1258 			     m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl
 1259 ])
 1260 # Variables for tags utilities; see am/tags.am
 1261 if test -z "$CTAGS"; then
 1262   CTAGS=ctags
 1263 fi
 1264 AC_SUBST([CTAGS])
 1265 if test -z "$ETAGS"; then
 1266   ETAGS=etags
 1267 fi
 1268 AC_SUBST([ETAGS])
 1269 if test -z "$CSCOPE"; then
 1270   CSCOPE=cscope
 1271 fi
 1272 AC_SUBST([CSCOPE])
 1273 
 1274 AC_REQUIRE([AM_SILENT_RULES])dnl
 1275 dnl The testsuite driver may need to know about EXEEXT, so add the
 1276 dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen.  This
 1277 dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below.
 1278 AC_CONFIG_COMMANDS_PRE(dnl
 1279 [m4_provide_if([_AM_COMPILER_EXEEXT],
 1280   [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
 1281 
 1282 # POSIX will say in a future version that running "rm -f" with no argument
 1283 # is OK; and we want to be able to make that assumption in our Makefile
 1284 # recipes.  So use an aggressive probe to check that the usage we want is
 1285 # actually supported "in the wild" to an acceptable degree.
 1286 # See automake bug#10828.
 1287 # To make any issue more visible, cause the running configure to be aborted
 1288 # by default if the 'rm' program in use doesn't match our expectations; the
 1289 # user can still override this though.
 1290 if rm -f && rm -fr && rm -rf; then : OK; else
 1291   cat >&2 <<'END'
 1292 Oops!
 1293 
 1294 Your 'rm' program seems unable to run without file operands specified
 1295 on the command line, even when the '-f' option is present.  This is contrary
 1296 to the behaviour of most rm programs out there, and not conforming with
 1297 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
 1298 
 1299 Please tell bug-automake@gnu.org about your system, including the value
 1300 of your $PATH and any error possibly output before this message.  This
 1301 can help us improve future automake versions.
 1302 
 1303 END
 1304   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
 1305     echo 'Configuration will proceed anyway, since you have set the' >&2
 1306     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
 1307     echo >&2
 1308   else
 1309     cat >&2 <<'END'
 1310 Aborting the configuration process, to ensure you take notice of the issue.
 1311 
 1312 You can download and install GNU coreutils to get an 'rm' implementation
 1313 that behaves properly: <https://www.gnu.org/software/coreutils/>.
 1314 
 1315 If you want to complete the configuration process using your problematic
 1316 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
 1317 to "yes", and re-run configure.
 1318 
 1319 END
 1320     AC_MSG_ERROR([Your 'rm' program is bad, sorry.])
 1321   fi
 1322 fi
 1323 dnl The trailing newline in this macro's definition is deliberate, for
 1324 dnl backward compatibility and to allow trailing 'dnl'-style comments
 1325 dnl after the AM_INIT_AUTOMAKE invocation. See automake bug#16841.
 1326 ])
 1327 
 1328 dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion.  Do not
 1329 dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
 1330 dnl mangled by Autoconf and run in a shell conditional statement.
 1331 m4_define([_AC_COMPILER_EXEEXT],
 1332 m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
 1333 
 1334 # When config.status generates a header, we must update the stamp-h file.
 1335 # This file resides in the same directory as the config header
 1336 # that is generated.  The stamp files are numbered to have different names.
 1337 
 1338 # Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
 1339 # loop where config.status creates the headers, so we can generate
 1340 # our stamp files there.
 1341 AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
 1342 [# Compute $1's index in $config_headers.
 1343 _am_arg=$1
 1344 _am_stamp_count=1
 1345 for _am_header in $config_headers :; do
 1346   case $_am_header in
 1347     $_am_arg | $_am_arg:* )
 1348       break ;;
 1349     * )
 1350       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
 1351   esac
 1352 done
 1353 echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
 1354 
 1355 # Copyright (C) 2001-2021 Free Software Foundation, Inc.
 1356 #
 1357 # This file is free software; the Free Software Foundation
 1358 # gives unlimited permission to copy and/or distribute it,
 1359 # with or without modifications, as long as this notice is preserved.
 1360 
 1361 # AM_PROG_INSTALL_SH
 1362 # ------------------
 1363 # Define $install_sh.
 1364 AC_DEFUN([AM_PROG_INSTALL_SH],
 1365 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
 1366 if test x"${install_sh+set}" != xset; then
 1367   case $am_aux_dir in
 1368   *\ * | *\	*)
 1369     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
 1370   *)
 1371     install_sh="\${SHELL} $am_aux_dir/install-sh"
 1372   esac
 1373 fi
 1374 AC_SUBST([install_sh])])
 1375 
 1376 # Copyright (C) 2003-2021 Free Software Foundation, Inc.
 1377 #
 1378 # This file is free software; the Free Software Foundation
 1379 # gives unlimited permission to copy and/or distribute it,
 1380 # with or without modifications, as long as this notice is preserved.
 1381 
 1382 # Check whether the underlying file-system supports filenames
 1383 # with a leading dot.  For instance MS-DOS doesn't.
 1384 AC_DEFUN([AM_SET_LEADING_DOT],
 1385 [rm -rf .tst 2>/dev/null
 1386 mkdir .tst 2>/dev/null
 1387 if test -d .tst; then
 1388   am__leading_dot=.
 1389 else
 1390   am__leading_dot=_
 1391 fi
 1392 rmdir .tst 2>/dev/null
 1393 AC_SUBST([am__leading_dot])])
 1394 
 1395 # Add --enable-maintainer-mode option to configure.         -*- Autoconf -*-
 1396 # From Jim Meyering
 1397 
 1398 # Copyright (C) 1996-2021 Free Software Foundation, Inc.
 1399 #
 1400 # This file is free software; the Free Software Foundation
 1401 # gives unlimited permission to copy and/or distribute it,
 1402 # with or without modifications, as long as this notice is preserved.
 1403 
 1404 # AM_MAINTAINER_MODE([DEFAULT-MODE])
 1405 # ----------------------------------
 1406 # Control maintainer-specific portions of Makefiles.
 1407 # Default is to disable them, unless 'enable' is passed literally.
 1408 # For symmetry, 'disable' may be passed as well.  Anyway, the user
 1409 # can override the default with the --enable/--disable switch.
 1410 AC_DEFUN([AM_MAINTAINER_MODE],
 1411 [m4_case(m4_default([$1], [disable]),
 1412        [enable], [m4_define([am_maintainer_other], [disable])],
 1413        [disable], [m4_define([am_maintainer_other], [enable])],
 1414        [m4_define([am_maintainer_other], [enable])
 1415         m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
 1416 AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
 1417   dnl maintainer-mode's default is 'disable' unless 'enable' is passed
 1418   AC_ARG_ENABLE([maintainer-mode],
 1419     [AS_HELP_STRING([--]am_maintainer_other[-maintainer-mode],
 1420       am_maintainer_other[ make rules and dependencies not useful
 1421       (and sometimes confusing) to the casual installer])],
 1422     [USE_MAINTAINER_MODE=$enableval],
 1423     [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))
 1424   AC_MSG_RESULT([$USE_MAINTAINER_MODE])
 1425   AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
 1426   MAINT=$MAINTAINER_MODE_TRUE
 1427   AC_SUBST([MAINT])dnl
 1428 ]
 1429 )
 1430 
 1431 # Check to see how 'make' treats includes.	            -*- Autoconf -*-
 1432 
 1433 # Copyright (C) 2001-2021 Free Software Foundation, Inc.
 1434 #
 1435 # This file is free software; the Free Software Foundation
 1436 # gives unlimited permission to copy and/or distribute it,
 1437 # with or without modifications, as long as this notice is preserved.
 1438 
 1439 # AM_MAKE_INCLUDE()
 1440 # -----------------
 1441 # Check whether make has an 'include' directive that can support all
 1442 # the idioms we need for our automatic dependency tracking code.
 1443 AC_DEFUN([AM_MAKE_INCLUDE],
 1444 [AC_MSG_CHECKING([whether ${MAKE-make} supports the include directive])
 1445 cat > confinc.mk << 'END'
 1446 am__doit:
 1447 	@echo this is the am__doit target >confinc.out
 1448 .PHONY: am__doit
 1449 END
 1450 am__include="#"
 1451 am__quote=
 1452 # BSD make does it like this.
 1453 echo '.include "confinc.mk" # ignored' > confmf.BSD
 1454 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
 1455 echo 'include confinc.mk # ignored' > confmf.GNU
 1456 _am_result=no
 1457 for s in GNU BSD; do
 1458   AM_RUN_LOG([${MAKE-make} -f confmf.$s && cat confinc.out])
 1459   AS_CASE([$?:`cat confinc.out 2>/dev/null`],
 1460       ['0:this is the am__doit target'],
 1461       [AS_CASE([$s],
 1462           [BSD], [am__include='.include' am__quote='"'],
 1463           [am__include='include' am__quote=''])])
 1464   if test "$am__include" != "#"; then
 1465     _am_result="yes ($s style)"
 1466     break
 1467   fi
 1468 done
 1469 rm -f confinc.* confmf.*
 1470 AC_MSG_RESULT([${_am_result}])
 1471 AC_SUBST([am__include])])
 1472 AC_SUBST([am__quote])])
 1473 
 1474 # Fake the existence of programs that GNU maintainers use.  -*- Autoconf -*-
 1475 
 1476 # Copyright (C) 1997-2021 Free Software Foundation, Inc.
 1477 #
 1478 # This file is free software; the Free Software Foundation
 1479 # gives unlimited permission to copy and/or distribute it,
 1480 # with or without modifications, as long as this notice is preserved.
 1481 
 1482 # AM_MISSING_PROG(NAME, PROGRAM)
 1483 # ------------------------------
 1484 AC_DEFUN([AM_MISSING_PROG],
 1485 [AC_REQUIRE([AM_MISSING_HAS_RUN])
 1486 $1=${$1-"${am_missing_run}$2"}
 1487 AC_SUBST($1)])
 1488 
 1489 # AM_MISSING_HAS_RUN
 1490 # ------------------
 1491 # Define MISSING if not defined so far and test if it is modern enough.
 1492 # If it is, set am_missing_run to use it, otherwise, to nothing.
 1493 AC_DEFUN([AM_MISSING_HAS_RUN],
 1494 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
 1495 AC_REQUIRE_AUX_FILE([missing])dnl
 1496 if test x"${MISSING+set}" != xset; then
 1497   MISSING="\${SHELL} '$am_aux_dir/missing'"
 1498 fi
 1499 # Use eval to expand $SHELL
 1500 if eval "$MISSING --is-lightweight"; then
 1501   am_missing_run="$MISSING "
 1502 else
 1503   am_missing_run=
 1504   AC_MSG_WARN(['missing' script is too old or missing])
 1505 fi
 1506 ])
 1507 
 1508 # Helper functions for option handling.                     -*- Autoconf -*-
 1509 
 1510 # Copyright (C) 2001-2021 Free Software Foundation, Inc.
 1511 #
 1512 # This file is free software; the Free Software Foundation
 1513 # gives unlimited permission to copy and/or distribute it,
 1514 # with or without modifications, as long as this notice is preserved.
 1515 
 1516 # _AM_MANGLE_OPTION(NAME)
 1517 # -----------------------
 1518 AC_DEFUN([_AM_MANGLE_OPTION],
 1519 [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
 1520 
 1521 # _AM_SET_OPTION(NAME)
 1522 # --------------------
 1523 # Set option NAME.  Presently that only means defining a flag for this option.
 1524 AC_DEFUN([_AM_SET_OPTION],
 1525 [m4_define(_AM_MANGLE_OPTION([$1]), [1])])
 1526 
 1527 # _AM_SET_OPTIONS(OPTIONS)
 1528 # ------------------------
 1529 # OPTIONS is a space-separated list of Automake options.
 1530 AC_DEFUN([_AM_SET_OPTIONS],
 1531 [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
 1532 
 1533 # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
 1534 # -------------------------------------------
 1535 # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
 1536 AC_DEFUN([_AM_IF_OPTION],
 1537 [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
 1538 
 1539 # Copyright (C) 1999-2021 Free Software Foundation, Inc.
 1540 #
 1541 # This file is free software; the Free Software Foundation
 1542 # gives unlimited permission to copy and/or distribute it,
 1543 # with or without modifications, as long as this notice is preserved.
 1544 
 1545 # _AM_PROG_CC_C_O
 1546 # ---------------
 1547 # Like AC_PROG_CC_C_O, but changed for automake.  We rewrite AC_PROG_CC
 1548 # to automatically call this.
 1549 AC_DEFUN([_AM_PROG_CC_C_O],
 1550 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
 1551 AC_REQUIRE_AUX_FILE([compile])dnl
 1552 AC_LANG_PUSH([C])dnl
 1553 AC_CACHE_CHECK(
 1554   [whether $CC understands -c and -o together],
 1555   [am_cv_prog_cc_c_o],
 1556   [AC_LANG_CONFTEST([AC_LANG_PROGRAM([])])
 1557   # Make sure it works both with $CC and with simple cc.
 1558   # Following AC_PROG_CC_C_O, we do the test twice because some
 1559   # compilers refuse to overwrite an existing .o file with -o,
 1560   # though they will create one.
 1561   am_cv_prog_cc_c_o=yes
 1562   for am_i in 1 2; do
 1563     if AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext]) \
 1564          && test -f conftest2.$ac_objext; then
 1565       : OK
 1566     else
 1567       am_cv_prog_cc_c_o=no
 1568       break
 1569     fi
 1570   done
 1571   rm -f core conftest*
 1572   unset am_i])
 1573 if test "$am_cv_prog_cc_c_o" != yes; then
 1574    # Losing compiler, so override with the script.
 1575    # FIXME: It is wrong to rewrite CC.
 1576    # But if we don't then we get into trouble of one sort or another.
 1577    # A longer-term fix would be to have automake use am__CC in this case,
 1578    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
 1579    CC="$am_aux_dir/compile $CC"
 1580 fi
 1581 AC_LANG_POP([C])])
 1582 
 1583 # For backward compatibility.
 1584 AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])])
 1585 
 1586 # Copyright (C) 2001-2021 Free Software Foundation, Inc.
 1587 #
 1588 # This file is free software; the Free Software Foundation
 1589 # gives unlimited permission to copy and/or distribute it,
 1590 # with or without modifications, as long as this notice is preserved.
 1591 
 1592 # AM_RUN_LOG(COMMAND)
 1593 # -------------------
 1594 # Run COMMAND, save the exit status in ac_status, and log it.
 1595 # (This has been adapted from Autoconf's _AC_RUN_LOG macro.)
 1596 AC_DEFUN([AM_RUN_LOG],
 1597 [{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD
 1598    ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD
 1599    ac_status=$?
 1600    echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
 1601    (exit $ac_status); }])
 1602 
 1603 # Check to make sure that the build environment is sane.    -*- Autoconf -*-
 1604 
 1605 # Copyright (C) 1996-2021 Free Software Foundation, Inc.
 1606 #
 1607 # This file is free software; the Free Software Foundation
 1608 # gives unlimited permission to copy and/or distribute it,
 1609 # with or without modifications, as long as this notice is preserved.
 1610 
 1611 # AM_SANITY_CHECK
 1612 # ---------------
 1613 AC_DEFUN([AM_SANITY_CHECK],
 1614 [AC_MSG_CHECKING([whether build environment is sane])
 1615 # Reject unsafe characters in $srcdir or the absolute working directory
 1616 # name.  Accept space and tab only in the latter.
 1617 am_lf='
 1618 '
 1619 case `pwd` in
 1620   *[[\\\"\#\$\&\'\`$am_lf]]*)
 1621     AC_MSG_ERROR([unsafe absolute working directory name]);;
 1622 esac
 1623 case $srcdir in
 1624   *[[\\\"\#\$\&\'\`$am_lf\ \	]]*)
 1625     AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);;
 1626 esac
 1627 
 1628 # Do 'set' in a subshell so we don't clobber the current shell's
 1629 # arguments.  Must try -L first in case configure is actually a
 1630 # symlink; some systems play weird games with the mod time of symlinks
 1631 # (eg FreeBSD returns the mod time of the symlink's containing
 1632 # directory).
 1633 if (
 1634    am_has_slept=no
 1635    for am_try in 1 2; do
 1636      echo "timestamp, slept: $am_has_slept" > conftest.file
 1637      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
 1638      if test "$[*]" = "X"; then
 1639 	# -L didn't work.
 1640 	set X `ls -t "$srcdir/configure" conftest.file`
 1641      fi
 1642      if test "$[*]" != "X $srcdir/configure conftest.file" \
 1643 	&& test "$[*]" != "X conftest.file $srcdir/configure"; then
 1644 
 1645 	# If neither matched, then we have a broken ls.  This can happen
 1646 	# if, for instance, CONFIG_SHELL is bash and it inherits a
 1647 	# broken ls alias from the environment.  This has actually
 1648 	# happened.  Such a system could not be considered "sane".
 1649 	AC_MSG_ERROR([ls -t appears to fail.  Make sure there is not a broken
 1650   alias in your environment])
 1651      fi
 1652      if test "$[2]" = conftest.file || test $am_try -eq 2; then
 1653        break
 1654      fi
 1655      # Just in case.
 1656      sleep 1
 1657      am_has_slept=yes
 1658    done
 1659    test "$[2]" = conftest.file
 1660    )
 1661 then
 1662    # Ok.
 1663    :
 1664 else
 1665    AC_MSG_ERROR([newly created file is older than distributed files!
 1666 Check your system clock])
 1667 fi
 1668 AC_MSG_RESULT([yes])
 1669 # If we didn't sleep, we still need to ensure time stamps of config.status and
 1670 # generated files are strictly newer.
 1671 am_sleep_pid=
 1672 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
 1673   ( sleep 1 ) &
 1674   am_sleep_pid=$!
 1675 fi
 1676 AC_CONFIG_COMMANDS_PRE(
 1677   [AC_MSG_CHECKING([that generated files are newer than configure])
 1678    if test -n "$am_sleep_pid"; then
 1679      # Hide warnings about reused PIDs.
 1680      wait $am_sleep_pid 2>/dev/null
 1681    fi
 1682    AC_MSG_RESULT([done])])
 1683 rm -f conftest.file
 1684 ])
 1685 
 1686 # Copyright (C) 2009-2021 Free Software Foundation, Inc.
 1687 #
 1688 # This file is free software; the Free Software Foundation
 1689 # gives unlimited permission to copy and/or distribute it,
 1690 # with or without modifications, as long as this notice is preserved.
 1691 
 1692 # AM_SILENT_RULES([DEFAULT])
 1693 # --------------------------
 1694 # Enable less verbose build rules; with the default set to DEFAULT
 1695 # ("yes" being less verbose, "no" or empty being verbose).
 1696 AC_DEFUN([AM_SILENT_RULES],
 1697 [AC_ARG_ENABLE([silent-rules], [dnl
 1698 AS_HELP_STRING(
 1699   [--enable-silent-rules],
 1700   [less verbose build output (undo: "make V=1")])
 1701 AS_HELP_STRING(
 1702   [--disable-silent-rules],
 1703   [verbose build output (undo: "make V=0")])dnl
 1704 ])
 1705 case $enable_silent_rules in @%:@ (((
 1706   yes) AM_DEFAULT_VERBOSITY=0;;
 1707    no) AM_DEFAULT_VERBOSITY=1;;
 1708     *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
 1709 esac
 1710 dnl
 1711 dnl A few 'make' implementations (e.g., NonStop OS and NextStep)
 1712 dnl do not support nested variable expansions.
 1713 dnl See automake bug#9928 and bug#10237.
 1714 am_make=${MAKE-make}
 1715 AC_CACHE_CHECK([whether $am_make supports nested variables],
 1716    [am_cv_make_support_nested_variables],
 1717    [if AS_ECHO([['TRUE=$(BAR$(V))
 1718 BAR0=false
 1719 BAR1=true
 1720 V=1
 1721 am__doit:
 1722 	@$(TRUE)
 1723 .PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then
 1724   am_cv_make_support_nested_variables=yes
 1725 else
 1726   am_cv_make_support_nested_variables=no
 1727 fi])
 1728 if test $am_cv_make_support_nested_variables = yes; then
 1729   dnl Using '$V' instead of '$(V)' breaks IRIX make.
 1730   AM_V='$(V)'
 1731   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
 1732 else
 1733   AM_V=$AM_DEFAULT_VERBOSITY
 1734   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
 1735 fi
 1736 AC_SUBST([AM_V])dnl
 1737 AM_SUBST_NOTMAKE([AM_V])dnl
 1738 AC_SUBST([AM_DEFAULT_V])dnl
 1739 AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl
 1740 AC_SUBST([AM_DEFAULT_VERBOSITY])dnl
 1741 AM_BACKSLASH='\'
 1742 AC_SUBST([AM_BACKSLASH])dnl
 1743 _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
 1744 ])
 1745 
 1746 # Copyright (C) 2001-2021 Free Software Foundation, Inc.
 1747 #
 1748 # This file is free software; the Free Software Foundation
 1749 # gives unlimited permission to copy and/or distribute it,
 1750 # with or without modifications, as long as this notice is preserved.
 1751 
 1752 # AM_PROG_INSTALL_STRIP
 1753 # ---------------------
 1754 # One issue with vendor 'install' (even GNU) is that you can't
 1755 # specify the program used to strip binaries.  This is especially
 1756 # annoying in cross-compiling environments, where the build's strip
 1757 # is unlikely to handle the host's binaries.
 1758 # Fortunately install-sh will honor a STRIPPROG variable, so we
 1759 # always use install-sh in "make install-strip", and initialize
 1760 # STRIPPROG with the value of the STRIP variable (set by the user).
 1761 AC_DEFUN([AM_PROG_INSTALL_STRIP],
 1762 [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
 1763 # Installed binaries are usually stripped using 'strip' when the user
 1764 # run "make install-strip".  However 'strip' might not be the right
 1765 # tool to use in cross-compilation environments, therefore Automake
 1766 # will honor the 'STRIP' environment variable to overrule this program.
 1767 dnl Don't test for $cross_compiling = yes, because it might be 'maybe'.
 1768 if test "$cross_compiling" != no; then
 1769   AC_CHECK_TOOL([STRIP], [strip], :)
 1770 fi
 1771 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
 1772 AC_SUBST([INSTALL_STRIP_PROGRAM])])
 1773 
 1774 # Copyright (C) 2006-2021 Free Software Foundation, Inc.
 1775 #
 1776 # This file is free software; the Free Software Foundation
 1777 # gives unlimited permission to copy and/or distribute it,
 1778 # with or without modifications, as long as this notice is preserved.
 1779 
 1780 # _AM_SUBST_NOTMAKE(VARIABLE)
 1781 # ---------------------------
 1782 # Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
 1783 # This macro is traced by Automake.
 1784 AC_DEFUN([_AM_SUBST_NOTMAKE])
 1785 
 1786 # AM_SUBST_NOTMAKE(VARIABLE)
 1787 # --------------------------
 1788 # Public sister of _AM_SUBST_NOTMAKE.
 1789 AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
 1790 
 1791 # Check how to create a tarball.                            -*- Autoconf -*-
 1792 
 1793 # Copyright (C) 2004-2021 Free Software Foundation, Inc.
 1794 #
 1795 # This file is free software; the Free Software Foundation
 1796 # gives unlimited permission to copy and/or distribute it,
 1797 # with or without modifications, as long as this notice is preserved.
 1798 
 1799 # _AM_PROG_TAR(FORMAT)
 1800 # --------------------
 1801 # Check how to create a tarball in format FORMAT.
 1802 # FORMAT should be one of 'v7', 'ustar', or 'pax'.
 1803 #
 1804 # Substitute a variable $(am__tar) that is a command
 1805 # writing to stdout a FORMAT-tarball containing the directory
 1806 # $tardir.
 1807 #     tardir=directory && $(am__tar) > result.tar
 1808 #
 1809 # Substitute a variable $(am__untar) that extract such
 1810 # a tarball read from stdin.
 1811 #     $(am__untar) < result.tar
 1812 #
 1813 AC_DEFUN([_AM_PROG_TAR],
 1814 [# Always define AMTAR for backward compatibility.  Yes, it's still used
 1815 # in the wild :-(  We should find a proper way to deprecate it ...
 1816 AC_SUBST([AMTAR], ['$${TAR-tar}'])
 1817 
 1818 # We'll loop over all known methods to create a tar archive until one works.
 1819 _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
 1820 
 1821 m4_if([$1], [v7],
 1822   [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
 1823 
 1824   [m4_case([$1],
 1825     [ustar],
 1826      [# The POSIX 1988 'ustar' format is defined with fixed-size fields.
 1827       # There is notably a 21 bits limit for the UID and the GID.  In fact,
 1828       # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
 1829       # and bug#13588).
 1830       am_max_uid=2097151 # 2^21 - 1
 1831       am_max_gid=$am_max_uid
 1832       # The $UID and $GID variables are not portable, so we need to resort
 1833       # to the POSIX-mandated id(1) utility.  Errors in the 'id' calls
 1834       # below are definitely unexpected, so allow the users to see them
 1835       # (that is, avoid stderr redirection).
 1836       am_uid=`id -u || echo unknown`
 1837       am_gid=`id -g || echo unknown`
 1838       AC_MSG_CHECKING([whether UID '$am_uid' is supported by ustar format])
 1839       if test $am_uid -le $am_max_uid; then
 1840          AC_MSG_RESULT([yes])
 1841       else
 1842          AC_MSG_RESULT([no])
 1843          _am_tools=none
 1844       fi
 1845       AC_MSG_CHECKING([whether GID '$am_gid' is supported by ustar format])
 1846       if test $am_gid -le $am_max_gid; then
 1847          AC_MSG_RESULT([yes])
 1848       else
 1849         AC_MSG_RESULT([no])
 1850         _am_tools=none
 1851       fi],
 1852 
 1853   [pax],
 1854     [],
 1855 
 1856   [m4_fatal([Unknown tar format])])
 1857 
 1858   AC_MSG_CHECKING([how to create a $1 tar archive])
 1859 
 1860   # Go ahead even if we have the value already cached.  We do so because we
 1861   # need to set the values for the 'am__tar' and 'am__untar' variables.
 1862   _am_tools=${am_cv_prog_tar_$1-$_am_tools}
 1863 
 1864   for _am_tool in $_am_tools; do
 1865     case $_am_tool in
 1866     gnutar)
 1867       for _am_tar in tar gnutar gtar; do
 1868         AM_RUN_LOG([$_am_tar --version]) && break
 1869       done
 1870       am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
 1871       am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
 1872       am__untar="$_am_tar -xf -"
 1873       ;;
 1874     plaintar)
 1875       # Must skip GNU tar: if it does not support --format= it doesn't create
 1876       # ustar tarball either.
 1877       (tar --version) >/dev/null 2>&1 && continue
 1878       am__tar='tar chf - "$$tardir"'
 1879       am__tar_='tar chf - "$tardir"'
 1880       am__untar='tar xf -'
 1881       ;;
 1882     pax)
 1883       am__tar='pax -L -x $1 -w "$$tardir"'
 1884       am__tar_='pax -L -x $1 -w "$tardir"'
 1885       am__untar='pax -r'
 1886       ;;
 1887     cpio)
 1888       am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
 1889       am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
 1890       am__untar='cpio -i -H $1 -d'
 1891       ;;
 1892     none)
 1893       am__tar=false
 1894       am__tar_=false
 1895       am__untar=false
 1896       ;;
 1897     esac
 1898 
 1899     # If the value was cached, stop now.  We just wanted to have am__tar
 1900     # and am__untar set.
 1901     test -n "${am_cv_prog_tar_$1}" && break
 1902 
 1903     # tar/untar a dummy directory, and stop if the command works.
 1904     rm -rf conftest.dir
 1905     mkdir conftest.dir
 1906     echo GrepMe > conftest.dir/file
 1907     AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
 1908     rm -rf conftest.dir
 1909     if test -s conftest.tar; then
 1910       AM_RUN_LOG([$am__untar <conftest.tar])
 1911       AM_RUN_LOG([cat conftest.dir/file])
 1912       grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
 1913     fi
 1914   done
 1915   rm -rf conftest.dir
 1916 
 1917   AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
 1918   AC_MSG_RESULT([$am_cv_prog_tar_$1])])
 1919 
 1920 AC_SUBST([am__tar])
 1921 AC_SUBST([am__untar])
 1922 ]) # _AM_PROG_TAR
 1923 
 1924 m4_include([subprojects/libglnx/libglnx.m4])
 1925 m4_include([m4/attributes.m4])
 1926 m4_include([m4/gettext.m4])
 1927 m4_include([m4/glibtests.m4])
 1928 m4_include([m4/gtk-doc.m4])
 1929 m4_include([m4/iconv.m4])
 1930 m4_include([m4/intlmacosx.m4])
 1931 m4_include([m4/lib-ld.m4])
 1932 m4_include([m4/lib-link.m4])
 1933 m4_include([m4/lib-prefix.m4])
 1934 m4_include([m4/libtool.m4])
 1935 m4_include([m4/ltoptions.m4])
 1936 m4_include([m4/ltsugar.m4])
 1937 m4_include([m4/ltversion.m4])
 1938 m4_include([m4/lt~obsolete.m4])
 1939 m4_include([m4/nls.m4])
 1940 m4_include([m4/po.m4])
 1941 m4_include([m4/progtest.m4])
 1942 m4_include([acinclude.m4])