Blame aclocal.m4

Packit Service 1fe779
# generated automatically by aclocal 1.16.1 -*- Autoconf -*-
Packit Service 84cb3c
Packit Service 1fe779
# Copyright (C) 1996-2018 Free Software Foundation, Inc.
Packit Service 84cb3c
Packit Service 84cb3c
# This file is free software; the Free Software Foundation
Packit Service 84cb3c
# gives unlimited permission to copy and/or distribute it,
Packit Service 84cb3c
# with or without modifications, as long as this notice is preserved.
Packit Service 84cb3c
Packit Service 84cb3c
# This program is distributed in the hope that it will be useful,
Packit Service 84cb3c
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
Packit Service 84cb3c
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
Packit Service 84cb3c
# PARTICULAR PURPOSE.
Packit Service 84cb3c
Packit Service 84cb3c
m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])])
Packit Service 84cb3c
m4_ifndef([AC_AUTOCONF_VERSION],
Packit Service 84cb3c
  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
Packit Service 84cb3c
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],,
Packit Service 84cb3c
[m4_warning([this file was generated for autoconf 2.69.
Packit Service 84cb3c
You have another version of autoconf.  It may work, but is not guaranteed to.
Packit Service 84cb3c
If you have problems, you may need to regenerate the build system entirely.
Packit Service 84cb3c
To do so, use the procedure documented by the package, typically 'autoreconf'.])])
Packit Service 84cb3c
Packit Service 84cb3c
# nls.m4 serial 5 (gettext-0.18)
Packit Service 84cb3c
dnl Copyright (C) 1995-2003, 2005-2006, 2008-2014, 2016 Free Software
Packit Service 84cb3c
dnl Foundation, Inc.
Packit Service 84cb3c
dnl This file is free software; the Free Software Foundation
Packit Service 84cb3c
dnl gives unlimited permission to copy and/or distribute it,
Packit Service 84cb3c
dnl with or without modifications, as long as this notice is preserved.
Packit Service 84cb3c
dnl
Packit Service 84cb3c
dnl This file can be used in projects which are not available under
Packit Service 84cb3c
dnl the GNU General Public License or the GNU Library General Public
Packit Service 84cb3c
dnl License but which still want to provide support for the GNU gettext
Packit Service 84cb3c
dnl functionality.
Packit Service 84cb3c
dnl Please note that the actual code of the GNU gettext library is covered
Packit Service 84cb3c
dnl by the GNU Library General Public License, and the rest of the GNU
Packit Service 84cb3c
dnl gettext package is covered by the GNU General Public License.
Packit Service 84cb3c
dnl They are *not* in the public domain.
Packit Service 84cb3c
Packit Service 84cb3c
dnl Authors:
Packit Service 84cb3c
dnl   Ulrich Drepper <drepper@cygnus.com>, 1995-2000.
Packit Service 84cb3c
dnl   Bruno Haible <haible@clisp.cons.org>, 2000-2003.
Packit Service 84cb3c
Packit Service 84cb3c
AC_PREREQ([2.50])
Packit Service 84cb3c
Packit Service 84cb3c
AC_DEFUN([AM_NLS],
Packit Service 84cb3c
[
Packit Service 84cb3c
  AC_MSG_CHECKING([whether NLS is requested])
Packit Service 84cb3c
  dnl Default is enabled NLS
Packit Service 84cb3c
  AC_ARG_ENABLE([nls],
Packit Service 84cb3c
    [  --disable-nls           do not use Native Language Support],
Packit Service 84cb3c
    USE_NLS=$enableval, USE_NLS=yes)
Packit Service 84cb3c
  AC_MSG_RESULT([$USE_NLS])
Packit Service 84cb3c
  AC_SUBST([USE_NLS])
Packit Service 84cb3c
])
Packit Service 84cb3c
Packit Service 84cb3c
# po.m4 serial 24 (gettext-0.19)
Packit Service 84cb3c
dnl Copyright (C) 1995-2014, 2016 Free Software Foundation, Inc.
Packit Service 84cb3c
dnl This file is free software; the Free Software Foundation
Packit Service 84cb3c
dnl gives unlimited permission to copy and/or distribute it,
Packit Service 84cb3c
dnl with or without modifications, as long as this notice is preserved.
Packit Service 84cb3c
dnl
Packit Service 84cb3c
dnl This file can be used in projects which are not available under
Packit Service 84cb3c
dnl the GNU General Public License or the GNU Library General Public
Packit Service 84cb3c
dnl License but which still want to provide support for the GNU gettext
Packit Service 84cb3c
dnl functionality.
Packit Service 84cb3c
dnl Please note that the actual code of the GNU gettext library is covered
Packit Service 84cb3c
dnl by the GNU Library General Public License, and the rest of the GNU
Packit Service 84cb3c
dnl gettext package is covered by the GNU General Public License.
Packit Service 84cb3c
dnl They are *not* in the public domain.
Packit Service 84cb3c
Packit Service 84cb3c
dnl Authors:
Packit Service 84cb3c
dnl   Ulrich Drepper <drepper@cygnus.com>, 1995-2000.
Packit Service 84cb3c
dnl   Bruno Haible <haible@clisp.cons.org>, 2000-2003.
Packit Service 84cb3c
Packit Service 84cb3c
AC_PREREQ([2.60])
Packit Service 84cb3c
Packit Service 84cb3c
dnl Checks for all prerequisites of the po subdirectory.
Packit Service 84cb3c
AC_DEFUN([AM_PO_SUBDIRS],
Packit Service 84cb3c
[
Packit Service 84cb3c
  AC_REQUIRE([AC_PROG_MAKE_SET])dnl
Packit Service 84cb3c
  AC_REQUIRE([AC_PROG_INSTALL])dnl
Packit Service 84cb3c
  AC_REQUIRE([AC_PROG_MKDIR_P])dnl
Packit Service 84cb3c
  AC_REQUIRE([AC_PROG_SED])dnl
Packit Service 84cb3c
  AC_REQUIRE([AM_NLS])dnl
Packit Service 84cb3c
Packit Service 84cb3c
  dnl Release version of the gettext macros. This is used to ensure that
Packit Service 84cb3c
  dnl the gettext macros and po/Makefile.in.in are in sync.
Packit Service 84cb3c
  AC_SUBST([GETTEXT_MACRO_VERSION], [0.19])
Packit Service 84cb3c
Packit Service 84cb3c
  dnl Perform the following tests also if --disable-nls has been given,
Packit Service 84cb3c
  dnl because they are needed for "make dist" to work.
Packit Service 84cb3c
Packit Service 84cb3c
  dnl Search for GNU msgfmt in the PATH.
Packit Service 84cb3c
  dnl The first test excludes Solaris msgfmt and early GNU msgfmt versions.
Packit Service 84cb3c
  dnl The second test excludes FreeBSD msgfmt.
Packit Service 84cb3c
  AM_PATH_PROG_WITH_TEST(MSGFMT, msgfmt,
Packit Service 84cb3c
    [$ac_dir/$ac_word --statistics /dev/null >&]AS_MESSAGE_LOG_FD[ 2>&1 &&
Packit Service 84cb3c
     (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)],
Packit Service 84cb3c
    :)
Packit Service 84cb3c
  AC_PATH_PROG([GMSGFMT], [gmsgfmt], [$MSGFMT])
Packit Service 84cb3c
Packit Service 84cb3c
  dnl Test whether it is GNU msgfmt >= 0.15.
Packit Service 84cb3c
changequote(,)dnl
Packit Service 84cb3c
  case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
Packit Service 84cb3c
    '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
Packit Service 84cb3c
    *) MSGFMT_015=$MSGFMT ;;
Packit Service 84cb3c
  esac
Packit Service 84cb3c
changequote([,])dnl
Packit Service 84cb3c
  AC_SUBST([MSGFMT_015])
Packit Service 84cb3c
changequote(,)dnl
Packit Service 84cb3c
  case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
Packit Service 84cb3c
    '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
Packit Service 84cb3c
    *) GMSGFMT_015=$GMSGFMT ;;
Packit Service 84cb3c
  esac
Packit Service 84cb3c
changequote([,])dnl
Packit Service 84cb3c
  AC_SUBST([GMSGFMT_015])
Packit Service 84cb3c
Packit Service 84cb3c
  dnl Search for GNU xgettext 0.12 or newer in the PATH.
Packit Service 84cb3c
  dnl The first test excludes Solaris xgettext and early GNU xgettext versions.
Packit Service 84cb3c
  dnl The second test excludes FreeBSD xgettext.
Packit Service 84cb3c
  AM_PATH_PROG_WITH_TEST(XGETTEXT, xgettext,
Packit Service 84cb3c
    [$ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&]AS_MESSAGE_LOG_FD[ 2>&1 &&
Packit Service 84cb3c
     (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)],
Packit Service 84cb3c
    :)
Packit Service 84cb3c
  dnl Remove leftover from FreeBSD xgettext call.
Packit Service 84cb3c
  rm -f messages.po
Packit Service 84cb3c
Packit Service 84cb3c
  dnl Test whether it is GNU xgettext >= 0.15.
Packit Service 84cb3c
changequote(,)dnl
Packit Service 84cb3c
  case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
Packit Service 84cb3c
    '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
Packit Service 84cb3c
    *) XGETTEXT_015=$XGETTEXT ;;
Packit Service 84cb3c
  esac
Packit Service 84cb3c
changequote([,])dnl
Packit Service 84cb3c
  AC_SUBST([XGETTEXT_015])
Packit Service 84cb3c
Packit Service 84cb3c
  dnl Search for GNU msgmerge 0.11 or newer in the PATH.
Packit Service 84cb3c
  AM_PATH_PROG_WITH_TEST(MSGMERGE, msgmerge,
Packit Service 84cb3c
    [$ac_dir/$ac_word --update -q /dev/null /dev/null >&]AS_MESSAGE_LOG_FD[ 2>&1], :)
Packit Service 84cb3c
Packit Service 84cb3c
  dnl Installation directories.
Packit Service 84cb3c
  dnl Autoconf >= 2.60 defines localedir. For older versions of autoconf, we
Packit Service 84cb3c
  dnl have to define it here, so that it can be used in po/Makefile.
Packit Service 84cb3c
  test -n "$localedir" || localedir='${datadir}/locale'
Packit Service 84cb3c
  AC_SUBST([localedir])
Packit Service 84cb3c
Packit Service 84cb3c
  dnl Support for AM_XGETTEXT_OPTION.
Packit Service 84cb3c
  test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
Packit Service 84cb3c
  AC_SUBST([XGETTEXT_EXTRA_OPTIONS])
Packit Service 84cb3c
Packit Service 84cb3c
  AC_CONFIG_COMMANDS([po-directories], [[
Packit Service 84cb3c
    for ac_file in $CONFIG_FILES; do
Packit Service 84cb3c
      # Support "outfile[:infile[:infile...]]"
Packit Service 84cb3c
      case "$ac_file" in
Packit Service 84cb3c
        *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
Packit Service 84cb3c
      esac
Packit Service 84cb3c
      # PO directories have a Makefile.in generated from Makefile.in.in.
Packit Service 84cb3c
      case "$ac_file" in */Makefile.in)
Packit Service 84cb3c
        # Adjust a relative srcdir.
Packit Service 84cb3c
        ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
Packit Service 84cb3c
        ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'`
Packit Service 84cb3c
        ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
Packit Service 84cb3c
        # In autoconf-2.13 it is called $ac_given_srcdir.
Packit Service 84cb3c
        # In autoconf-2.50 it is called $srcdir.
Packit Service 84cb3c
        test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
Packit Service 84cb3c
        case "$ac_given_srcdir" in
Packit Service 84cb3c
          .)  top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
Packit Service 84cb3c
          /*) top_srcdir="$ac_given_srcdir" ;;
Packit Service 84cb3c
          *)  top_srcdir="$ac_dots$ac_given_srcdir" ;;
Packit Service 84cb3c
        esac
Packit Service 84cb3c
        # Treat a directory as a PO directory if and only if it has a
Packit Service 84cb3c
        # POTFILES.in file. This allows packages to have multiple PO
Packit Service 84cb3c
        # directories under different names or in different locations.
Packit Service 84cb3c
        if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
Packit Service 84cb3c
          rm -f "$ac_dir/POTFILES"
Packit Service 84cb3c
          test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
Packit Service 84cb3c
          gt_tab=`printf '\t'`
Packit Service 84cb3c
          cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ${gt_tab}]*\$/d" -e "s,.*,     $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
Packit Service 84cb3c
          POMAKEFILEDEPS="POTFILES.in"
Packit Service 84cb3c
          # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
Packit Service 84cb3c
          # on $ac_dir but don't depend on user-specified configuration
Packit Service 84cb3c
          # parameters.
Packit Service 84cb3c
          if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
Packit Service 84cb3c
            # The LINGUAS file contains the set of available languages.
Packit Service 84cb3c
            if test -n "$OBSOLETE_ALL_LINGUAS"; then
Packit Service 84cb3c
              test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
Packit Service 84cb3c
            fi
Packit Service 84cb3c
            ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
Packit Service 84cb3c
            # Hide the ALL_LINGUAS assignment from automake < 1.5.
Packit Service 84cb3c
            eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
Packit Service 84cb3c
            POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
Packit Service 84cb3c
          else
Packit Service 84cb3c
            # The set of available languages was given in configure.in.
Packit Service 84cb3c
            # Hide the ALL_LINGUAS assignment from automake < 1.5.
Packit Service 84cb3c
            eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
Packit Service 84cb3c
          fi
Packit Service 84cb3c
          # Compute POFILES
Packit Service 84cb3c
          # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
Packit Service 84cb3c
          # Compute UPDATEPOFILES
Packit Service 84cb3c
          # as      $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
Packit Service 84cb3c
          # Compute DUMMYPOFILES
Packit Service 84cb3c
          # as      $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
Packit Service 84cb3c
          # Compute GMOFILES
Packit Service 84cb3c
          # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
Packit Service 84cb3c
          case "$ac_given_srcdir" in
Packit Service 84cb3c
            .) srcdirpre= ;;
Packit Service 84cb3c
            *) srcdirpre='$(srcdir)/' ;;
Packit Service 84cb3c
          esac
Packit Service 84cb3c
          POFILES=
Packit Service 84cb3c
          UPDATEPOFILES=
Packit Service 84cb3c
          DUMMYPOFILES=
Packit Service 84cb3c
          GMOFILES=
Packit Service 84cb3c
          for lang in $ALL_LINGUAS; do
Packit Service 84cb3c
            POFILES="$POFILES $srcdirpre$lang.po"
Packit Service 84cb3c
            UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
Packit Service 84cb3c
            DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
Packit Service 84cb3c
            GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
Packit Service 84cb3c
          done
Packit Service 84cb3c
          # CATALOGS depends on both $ac_dir and the user's LINGUAS
Packit Service 84cb3c
          # environment variable.
Packit Service 84cb3c
          INST_LINGUAS=
Packit Service 84cb3c
          if test -n "$ALL_LINGUAS"; then
Packit Service 84cb3c
            for presentlang in $ALL_LINGUAS; do
Packit Service 84cb3c
              useit=no
Packit Service 84cb3c
              if test "%UNSET%" != "$LINGUAS"; then
Packit Service 84cb3c
                desiredlanguages="$LINGUAS"
Packit Service 84cb3c
              else
Packit Service 84cb3c
                desiredlanguages="$ALL_LINGUAS"
Packit Service 84cb3c
              fi
Packit Service 84cb3c
              for desiredlang in $desiredlanguages; do
Packit Service 84cb3c
                # Use the presentlang catalog if desiredlang is
Packit Service 84cb3c
                #   a. equal to presentlang, or
Packit Service 84cb3c
                #   b. a variant of presentlang (because in this case,
Packit Service 84cb3c
                #      presentlang can be used as a fallback for messages
Packit Service 84cb3c
                #      which are not translated in the desiredlang catalog).
Packit Service 84cb3c
                case "$desiredlang" in
Packit Service 84cb3c
                  "$presentlang"*) useit=yes;;
Packit Service 84cb3c
                esac
Packit Service 84cb3c
              done
Packit Service 84cb3c
              if test $useit = yes; then
Packit Service 84cb3c
                INST_LINGUAS="$INST_LINGUAS $presentlang"
Packit Service 84cb3c
              fi
Packit Service 84cb3c
            done
Packit Service 84cb3c
          fi
Packit Service 84cb3c
          CATALOGS=
Packit Service 84cb3c
          if test -n "$INST_LINGUAS"; then
Packit Service 84cb3c
            for lang in $INST_LINGUAS; do
Packit Service 84cb3c
              CATALOGS="$CATALOGS $lang.gmo"
Packit Service 84cb3c
            done
Packit Service 84cb3c
          fi
Packit Service 84cb3c
          test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
Packit Service 84cb3c
          sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
Packit Service 84cb3c
          for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
Packit Service 84cb3c
            if test -f "$f"; then
Packit Service 84cb3c
              case "$f" in
Packit Service 84cb3c
                *.orig | *.bak | *~) ;;
Packit Service 84cb3c
                *) cat "$f" >> "$ac_dir/Makefile" ;;
Packit Service 84cb3c
              esac
Packit Service 84cb3c
            fi
Packit Service 84cb3c
          done
Packit Service 84cb3c
        fi
Packit Service 84cb3c
        ;;
Packit Service 84cb3c
      esac
Packit Service 84cb3c
    done]],
Packit Service 84cb3c
   [# Capture the value of obsolete ALL_LINGUAS because we need it to compute
Packit Service 84cb3c
    # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
Packit Service 84cb3c
    # from automake < 1.5.
Packit Service 84cb3c
    eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
Packit Service 84cb3c
    # Capture the value of LINGUAS because we need it to compute CATALOGS.
Packit Service 84cb3c
    LINGUAS="${LINGUAS-%UNSET%}"
Packit Service 84cb3c
   ])
Packit Service 84cb3c
])
Packit Service 84cb3c
Packit Service 84cb3c
dnl Postprocesses a Makefile in a directory containing PO files.
Packit Service 84cb3c
AC_DEFUN([AM_POSTPROCESS_PO_MAKEFILE],
Packit Service 84cb3c
[
Packit Service 84cb3c
  # When this code is run, in config.status, two variables have already been
Packit Service 84cb3c
  # set:
Packit Service 84cb3c
  # - OBSOLETE_ALL_LINGUAS is the value of LINGUAS set in configure.in,
Packit Service 84cb3c
  # - LINGUAS is the value of the environment variable LINGUAS at configure
Packit Service 84cb3c
  #   time.
Packit Service 84cb3c
Packit Service 84cb3c
changequote(,)dnl
Packit Service 84cb3c
  # Adjust a relative srcdir.
Packit Service 84cb3c
  ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
Packit Service 84cb3c
  ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'`
Packit Service 84cb3c
  ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
Packit Service 84cb3c
  # In autoconf-2.13 it is called $ac_given_srcdir.
Packit Service 84cb3c
  # In autoconf-2.50 it is called $srcdir.
Packit Service 84cb3c
  test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
Packit Service 84cb3c
  case "$ac_given_srcdir" in
Packit Service 84cb3c
    .)  top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
Packit Service 84cb3c
    /*) top_srcdir="$ac_given_srcdir" ;;
Packit Service 84cb3c
    *)  top_srcdir="$ac_dots$ac_given_srcdir" ;;
Packit Service 84cb3c
  esac
Packit Service 84cb3c
Packit Service 84cb3c
  # Find a way to echo strings without interpreting backslash.
Packit Service 84cb3c
  if test "X`(echo '\t') 2>/dev/null`" = 'X\t'; then
Packit Service 84cb3c
    gt_echo='echo'
Packit Service 84cb3c
  else
Packit Service 84cb3c
    if test "X`(printf '%s\n' '\t') 2>/dev/null`" = 'X\t'; then
Packit Service 84cb3c
      gt_echo='printf %s\n'
Packit Service 84cb3c
    else
Packit Service 84cb3c
      echo_func () {
Packit Service 84cb3c
        cat <
Packit Service 84cb3c
$*
Packit Service 84cb3c
EOT
Packit Service 84cb3c
      }
Packit Service 84cb3c
      gt_echo='echo_func'
Packit Service 84cb3c
    fi
Packit Service 84cb3c
  fi
Packit Service 84cb3c
Packit Service 84cb3c
  # A sed script that extracts the value of VARIABLE from a Makefile.
Packit Service 84cb3c
  tab=`printf '\t'`
Packit Service 84cb3c
  sed_x_variable='
Packit Service 84cb3c
# Test if the hold space is empty.
Packit Service 84cb3c
x
Packit Service 84cb3c
s/P/P/
Packit Service 84cb3c
x
Packit Service 84cb3c
ta
Packit Service 84cb3c
# Yes it was empty. Look if we have the expected variable definition.
Packit Service 84cb3c
/^['"${tab}"' ]*VARIABLE['"${tab}"' ]*=/{
Packit Service 84cb3c
  # Seen the first line of the variable definition.
Packit Service 84cb3c
  s/^['"${tab}"' ]*VARIABLE['"${tab}"' ]*=//
Packit Service 84cb3c
  ba
Packit Service 84cb3c
}
Packit Service 84cb3c
bd
Packit Service 84cb3c
:a
Packit Service 84cb3c
# Here we are processing a line from the variable definition.
Packit Service 84cb3c
# Remove comment, more precisely replace it with a space.
Packit Service 84cb3c
s/#.*$/ /
Packit Service 84cb3c
# See if the line ends in a backslash.
Packit Service 84cb3c
tb
Packit Service 84cb3c
:b
Packit Service 84cb3c
s/\\$//
Packit Service 84cb3c
# Print the line, without the trailing backslash.
Packit Service 84cb3c
p
Packit Service 84cb3c
tc
Packit Service 84cb3c
# There was no trailing backslash. The end of the variable definition is
Packit Service 84cb3c
# reached. Clear the hold space.
Packit Service 84cb3c
s/^.*$//
Packit Service 84cb3c
x
Packit Service 84cb3c
bd
Packit Service 84cb3c
:c
Packit Service 84cb3c
# A trailing backslash means that the variable definition continues in the
Packit Service 84cb3c
# next line. Put a nonempty string into the hold space to indicate this.
Packit Service 84cb3c
s/^.*$/P/
Packit Service 84cb3c
x
Packit Service 84cb3c
:d
Packit Service 84cb3c
'
Packit Service 84cb3c
changequote([,])dnl
Packit Service 84cb3c
Packit Service 84cb3c
  # Set POTFILES to the value of the Makefile variable POTFILES.
Packit Service 84cb3c
  sed_x_POTFILES=`$gt_echo "$sed_x_variable" | sed -e '/^ *#/d' -e 's/VARIABLE/POTFILES/g'`
Packit Service 84cb3c
  POTFILES=`sed -n -e "$sed_x_POTFILES" < "$ac_file"`
Packit Service 84cb3c
  # Compute POTFILES_DEPS as
Packit Service 84cb3c
  #   $(foreach file, $(POTFILES), $(top_srcdir)/$(file))
Packit Service 84cb3c
  POTFILES_DEPS=
Packit Service 84cb3c
  for file in $POTFILES; do
Packit Service 84cb3c
    POTFILES_DEPS="$POTFILES_DEPS "'$(top_srcdir)/'"$file"
Packit Service 84cb3c
  done
Packit Service 84cb3c
  POMAKEFILEDEPS=""
Packit Service 84cb3c
Packit Service 84cb3c
  if test -n "$OBSOLETE_ALL_LINGUAS"; then
Packit Service 84cb3c
    test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
Packit Service 84cb3c
  fi
Packit Service 84cb3c
  if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
Packit Service 84cb3c
    # The LINGUAS file contains the set of available languages.
Packit Service 84cb3c
    ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
Packit Service 84cb3c
    POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
Packit Service 84cb3c
  else
Packit Service 84cb3c
    # Set ALL_LINGUAS to the value of the Makefile variable LINGUAS.
Packit Service 84cb3c
    sed_x_LINGUAS=`$gt_echo "$sed_x_variable" | sed -e '/^ *#/d' -e 's/VARIABLE/LINGUAS/g'`
Packit Service 84cb3c
    ALL_LINGUAS_=`sed -n -e "$sed_x_LINGUAS" < "$ac_file"`
Packit Service 84cb3c
  fi
Packit Service 84cb3c
  # Hide the ALL_LINGUAS assignment from automake < 1.5.
Packit Service 84cb3c
  eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
Packit Service 84cb3c
  # Compute POFILES
Packit Service 84cb3c
  # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
Packit Service 84cb3c
  # Compute UPDATEPOFILES
Packit Service 84cb3c
  # as      $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
Packit Service 84cb3c
  # Compute DUMMYPOFILES
Packit Service 84cb3c
  # as      $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
Packit Service 84cb3c
  # Compute GMOFILES
Packit Service 84cb3c
  # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
Packit Service 84cb3c
  # Compute PROPERTIESFILES
Packit Service 84cb3c
  # as      $(foreach lang, $(ALL_LINGUAS), $(top_srcdir)/$(DOMAIN)_$(lang).properties)
Packit Service 84cb3c
  # Compute CLASSFILES
Packit Service 84cb3c
  # as      $(foreach lang, $(ALL_LINGUAS), $(top_srcdir)/$(DOMAIN)_$(lang).class)
Packit Service 84cb3c
  # Compute QMFILES
Packit Service 84cb3c
  # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).qm)
Packit Service 84cb3c
  # Compute MSGFILES
Packit Service 84cb3c
  # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(frob $(lang)).msg)
Packit Service 84cb3c
  # Compute RESOURCESDLLFILES
Packit Service 84cb3c
  # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(frob $(lang))/$(DOMAIN).resources.dll)
Packit Service 84cb3c
  case "$ac_given_srcdir" in
Packit Service 84cb3c
    .) srcdirpre= ;;
Packit Service 84cb3c
    *) srcdirpre='$(srcdir)/' ;;
Packit Service 84cb3c
  esac
Packit Service 84cb3c
  POFILES=
Packit Service 84cb3c
  UPDATEPOFILES=
Packit Service 84cb3c
  DUMMYPOFILES=
Packit Service 84cb3c
  GMOFILES=
Packit Service 84cb3c
  PROPERTIESFILES=
Packit Service 84cb3c
  CLASSFILES=
Packit Service 84cb3c
  QMFILES=
Packit Service 84cb3c
  MSGFILES=
Packit Service 84cb3c
  RESOURCESDLLFILES=
Packit Service 84cb3c
  for lang in $ALL_LINGUAS; do
Packit Service 84cb3c
    POFILES="$POFILES $srcdirpre$lang.po"
Packit Service 84cb3c
    UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
Packit Service 84cb3c
    DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
Packit Service 84cb3c
    GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
Packit Service 84cb3c
    PROPERTIESFILES="$PROPERTIESFILES \$(top_srcdir)/\$(DOMAIN)_$lang.properties"
Packit Service 84cb3c
    CLASSFILES="$CLASSFILES \$(top_srcdir)/\$(DOMAIN)_$lang.class"
Packit Service 84cb3c
    QMFILES="$QMFILES $srcdirpre$lang.qm"
Packit Service 84cb3c
    frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'`
Packit Service 84cb3c
    MSGFILES="$MSGFILES $srcdirpre$frobbedlang.msg"
Packit Service 84cb3c
    frobbedlang=`echo $lang | sed -e 's/_/-/g' -e 's/^sr-CS/sr-SP/' -e 's/@latin$/-Latn/' -e 's/@cyrillic$/-Cyrl/' -e 's/^sr-SP$/sr-SP-Latn/' -e 's/^uz-UZ$/uz-UZ-Latn/'`
Packit Service 84cb3c
    RESOURCESDLLFILES="$RESOURCESDLLFILES $srcdirpre$frobbedlang/\$(DOMAIN).resources.dll"
Packit Service 84cb3c
  done
Packit Service 84cb3c
  # CATALOGS depends on both $ac_dir and the user's LINGUAS
Packit Service 84cb3c
  # environment variable.
Packit Service 84cb3c
  INST_LINGUAS=
Packit Service 84cb3c
  if test -n "$ALL_LINGUAS"; then
Packit Service 84cb3c
    for presentlang in $ALL_LINGUAS; do
Packit Service 84cb3c
      useit=no
Packit Service 84cb3c
      if test "%UNSET%" != "$LINGUAS"; then
Packit Service 84cb3c
        desiredlanguages="$LINGUAS"
Packit Service 84cb3c
      else
Packit Service 84cb3c
        desiredlanguages="$ALL_LINGUAS"
Packit Service 84cb3c
      fi
Packit Service 84cb3c
      for desiredlang in $desiredlanguages; do
Packit Service 84cb3c
        # Use the presentlang catalog if desiredlang is
Packit Service 84cb3c
        #   a. equal to presentlang, or
Packit Service 84cb3c
        #   b. a variant of presentlang (because in this case,
Packit Service 84cb3c
        #      presentlang can be used as a fallback for messages
Packit Service 84cb3c
        #      which are not translated in the desiredlang catalog).
Packit Service 84cb3c
        case "$desiredlang" in
Packit Service 84cb3c
          "$presentlang"*) useit=yes;;
Packit Service 84cb3c
        esac
Packit Service 84cb3c
      done
Packit Service 84cb3c
      if test $useit = yes; then
Packit Service 84cb3c
        INST_LINGUAS="$INST_LINGUAS $presentlang"
Packit Service 84cb3c
      fi
Packit Service 84cb3c
    done
Packit Service 84cb3c
  fi
Packit Service 84cb3c
  CATALOGS=
Packit Service 84cb3c
  JAVACATALOGS=
Packit Service 84cb3c
  QTCATALOGS=
Packit Service 84cb3c
  TCLCATALOGS=
Packit Service 84cb3c
  CSHARPCATALOGS=
Packit Service 84cb3c
  if test -n "$INST_LINGUAS"; then
Packit Service 84cb3c
    for lang in $INST_LINGUAS; do
Packit Service 84cb3c
      CATALOGS="$CATALOGS $lang.gmo"
Packit Service 84cb3c
      JAVACATALOGS="$JAVACATALOGS \$(DOMAIN)_$lang.properties"
Packit Service 84cb3c
      QTCATALOGS="$QTCATALOGS $lang.qm"
Packit Service 84cb3c
      frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'`
Packit Service 84cb3c
      TCLCATALOGS="$TCLCATALOGS $frobbedlang.msg"
Packit Service 84cb3c
      frobbedlang=`echo $lang | sed -e 's/_/-/g' -e 's/^sr-CS/sr-SP/' -e 's/@latin$/-Latn/' -e 's/@cyrillic$/-Cyrl/' -e 's/^sr-SP$/sr-SP-Latn/' -e 's/^uz-UZ$/uz-UZ-Latn/'`
Packit Service 84cb3c
      CSHARPCATALOGS="$CSHARPCATALOGS $frobbedlang/\$(DOMAIN).resources.dll"
Packit Service 84cb3c
    done
Packit Service 84cb3c
  fi
Packit Service 84cb3c
Packit Service 84cb3c
  sed -e "s|@POTFILES_DEPS@|$POTFILES_DEPS|g" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@PROPERTIESFILES@|$PROPERTIESFILES|g" -e "s|@CLASSFILES@|$CLASSFILES|g" -e "s|@QMFILES@|$QMFILES|g" -e "s|@MSGFILES@|$MSGFILES|g" -e "s|@RESOURCESDLLFILES@|$RESOURCESDLLFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@JAVACATALOGS@|$JAVACATALOGS|g" -e "s|@QTCATALOGS@|$QTCATALOGS|g" -e "s|@TCLCATALOGS@|$TCLCATALOGS|g" -e "s|@CSHARPCATALOGS@|$CSHARPCATALOGS|g" -e 's,^#distdir:,distdir:,' < "$ac_file" > "$ac_file.tmp"
Packit Service 84cb3c
  tab=`printf '\t'`
Packit Service 84cb3c
  if grep -l '@TCLCATALOGS@' "$ac_file" > /dev/null; then
Packit Service 84cb3c
    # Add dependencies that cannot be formulated as a simple suffix rule.
Packit Service 84cb3c
    for lang in $ALL_LINGUAS; do
Packit Service 84cb3c
      frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'`
Packit Service 84cb3c
      cat >> "$ac_file.tmp" <
Packit Service 84cb3c
$frobbedlang.msg: $lang.po
Packit Service 84cb3c
${tab}@echo "\$(MSGFMT) -c --tcl -d \$(srcdir) -l $lang $srcdirpre$lang.po"; \
Packit Service 84cb3c
${tab}\$(MSGFMT) -c --tcl -d "\$(srcdir)" -l $lang $srcdirpre$lang.po || { rm -f "\$(srcdir)/$frobbedlang.msg"; exit 1; }
Packit Service 84cb3c
EOF
Packit Service 84cb3c
    done
Packit Service 84cb3c
  fi
Packit Service 84cb3c
  if grep -l '@CSHARPCATALOGS@' "$ac_file" > /dev/null; then
Packit Service 84cb3c
    # Add dependencies that cannot be formulated as a simple suffix rule.
Packit Service 84cb3c
    for lang in $ALL_LINGUAS; do
Packit Service 84cb3c
      frobbedlang=`echo $lang | sed -e 's/_/-/g' -e 's/^sr-CS/sr-SP/' -e 's/@latin$/-Latn/' -e 's/@cyrillic$/-Cyrl/' -e 's/^sr-SP$/sr-SP-Latn/' -e 's/^uz-UZ$/uz-UZ-Latn/'`
Packit Service 84cb3c
      cat >> "$ac_file.tmp" <
Packit Service 84cb3c
$frobbedlang/\$(DOMAIN).resources.dll: $lang.po
Packit Service 84cb3c
${tab}@echo "\$(MSGFMT) -c --csharp -d \$(srcdir) -l $lang $srcdirpre$lang.po -r \$(DOMAIN)"; \
Packit Service 84cb3c
${tab}\$(MSGFMT) -c --csharp -d "\$(srcdir)" -l $lang $srcdirpre$lang.po -r "\$(DOMAIN)" || { rm -f "\$(srcdir)/$frobbedlang.msg"; exit 1; }
Packit Service 84cb3c
EOF
Packit Service 84cb3c
    done
Packit Service 84cb3c
  fi
Packit Service 84cb3c
  if test -n "$POMAKEFILEDEPS"; then
Packit Service 84cb3c
    cat >> "$ac_file.tmp" <
Packit Service 84cb3c
Makefile: $POMAKEFILEDEPS
Packit Service 84cb3c
EOF
Packit Service 84cb3c
  fi
Packit Service 84cb3c
  mv "$ac_file.tmp" "$ac_file"
Packit Service 84cb3c
])
Packit Service 84cb3c
Packit Service 84cb3c
dnl Initializes the accumulator used by AM_XGETTEXT_OPTION.
Packit Service 84cb3c
AC_DEFUN([AM_XGETTEXT_OPTION_INIT],
Packit Service 84cb3c
[
Packit Service 84cb3c
  XGETTEXT_EXTRA_OPTIONS=
Packit Service 84cb3c
])
Packit Service 84cb3c
Packit Service 84cb3c
dnl Registers an option to be passed to xgettext in the po subdirectory.
Packit Service 84cb3c
AC_DEFUN([AM_XGETTEXT_OPTION],
Packit Service 84cb3c
[
Packit Service 84cb3c
  AC_REQUIRE([AM_XGETTEXT_OPTION_INIT])
Packit Service 84cb3c
  XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS $1"
Packit Service 84cb3c
])
Packit Service 84cb3c
Packit Service 84cb3c
# progtest.m4 serial 7 (gettext-0.18.2)
Packit Service 84cb3c
dnl Copyright (C) 1996-2003, 2005, 2008-2016 Free Software Foundation, Inc.
Packit Service 84cb3c
dnl This file is free software; the Free Software Foundation
Packit Service 84cb3c
dnl gives unlimited permission to copy and/or distribute it,
Packit Service 84cb3c
dnl with or without modifications, as long as this notice is preserved.
Packit Service 84cb3c
dnl
Packit Service 84cb3c
dnl This file can be used in projects which are not available under
Packit Service 84cb3c
dnl the GNU General Public License or the GNU Library General Public
Packit Service 84cb3c
dnl License but which still want to provide support for the GNU gettext
Packit Service 84cb3c
dnl functionality.
Packit Service 84cb3c
dnl Please note that the actual code of the GNU gettext library is covered
Packit Service 84cb3c
dnl by the GNU Library General Public License, and the rest of the GNU
Packit Service 84cb3c
dnl gettext package is covered by the GNU General Public License.
Packit Service 84cb3c
dnl They are *not* in the public domain.
Packit Service 84cb3c
Packit Service 84cb3c
dnl Authors:
Packit Service 84cb3c
dnl   Ulrich Drepper <drepper@cygnus.com>, 1996.
Packit Service 84cb3c
Packit Service 84cb3c
AC_PREREQ([2.50])
Packit Service 84cb3c
Packit Service 84cb3c
# Search path for a program which passes the given test.
Packit Service 84cb3c
Packit Service 84cb3c
dnl AM_PATH_PROG_WITH_TEST(VARIABLE, PROG-TO-CHECK-FOR,
Packit Service 84cb3c
dnl   TEST-PERFORMED-ON-FOUND_PROGRAM [, VALUE-IF-NOT-FOUND [, PATH]])
Packit Service 84cb3c
AC_DEFUN([AM_PATH_PROG_WITH_TEST],
Packit Service 84cb3c
[
Packit Service 84cb3c
# Prepare PATH_SEPARATOR.
Packit Service 84cb3c
# The user is always right.
Packit Service 84cb3c
if test "${PATH_SEPARATOR+set}" != set; then
Packit Service 84cb3c
  # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
Packit Service 84cb3c
  # contains only /bin. Note that ksh looks also at the FPATH variable,
Packit Service 84cb3c
  # so we have to set that as well for the test.
Packit Service 84cb3c
  PATH_SEPARATOR=:
Packit Service 84cb3c
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
Packit Service 84cb3c
    && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
Packit Service 84cb3c
           || PATH_SEPARATOR=';'
Packit Service 84cb3c
       }
Packit Service 84cb3c
fi
Packit Service 84cb3c
Packit Service 84cb3c
# Find out how to test for executable files. Don't use a zero-byte file,
Packit Service 84cb3c
# as systems may use methods other than mode bits to determine executability.
Packit Service 84cb3c
cat >conf$$.file <<_ASEOF
Packit Service 84cb3c
#! /bin/sh
Packit Service 84cb3c
exit 0
Packit Service 84cb3c
_ASEOF
Packit Service 84cb3c
chmod +x conf$$.file
Packit Service 84cb3c
if test -x conf$$.file >/dev/null 2>&1; then
Packit Service 84cb3c
  ac_executable_p="test -x"
Packit Service 84cb3c
else
Packit Service 84cb3c
  ac_executable_p="test -f"
Packit Service 84cb3c
fi
Packit Service 84cb3c
rm -f conf$$.file
Packit Service 84cb3c
Packit Service 84cb3c
# Extract the first word of "$2", so it can be a program name with args.
Packit Service 84cb3c
set dummy $2; ac_word=[$]2
Packit Service 84cb3c
AC_MSG_CHECKING([for $ac_word])
Packit Service 84cb3c
AC_CACHE_VAL([ac_cv_path_$1],
Packit Service 84cb3c
[case "[$]$1" in
Packit Service 84cb3c
  [[\\/]]* | ?:[[\\/]]*)
Packit Service 84cb3c
    ac_cv_path_$1="[$]$1" # Let the user override the test with a path.
Packit Service 84cb3c
    ;;
Packit Service 84cb3c
  *)
Packit Service 84cb3c
    ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
Packit Service 84cb3c
    for ac_dir in ifelse([$5], , $PATH, [$5]); do
Packit Service 84cb3c
      IFS="$ac_save_IFS"
Packit Service 84cb3c
      test -z "$ac_dir" && ac_dir=.
Packit Service 84cb3c
      for ac_exec_ext in '' $ac_executable_extensions; do
Packit Service 84cb3c
        if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
Packit Service 84cb3c
          echo "$as_me: trying $ac_dir/$ac_word..." >&AS_MESSAGE_LOG_FD
Packit Service 84cb3c
          if [$3]; then
Packit Service 84cb3c
            ac_cv_path_$1="$ac_dir/$ac_word$ac_exec_ext"
Packit Service 84cb3c
            break 2
Packit Service 84cb3c
          fi
Packit Service 84cb3c
        fi
Packit Service 84cb3c
      done
Packit Service 84cb3c
    done
Packit Service 84cb3c
    IFS="$ac_save_IFS"
Packit Service 84cb3c
dnl If no 4th arg is given, leave the cache variable unset,
Packit Service 84cb3c
dnl so AC_PATH_PROGS will keep looking.
Packit Service 84cb3c
ifelse([$4], , , [  test -z "[$]ac_cv_path_$1" && ac_cv_path_$1="$4"
Packit Service 84cb3c
])dnl
Packit Service 84cb3c
    ;;
Packit Service 84cb3c
esac])dnl
Packit Service 84cb3c
$1="$ac_cv_path_$1"
Packit Service 84cb3c
if test ifelse([$4], , [-n "[$]$1"], ["[$]$1" != "$4"]); then
Packit Service 84cb3c
  AC_MSG_RESULT([$][$1])
Packit Service 84cb3c
else
Packit Service 84cb3c
  AC_MSG_RESULT([no])
Packit Service 84cb3c
fi
Packit Service 84cb3c
AC_SUBST([$1])dnl
Packit Service 84cb3c
])
Packit Service 84cb3c
Packit Service 1fe779
# Copyright (C) 2002-2018 Free Software Foundation, Inc.
Packit Service 84cb3c
#
Packit Service 84cb3c
# This file is free software; the Free Software Foundation
Packit Service 84cb3c
# gives unlimited permission to copy and/or distribute it,
Packit Service 84cb3c
# with or without modifications, as long as this notice is preserved.
Packit Service 84cb3c
Packit Service 84cb3c
# AM_AUTOMAKE_VERSION(VERSION)
Packit Service 84cb3c
# ----------------------------
Packit Service 84cb3c
# Automake X.Y traces this macro to ensure aclocal.m4 has been
Packit Service 84cb3c
# generated from the m4 files accompanying Automake X.Y.
Packit Service 84cb3c
# (This private macro should not be called outside this file.)
Packit Service 84cb3c
AC_DEFUN([AM_AUTOMAKE_VERSION],
Packit Service 1fe779
[am__api_version='1.16'
Packit Service 84cb3c
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
Packit Service 84cb3c
dnl require some minimum version.  Point them to the right macro.
Packit Service 1fe779
m4_if([$1], [1.16.1], [],
Packit Service 84cb3c
      [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
Packit Service 84cb3c
])
Packit Service 84cb3c
Packit Service 84cb3c
# _AM_AUTOCONF_VERSION(VERSION)
Packit Service 84cb3c
# -----------------------------
Packit Service 84cb3c
# aclocal traces this macro to find the Autoconf version.
Packit Service 84cb3c
# This is a private macro too.  Using m4_define simplifies
Packit Service 84cb3c
# the logic in aclocal, which can simply ignore this definition.
Packit Service 84cb3c
m4_define([_AM_AUTOCONF_VERSION], [])
Packit Service 84cb3c
Packit Service 84cb3c
# AM_SET_CURRENT_AUTOMAKE_VERSION
Packit Service 84cb3c
# -------------------------------
Packit Service 84cb3c
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
Packit Service 84cb3c
# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
Packit Service 84cb3c
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
Packit Service 1fe779
[AM_AUTOMAKE_VERSION([1.16.1])dnl
Packit Service 84cb3c
m4_ifndef([AC_AUTOCONF_VERSION],
Packit Service 84cb3c
  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
Packit Service 84cb3c
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
Packit Service 84cb3c
Packit Service 84cb3c
# AM_AUX_DIR_EXPAND                                         -*- Autoconf -*-
Packit Service 84cb3c
Packit Service 1fe779
# Copyright (C) 2001-2018 Free Software Foundation, Inc.
Packit Service 84cb3c
#
Packit Service 84cb3c
# This file is free software; the Free Software Foundation
Packit Service 84cb3c
# gives unlimited permission to copy and/or distribute it,
Packit Service 84cb3c
# with or without modifications, as long as this notice is preserved.
Packit Service 84cb3c
Packit Service 84cb3c
# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
Packit Service 84cb3c
# $ac_aux_dir to '$srcdir/foo'.  In other projects, it is set to
Packit Service 84cb3c
# '$srcdir', '$srcdir/..', or '$srcdir/../..'.
Packit Service 84cb3c
#
Packit Service 84cb3c
# Of course, Automake must honor this variable whenever it calls a
Packit Service 84cb3c
# tool from the auxiliary directory.  The problem is that $srcdir (and
Packit Service 84cb3c
# therefore $ac_aux_dir as well) can be either absolute or relative,
Packit Service 84cb3c
# depending on how configure is run.  This is pretty annoying, since
Packit Service 84cb3c
# it makes $ac_aux_dir quite unusable in subdirectories: in the top
Packit Service 84cb3c
# source directory, any form will work fine, but in subdirectories a
Packit Service 84cb3c
# relative path needs to be adjusted first.
Packit Service 84cb3c
#
Packit Service 84cb3c
# $ac_aux_dir/missing
Packit Service 84cb3c
#    fails when called from a subdirectory if $ac_aux_dir is relative
Packit Service 84cb3c
# $top_srcdir/$ac_aux_dir/missing
Packit Service 84cb3c
#    fails if $ac_aux_dir is absolute,
Packit Service 84cb3c
#    fails when called from a subdirectory in a VPATH build with
Packit Service 84cb3c
#          a relative $ac_aux_dir
Packit Service 84cb3c
#
Packit Service 84cb3c
# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
Packit Service 84cb3c
# are both prefixed by $srcdir.  In an in-source build this is usually
Packit Service 84cb3c
# harmless because $srcdir is '.', but things will broke when you
Packit Service 84cb3c
# start a VPATH build or use an absolute $srcdir.
Packit Service 84cb3c
#
Packit Service 84cb3c
# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
Packit Service 84cb3c
# iff we strip the leading $srcdir from $ac_aux_dir.  That would be:
Packit Service 84cb3c
#   am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
Packit Service 84cb3c
# and then we would define $MISSING as
Packit Service 84cb3c
#   MISSING="\${SHELL} $am_aux_dir/missing"
Packit Service 84cb3c
# This will work as long as MISSING is not called from configure, because
Packit Service 84cb3c
# unfortunately $(top_srcdir) has no meaning in configure.
Packit Service 84cb3c
# However there are other variables, like CC, which are often used in
Packit Service 84cb3c
# configure, and could therefore not use this "fixed" $ac_aux_dir.
Packit Service 84cb3c
#
Packit Service 84cb3c
# Another solution, used here, is to always expand $ac_aux_dir to an
Packit Service 84cb3c
# absolute PATH.  The drawback is that using absolute paths prevent a
Packit Service 84cb3c
# configured tree to be moved without reconfiguration.
Packit Service 84cb3c
Packit Service 84cb3c
AC_DEFUN([AM_AUX_DIR_EXPAND],
Packit Service 1fe779
[AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
Packit Service 1fe779
# Expand $ac_aux_dir to an absolute path.
Packit Service 1fe779
am_aux_dir=`cd "$ac_aux_dir" && pwd`
Packit Service 84cb3c
])
Packit Service 84cb3c
Packit Service 84cb3c
# AM_COND_IF                                            -*- Autoconf -*-
Packit Service 84cb3c
Packit Service 1fe779
# Copyright (C) 2008-2018 Free Software Foundation, Inc.
Packit Service 84cb3c
#
Packit Service 84cb3c
# This file is free software; the Free Software Foundation
Packit Service 84cb3c
# gives unlimited permission to copy and/or distribute it,
Packit Service 84cb3c
# with or without modifications, as long as this notice is preserved.
Packit Service 84cb3c
Packit Service 84cb3c
# _AM_COND_IF
Packit Service 84cb3c
# _AM_COND_ELSE
Packit Service 84cb3c
# _AM_COND_ENDIF
Packit Service 84cb3c
# --------------
Packit Service 84cb3c
# These macros are only used for tracing.
Packit Service 84cb3c
m4_define([_AM_COND_IF])
Packit Service 84cb3c
m4_define([_AM_COND_ELSE])
Packit Service 84cb3c
m4_define([_AM_COND_ENDIF])
Packit Service 84cb3c
Packit Service 84cb3c
# AM_COND_IF(COND, [IF-TRUE], [IF-FALSE])
Packit Service 84cb3c
# ---------------------------------------
Packit Service 84cb3c
# If the shell condition COND is true, execute IF-TRUE, otherwise execute
Packit Service 84cb3c
# IF-FALSE.  Allow automake to learn about conditional instantiating macros
Packit Service 84cb3c
# (the AC_CONFIG_FOOS).
Packit Service 84cb3c
AC_DEFUN([AM_COND_IF],
Packit Service 84cb3c
[m4_ifndef([_AM_COND_VALUE_$1],
Packit Service 84cb3c
	   [m4_fatal([$0: no such condition "$1"])])dnl
Packit Service 84cb3c
_AM_COND_IF([$1])dnl
Packit Service 84cb3c
if test -z "$$1_TRUE"; then :
Packit Service 84cb3c
  m4_n([$2])[]dnl
Packit Service 84cb3c
m4_ifval([$3],
Packit Service 84cb3c
[_AM_COND_ELSE([$1])dnl
Packit Service 84cb3c
else
Packit Service 84cb3c
  $3
Packit Service 84cb3c
])dnl
Packit Service 84cb3c
_AM_COND_ENDIF([$1])dnl
Packit Service 84cb3c
fi[]dnl
Packit Service 84cb3c
])
Packit Service 84cb3c
Packit Service 84cb3c
# AM_CONDITIONAL                                            -*- Autoconf -*-
Packit Service 84cb3c
Packit Service 1fe779
# Copyright (C) 1997-2018 Free Software Foundation, Inc.
Packit Service 84cb3c
#
Packit Service 84cb3c
# This file is free software; the Free Software Foundation
Packit Service 84cb3c
# gives unlimited permission to copy and/or distribute it,
Packit Service 84cb3c
# with or without modifications, as long as this notice is preserved.
Packit Service 84cb3c
Packit Service 84cb3c
# AM_CONDITIONAL(NAME, SHELL-CONDITION)
Packit Service 84cb3c
# -------------------------------------
Packit Service 84cb3c
# Define a conditional.
Packit Service 84cb3c
AC_DEFUN([AM_CONDITIONAL],
Packit Service 84cb3c
[AC_PREREQ([2.52])dnl
Packit Service 84cb3c
 m4_if([$1], [TRUE],  [AC_FATAL([$0: invalid condition: $1])],
Packit Service 84cb3c
       [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
Packit Service 84cb3c
AC_SUBST([$1_TRUE])dnl
Packit Service 84cb3c
AC_SUBST([$1_FALSE])dnl
Packit Service 84cb3c
_AM_SUBST_NOTMAKE([$1_TRUE])dnl
Packit Service 84cb3c
_AM_SUBST_NOTMAKE([$1_FALSE])dnl
Packit Service 84cb3c
m4_define([_AM_COND_VALUE_$1], [$2])dnl
Packit Service 84cb3c
if $2; then
Packit Service 84cb3c
  $1_TRUE=
Packit Service 84cb3c
  $1_FALSE='#'
Packit Service 84cb3c
else
Packit Service 84cb3c
  $1_TRUE='#'
Packit Service 84cb3c
  $1_FALSE=
Packit Service 84cb3c
fi
Packit Service 84cb3c
AC_CONFIG_COMMANDS_PRE(
Packit Service 84cb3c
[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
Packit Service 84cb3c
  AC_MSG_ERROR([[conditional "$1" was never defined.
Packit Service 84cb3c
Usually this means the macro was only invoked conditionally.]])
Packit Service 84cb3c
fi])])
Packit Service 84cb3c
Packit Service 84cb3c
# Do all the work for Automake.                             -*- Autoconf -*-
Packit Service 84cb3c
Packit Service 1fe779
# Copyright (C) 1996-2018 Free Software Foundation, Inc.
Packit Service 84cb3c
#
Packit Service 84cb3c
# This file is free software; the Free Software Foundation
Packit Service 84cb3c
# gives unlimited permission to copy and/or distribute it,
Packit Service 84cb3c
# with or without modifications, as long as this notice is preserved.
Packit Service 84cb3c
Packit Service 84cb3c
# This macro actually does too much.  Some checks are only needed if
Packit Service 84cb3c
# your package does certain things.  But this isn't really a big deal.
Packit Service 84cb3c
Packit Service 1fe779
dnl Redefine AC_PROG_CC to automatically invoke _AM_PROG_CC_C_O.
Packit Service 1fe779
m4_define([AC_PROG_CC],
Packit Service 1fe779
m4_defn([AC_PROG_CC])
Packit Service 1fe779
[_AM_PROG_CC_C_O
Packit Service 1fe779
])
Packit Service 1fe779
Packit Service 84cb3c
# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
Packit Service 84cb3c
# AM_INIT_AUTOMAKE([OPTIONS])
Packit Service 84cb3c
# -----------------------------------------------
Packit Service 84cb3c
# The call with PACKAGE and VERSION arguments is the old style
Packit Service 84cb3c
# call (pre autoconf-2.50), which is being phased out.  PACKAGE
Packit Service 84cb3c
# and VERSION should now be passed to AC_INIT and removed from
Packit Service 84cb3c
# the call to AM_INIT_AUTOMAKE.
Packit Service 84cb3c
# We support both call styles for the transition.  After
Packit Service 84cb3c
# the next Automake release, Autoconf can make the AC_INIT
Packit Service 84cb3c
# arguments mandatory, and then we can depend on a new Autoconf
Packit Service 84cb3c
# release and drop the old call support.
Packit Service 84cb3c
AC_DEFUN([AM_INIT_AUTOMAKE],
Packit Service 84cb3c
[AC_PREREQ([2.65])dnl
Packit Service 84cb3c
dnl Autoconf wants to disallow AM_ names.  We explicitly allow
Packit Service 84cb3c
dnl the ones we care about.
Packit Service 84cb3c
m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
Packit Service 84cb3c
AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
Packit Service 84cb3c
AC_REQUIRE([AC_PROG_INSTALL])dnl
Packit Service 84cb3c
if test "`cd $srcdir && pwd`" != "`pwd`"; then
Packit Service 84cb3c
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
Packit Service 84cb3c
  # is not polluted with repeated "-I."
Packit Service 84cb3c
  AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
Packit Service 84cb3c
  # test to see if srcdir already configured
Packit Service 84cb3c
  if test -f $srcdir/config.status; then
Packit Service 84cb3c
    AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
Packit Service 84cb3c
  fi
Packit Service 84cb3c
fi
Packit Service 84cb3c
Packit Service 84cb3c
# test whether we have cygpath
Packit Service 84cb3c
if test -z "$CYGPATH_W"; then
Packit Service 84cb3c
  if (cygpath --version) >/dev/null 2>/dev/null; then
Packit Service 84cb3c
    CYGPATH_W='cygpath -w'
Packit Service 84cb3c
  else
Packit Service 84cb3c
    CYGPATH_W=echo
Packit Service 84cb3c
  fi
Packit Service 84cb3c
fi
Packit Service 84cb3c
AC_SUBST([CYGPATH_W])
Packit Service 84cb3c
Packit Service 84cb3c
# Define the identity of the package.
Packit Service 84cb3c
dnl Distinguish between old-style and new-style calls.
Packit Service 84cb3c
m4_ifval([$2],
Packit Service 84cb3c
[AC_DIAGNOSE([obsolete],
Packit Service 84cb3c
             [$0: two- and three-arguments forms are deprecated.])
Packit Service 84cb3c
m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
Packit Service 84cb3c
 AC_SUBST([PACKAGE], [$1])dnl
Packit Service 84cb3c
 AC_SUBST([VERSION], [$2])],
Packit Service 84cb3c
[_AM_SET_OPTIONS([$1])dnl
Packit Service 84cb3c
dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
Packit Service 84cb3c
m4_if(
Packit Service 84cb3c
  m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]),
Packit Service 84cb3c
  [ok:ok],,
Packit Service 84cb3c
  [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
Packit Service 84cb3c
 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
Packit Service 84cb3c
 AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
Packit Service 84cb3c
Packit Service 84cb3c
_AM_IF_OPTION([no-define],,
Packit Service 84cb3c
[AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package])
Packit Service 84cb3c
 AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl
Packit Service 84cb3c
Packit Service 84cb3c
# Some tools Automake needs.
Packit Service 84cb3c
AC_REQUIRE([AM_SANITY_CHECK])dnl
Packit Service 84cb3c
AC_REQUIRE([AC_ARG_PROGRAM])dnl
Packit Service 84cb3c
AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
Packit Service 84cb3c
AM_MISSING_PROG([AUTOCONF], [autoconf])
Packit Service 84cb3c
AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
Packit Service 84cb3c
AM_MISSING_PROG([AUTOHEADER], [autoheader])
Packit Service 84cb3c
AM_MISSING_PROG([MAKEINFO], [makeinfo])
Packit Service 84cb3c
AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
Packit Service 84cb3c
AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
Packit Service 84cb3c
AC_REQUIRE([AC_PROG_MKDIR_P])dnl
Packit Service 84cb3c
# For better backward compatibility.  To be removed once Automake 1.9.x
Packit Service 84cb3c
# dies out for good.  For more background, see:
Packit Service 1fe779
# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
Packit Service 1fe779
# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
Packit Service 84cb3c
AC_SUBST([mkdir_p], ['$(MKDIR_P)'])
Packit Service 1fe779
# We need awk for the "check" target (and possibly the TAP driver).  The
Packit Service 1fe779
# system "awk" is bad on some platforms.
Packit Service 84cb3c
AC_REQUIRE([AC_PROG_AWK])dnl
Packit Service 84cb3c
AC_REQUIRE([AC_PROG_MAKE_SET])dnl
Packit Service 84cb3c
AC_REQUIRE([AM_SET_LEADING_DOT])dnl
Packit Service 84cb3c
_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
Packit Service 84cb3c
	      [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
Packit Service 84cb3c
			     [_AM_PROG_TAR([v7])])])
Packit Service 84cb3c
_AM_IF_OPTION([no-dependencies],,
Packit Service 84cb3c
[AC_PROVIDE_IFELSE([AC_PROG_CC],
Packit Service 84cb3c
		  [_AM_DEPENDENCIES([CC])],
Packit Service 84cb3c
		  [m4_define([AC_PROG_CC],
Packit Service 84cb3c
			     m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl
Packit Service 84cb3c
AC_PROVIDE_IFELSE([AC_PROG_CXX],
Packit Service 84cb3c
		  [_AM_DEPENDENCIES([CXX])],
Packit Service 84cb3c
		  [m4_define([AC_PROG_CXX],
Packit Service 84cb3c
			     m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl
Packit Service 84cb3c
AC_PROVIDE_IFELSE([AC_PROG_OBJC],
Packit Service 84cb3c
		  [_AM_DEPENDENCIES([OBJC])],
Packit Service 84cb3c
		  [m4_define([AC_PROG_OBJC],
Packit Service 84cb3c
			     m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
Packit Service 84cb3c
AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
Packit Service 84cb3c
		  [_AM_DEPENDENCIES([OBJCXX])],
Packit Service 84cb3c
		  [m4_define([AC_PROG_OBJCXX],
Packit Service 84cb3c
			     m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl
Packit Service 84cb3c
])
Packit Service 84cb3c
AC_REQUIRE([AM_SILENT_RULES])dnl
Packit Service 84cb3c
dnl The testsuite driver may need to know about EXEEXT, so add the
Packit Service 84cb3c
dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen.  This
Packit Service 84cb3c
dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below.
Packit Service 84cb3c
AC_CONFIG_COMMANDS_PRE(dnl
Packit Service 84cb3c
[m4_provide_if([_AM_COMPILER_EXEEXT],
Packit Service 84cb3c
  [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
Packit Service 1fe779
Packit Service 1fe779
# POSIX will say in a future version that running "rm -f" with no argument
Packit Service 1fe779
# is OK; and we want to be able to make that assumption in our Makefile
Packit Service 1fe779
# recipes.  So use an aggressive probe to check that the usage we want is
Packit Service 1fe779
# actually supported "in the wild" to an acceptable degree.
Packit Service 1fe779
# See automake bug#10828.
Packit Service 1fe779
# To make any issue more visible, cause the running configure to be aborted
Packit Service 1fe779
# by default if the 'rm' program in use doesn't match our expectations; the
Packit Service 1fe779
# user can still override this though.
Packit Service 1fe779
if rm -f && rm -fr && rm -rf; then : OK; else
Packit Service 1fe779
  cat >&2 <<'END'
Packit Service 1fe779
Oops!
Packit Service 1fe779
Packit Service 1fe779
Your 'rm' program seems unable to run without file operands specified
Packit Service 1fe779
on the command line, even when the '-f' option is present.  This is contrary
Packit Service 1fe779
to the behaviour of most rm programs out there, and not conforming with
Packit Service 1fe779
the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
Packit Service 1fe779
Packit Service 1fe779
Please tell bug-automake@gnu.org about your system, including the value
Packit Service 1fe779
of your $PATH and any error possibly output before this message.  This
Packit Service 1fe779
can help us improve future automake versions.
Packit Service 1fe779
Packit Service 1fe779
END
Packit Service 1fe779
  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
Packit Service 1fe779
    echo 'Configuration will proceed anyway, since you have set the' >&2
Packit Service 1fe779
    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
Packit Service 1fe779
    echo >&2
Packit Service 1fe779
  else
Packit Service 1fe779
    cat >&2 <<'END'
Packit Service 1fe779
Aborting the configuration process, to ensure you take notice of the issue.
Packit Service 1fe779
Packit Service 1fe779
You can download and install GNU coreutils to get an 'rm' implementation
Packit Service 1fe779
that behaves properly: <https://www.gnu.org/software/coreutils/>.
Packit Service 1fe779
Packit Service 1fe779
If you want to complete the configuration process using your problematic
Packit Service 1fe779
'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
Packit Service 1fe779
to "yes", and re-run configure.
Packit Service 1fe779
Packit Service 1fe779
END
Packit Service 1fe779
    AC_MSG_ERROR([Your 'rm' program is bad, sorry.])
Packit Service 1fe779
  fi
Packit Service 1fe779
fi
Packit Service 1fe779
dnl The trailing newline in this macro's definition is deliberate, for
Packit Service 1fe779
dnl backward compatibility and to allow trailing 'dnl'-style comments
Packit Service 1fe779
dnl after the AM_INIT_AUTOMAKE invocation. See automake bug#16841.
Packit Service 84cb3c
])
Packit Service 84cb3c
Packit Service 84cb3c
dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion.  Do not
Packit Service 84cb3c
dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
Packit Service 84cb3c
dnl mangled by Autoconf and run in a shell conditional statement.
Packit Service 84cb3c
m4_define([_AC_COMPILER_EXEEXT],
Packit Service 84cb3c
m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
Packit Service 84cb3c
Packit Service 84cb3c
# When config.status generates a header, we must update the stamp-h file.
Packit Service 84cb3c
# This file resides in the same directory as the config header
Packit Service 84cb3c
# that is generated.  The stamp files are numbered to have different names.
Packit Service 84cb3c
Packit Service 84cb3c
# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
Packit Service 84cb3c
# loop where config.status creates the headers, so we can generate
Packit Service 84cb3c
# our stamp files there.
Packit Service 84cb3c
AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
Packit Service 84cb3c
[# Compute $1's index in $config_headers.
Packit Service 84cb3c
_am_arg=$1
Packit Service 84cb3c
_am_stamp_count=1
Packit Service 84cb3c
for _am_header in $config_headers :; do
Packit Service 84cb3c
  case $_am_header in
Packit Service 84cb3c
    $_am_arg | $_am_arg:* )
Packit Service 84cb3c
      break ;;
Packit Service 84cb3c
    * )
Packit Service 84cb3c
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
Packit Service 84cb3c
  esac
Packit Service 84cb3c
done
Packit Service 84cb3c
echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
Packit Service 84cb3c
Packit Service 1fe779
# Copyright (C) 2001-2018 Free Software Foundation, Inc.
Packit Service 84cb3c
#
Packit Service 84cb3c
# This file is free software; the Free Software Foundation
Packit Service 84cb3c
# gives unlimited permission to copy and/or distribute it,
Packit Service 84cb3c
# with or without modifications, as long as this notice is preserved.
Packit Service 84cb3c
Packit Service 84cb3c
# AM_PROG_INSTALL_SH
Packit Service 84cb3c
# ------------------
Packit Service 84cb3c
# Define $install_sh.
Packit Service 84cb3c
AC_DEFUN([AM_PROG_INSTALL_SH],
Packit Service 84cb3c
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
Packit Service 1fe779
if test x"${install_sh+set}" != xset; then
Packit Service 84cb3c
  case $am_aux_dir in
Packit Service 84cb3c
  *\ * | *\	*)
Packit Service 84cb3c
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
Packit Service 84cb3c
  *)
Packit Service 84cb3c
    install_sh="\${SHELL} $am_aux_dir/install-sh"
Packit Service 84cb3c
  esac
Packit Service 84cb3c
fi
Packit Service 84cb3c
AC_SUBST([install_sh])])
Packit Service 84cb3c
Packit Service 1fe779
# Copyright (C) 2003-2018 Free Software Foundation, Inc.
Packit Service 84cb3c
#
Packit Service 84cb3c
# This file is free software; the Free Software Foundation
Packit Service 84cb3c
# gives unlimited permission to copy and/or distribute it,
Packit Service 84cb3c
# with or without modifications, as long as this notice is preserved.
Packit Service 84cb3c
Packit Service 84cb3c
# Check whether the underlying file-system supports filenames
Packit Service 84cb3c
# with a leading dot.  For instance MS-DOS doesn't.
Packit Service 84cb3c
AC_DEFUN([AM_SET_LEADING_DOT],
Packit Service 84cb3c
[rm -rf .tst 2>/dev/null
Packit Service 84cb3c
mkdir .tst 2>/dev/null
Packit Service 84cb3c
if test -d .tst; then
Packit Service 84cb3c
  am__leading_dot=.
Packit Service 84cb3c
else
Packit Service 84cb3c
  am__leading_dot=_
Packit Service 84cb3c
fi
Packit Service 84cb3c
rmdir .tst 2>/dev/null
Packit Service 84cb3c
AC_SUBST([am__leading_dot])])
Packit Service 84cb3c
Packit Service 84cb3c
# Fake the existence of programs that GNU maintainers use.  -*- Autoconf -*-
Packit Service 84cb3c
Packit Service 1fe779
# Copyright (C) 1997-2018 Free Software Foundation, Inc.
Packit Service 84cb3c
#
Packit Service 84cb3c
# This file is free software; the Free Software Foundation
Packit Service 84cb3c
# gives unlimited permission to copy and/or distribute it,
Packit Service 84cb3c
# with or without modifications, as long as this notice is preserved.
Packit Service 84cb3c
Packit Service 84cb3c
# AM_MISSING_PROG(NAME, PROGRAM)
Packit Service 84cb3c
# ------------------------------
Packit Service 84cb3c
AC_DEFUN([AM_MISSING_PROG],
Packit Service 84cb3c
[AC_REQUIRE([AM_MISSING_HAS_RUN])
Packit Service 84cb3c
$1=${$1-"${am_missing_run}$2"}
Packit Service 84cb3c
AC_SUBST($1)])
Packit Service 84cb3c
Packit Service 84cb3c
# AM_MISSING_HAS_RUN
Packit Service 84cb3c
# ------------------
Packit Service 84cb3c
# Define MISSING if not defined so far and test if it is modern enough.
Packit Service 84cb3c
# If it is, set am_missing_run to use it, otherwise, to nothing.
Packit Service 84cb3c
AC_DEFUN([AM_MISSING_HAS_RUN],
Packit Service 84cb3c
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
Packit Service 84cb3c
AC_REQUIRE_AUX_FILE([missing])dnl
Packit Service 84cb3c
if test x"${MISSING+set}" != xset; then
Packit Service 84cb3c
  case $am_aux_dir in
Packit Service 84cb3c
  *\ * | *\	*)
Packit Service 84cb3c
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
Packit Service 84cb3c
  *)
Packit Service 84cb3c
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
Packit Service 84cb3c
  esac
Packit Service 84cb3c
fi
Packit Service 84cb3c
# Use eval to expand $SHELL
Packit Service 84cb3c
if eval "$MISSING --is-lightweight"; then
Packit Service 84cb3c
  am_missing_run="$MISSING "
Packit Service 84cb3c
else
Packit Service 84cb3c
  am_missing_run=
Packit Service 84cb3c
  AC_MSG_WARN(['missing' script is too old or missing])
Packit Service 84cb3c
fi
Packit Service 84cb3c
])
Packit Service 84cb3c
Packit Service 84cb3c
# Helper functions for option handling.                     -*- Autoconf -*-
Packit Service 84cb3c
Packit Service 1fe779
# Copyright (C) 2001-2018 Free Software Foundation, Inc.
Packit Service 84cb3c
#
Packit Service 84cb3c
# This file is free software; the Free Software Foundation
Packit Service 84cb3c
# gives unlimited permission to copy and/or distribute it,
Packit Service 84cb3c
# with or without modifications, as long as this notice is preserved.
Packit Service 84cb3c
Packit Service 84cb3c
# _AM_MANGLE_OPTION(NAME)
Packit Service 84cb3c
# -----------------------
Packit Service 84cb3c
AC_DEFUN([_AM_MANGLE_OPTION],
Packit Service 84cb3c
[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
Packit Service 84cb3c
Packit Service 84cb3c
# _AM_SET_OPTION(NAME)
Packit Service 84cb3c
# --------------------
Packit Service 84cb3c
# Set option NAME.  Presently that only means defining a flag for this option.
Packit Service 84cb3c
AC_DEFUN([_AM_SET_OPTION],
Packit Service 84cb3c
[m4_define(_AM_MANGLE_OPTION([$1]), [1])])
Packit Service 84cb3c
Packit Service 84cb3c
# _AM_SET_OPTIONS(OPTIONS)
Packit Service 84cb3c
# ------------------------
Packit Service 84cb3c
# OPTIONS is a space-separated list of Automake options.
Packit Service 84cb3c
AC_DEFUN([_AM_SET_OPTIONS],
Packit Service 84cb3c
[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
Packit Service 84cb3c
Packit Service 84cb3c
# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
Packit Service 84cb3c
# -------------------------------------------
Packit Service 84cb3c
# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
Packit Service 84cb3c
AC_DEFUN([_AM_IF_OPTION],
Packit Service 84cb3c
[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
Packit Service 84cb3c
Packit Service 1fe779
# Copyright (C) 1999-2018 Free Software Foundation, Inc.
Packit Service 84cb3c
#
Packit Service 84cb3c
# This file is free software; the Free Software Foundation
Packit Service 84cb3c
# gives unlimited permission to copy and/or distribute it,
Packit Service 84cb3c
# with or without modifications, as long as this notice is preserved.
Packit Service 84cb3c
Packit Service 84cb3c
Packit Service 84cb3c
# AM_PATH_PYTHON([MINIMUM-VERSION], [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
Packit Service 84cb3c
# ---------------------------------------------------------------------------
Packit Service 84cb3c
# Adds support for distributing Python modules and packages.  To
Packit Service 84cb3c
# install modules, copy them to $(pythondir), using the python_PYTHON
Packit Service 84cb3c
# automake variable.  To install a package with the same name as the
Packit Service 84cb3c
# automake package, install to $(pkgpythondir), or use the
Packit Service 84cb3c
# pkgpython_PYTHON automake variable.
Packit Service 84cb3c
#
Packit Service 84cb3c
# The variables $(pyexecdir) and $(pkgpyexecdir) are provided as
Packit Service 84cb3c
# locations to install python extension modules (shared libraries).
Packit Service 84cb3c
# Another macro is required to find the appropriate flags to compile
Packit Service 84cb3c
# extension modules.
Packit Service 84cb3c
#
Packit Service 84cb3c
# If your package is configured with a different prefix to python,
Packit Service 84cb3c
# users will have to add the install directory to the PYTHONPATH
Packit Service 84cb3c
# environment variable, or create a .pth file (see the python
Packit Service 84cb3c
# documentation for details).
Packit Service 84cb3c
#
Packit Service 84cb3c
# If the MINIMUM-VERSION argument is passed, AM_PATH_PYTHON will
Packit Service 84cb3c
# cause an error if the version of python installed on the system
Packit Service 84cb3c
# doesn't meet the requirement.  MINIMUM-VERSION should consist of
Packit Service 84cb3c
# numbers and dots only.
Packit Service 84cb3c
AC_DEFUN([AM_PATH_PYTHON],
Packit Service 84cb3c
 [
Packit Service 84cb3c
  dnl Find a Python interpreter.  Python versions prior to 2.0 are not
Packit Service 84cb3c
  dnl supported. (2.0 was released on October 16, 2000).
Packit Service 84cb3c
  m4_define_default([_AM_PYTHON_INTERPRETER_LIST],
Packit Service 1fe779
[python python2 python3 dnl
Packit Service 1fe779
 python3.9 python3.8 python3.7 python3.6 python3.5 python3.4 python3.3 dnl
Packit Service 1fe779
 python3.2 python3.1 python3.0 dnl
Packit Service 1fe779
 python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 dnl
Packit Service 1fe779
 python2.0])
Packit Service 84cb3c
Packit Service 84cb3c
  AC_ARG_VAR([PYTHON], [the Python interpreter])
Packit Service 84cb3c
Packit Service 84cb3c
  m4_if([$1],[],[
Packit Service 84cb3c
    dnl No version check is needed.
Packit Service 84cb3c
    # Find any Python interpreter.
Packit Service 84cb3c
    if test -z "$PYTHON"; then
Packit Service 84cb3c
      AC_PATH_PROGS([PYTHON], _AM_PYTHON_INTERPRETER_LIST, :)
Packit Service 84cb3c
    fi
Packit Service 84cb3c
    am_display_PYTHON=python
Packit Service 84cb3c
  ], [
Packit Service 84cb3c
    dnl A version check is needed.
Packit Service 84cb3c
    if test -n "$PYTHON"; then
Packit Service 84cb3c
      # If the user set $PYTHON, use it and don't search something else.
Packit Service 84cb3c
      AC_MSG_CHECKING([whether $PYTHON version is >= $1])
Packit Service 84cb3c
      AM_PYTHON_CHECK_VERSION([$PYTHON], [$1],
Packit Service 84cb3c
			      [AC_MSG_RESULT([yes])],
Packit Service 84cb3c
			      [AC_MSG_RESULT([no])
Packit Service 84cb3c
			       AC_MSG_ERROR([Python interpreter is too old])])
Packit Service 84cb3c
      am_display_PYTHON=$PYTHON
Packit Service 84cb3c
    else
Packit Service 84cb3c
      # Otherwise, try each interpreter until we find one that satisfies
Packit Service 84cb3c
      # VERSION.
Packit Service 84cb3c
      AC_CACHE_CHECK([for a Python interpreter with version >= $1],
Packit Service 84cb3c
	[am_cv_pathless_PYTHON],[
Packit Service 84cb3c
	for am_cv_pathless_PYTHON in _AM_PYTHON_INTERPRETER_LIST none; do
Packit Service 84cb3c
	  test "$am_cv_pathless_PYTHON" = none && break
Packit Service 84cb3c
	  AM_PYTHON_CHECK_VERSION([$am_cv_pathless_PYTHON], [$1], [break])
Packit Service 84cb3c
	done])
Packit Service 84cb3c
      # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
Packit Service 84cb3c
      if test "$am_cv_pathless_PYTHON" = none; then
Packit Service 84cb3c
	PYTHON=:
Packit Service 84cb3c
      else
Packit Service 84cb3c
        AC_PATH_PROG([PYTHON], [$am_cv_pathless_PYTHON])
Packit Service 84cb3c
      fi
Packit Service 84cb3c
      am_display_PYTHON=$am_cv_pathless_PYTHON
Packit Service 84cb3c
    fi
Packit Service 84cb3c
  ])
Packit Service 84cb3c
Packit Service 84cb3c
  if test "$PYTHON" = :; then
Packit Service 84cb3c
  dnl Run any user-specified action, or abort.
Packit Service 84cb3c
    m4_default([$3], [AC_MSG_ERROR([no suitable Python interpreter found])])
Packit Service 84cb3c
  else
Packit Service 84cb3c
Packit Service 84cb3c
  dnl Query Python for its version number.  Getting [:3] seems to be
Packit Service 84cb3c
  dnl the best way to do this; it's what "site.py" does in the standard
Packit Service 84cb3c
  dnl library.
Packit Service 84cb3c
Packit Service 84cb3c
  AC_CACHE_CHECK([for $am_display_PYTHON version], [am_cv_python_version],
Packit Service 84cb3c
    [am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[[:3]])"`])
Packit Service 84cb3c
  AC_SUBST([PYTHON_VERSION], [$am_cv_python_version])
Packit Service 84cb3c
Packit Service 84cb3c
  dnl Use the values of $prefix and $exec_prefix for the corresponding
Packit Service 84cb3c
  dnl values of PYTHON_PREFIX and PYTHON_EXEC_PREFIX.  These are made
Packit Service 84cb3c
  dnl distinct variables so they can be overridden if need be.  However,
Packit Service 84cb3c
  dnl general consensus is that you shouldn't need this ability.
Packit Service 84cb3c
Packit Service 84cb3c
  AC_SUBST([PYTHON_PREFIX], ['${prefix}'])
Packit Service 84cb3c
  AC_SUBST([PYTHON_EXEC_PREFIX], ['${exec_prefix}'])
Packit Service 84cb3c
Packit Service 84cb3c
  dnl At times (like when building shared libraries) you may want
Packit Service 84cb3c
  dnl to know which OS platform Python thinks this is.
Packit Service 84cb3c
Packit Service 84cb3c
  AC_CACHE_CHECK([for $am_display_PYTHON platform], [am_cv_python_platform],
Packit Service 84cb3c
    [am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`])
Packit Service 84cb3c
  AC_SUBST([PYTHON_PLATFORM], [$am_cv_python_platform])
Packit Service 84cb3c
Packit Service 84cb3c
  # Just factor out some code duplication.
Packit Service 84cb3c
  am_python_setup_sysconfig="\
Packit Service 84cb3c
import sys
Packit Service 84cb3c
# Prefer sysconfig over distutils.sysconfig, for better compatibility
Packit Service 84cb3c
# with python 3.x.  See automake bug#10227.
Packit Service 84cb3c
try:
Packit Service 84cb3c
    import sysconfig
Packit Service 84cb3c
except ImportError:
Packit Service 84cb3c
    can_use_sysconfig = 0
Packit Service 84cb3c
else:
Packit Service 84cb3c
    can_use_sysconfig = 1
Packit Service 84cb3c
# Can't use sysconfig in CPython 2.7, since it's broken in virtualenvs:
Packit Service 84cb3c
# <https://github.com/pypa/virtualenv/issues/118>
Packit Service 84cb3c
try:
Packit Service 84cb3c
    from platform import python_implementation
Packit Service 84cb3c
    if python_implementation() == 'CPython' and sys.version[[:3]] == '2.7':
Packit Service 84cb3c
        can_use_sysconfig = 0
Packit Service 84cb3c
except ImportError:
Packit Service 84cb3c
    pass"
Packit Service 84cb3c
Packit Service 84cb3c
  dnl Set up 4 directories:
Packit Service 84cb3c
Packit Service 84cb3c
  dnl pythondir -- where to install python scripts.  This is the
Packit Service 84cb3c
  dnl   site-packages directory, not the python standard library
Packit Service 84cb3c
  dnl   directory like in previous automake betas.  This behavior
Packit Service 84cb3c
  dnl   is more consistent with lispdir.m4 for example.
Packit Service 84cb3c
  dnl Query distutils for this directory.
Packit Service 84cb3c
  AC_CACHE_CHECK([for $am_display_PYTHON script directory],
Packit Service 84cb3c
    [am_cv_python_pythondir],
Packit Service 84cb3c
    [if test "x$prefix" = xNONE
Packit Service 84cb3c
     then
Packit Service 84cb3c
       am_py_prefix=$ac_default_prefix
Packit Service 84cb3c
     else
Packit Service 84cb3c
       am_py_prefix=$prefix
Packit Service 84cb3c
     fi
Packit Service 84cb3c
     am_cv_python_pythondir=`$PYTHON -c "
Packit Service 84cb3c
$am_python_setup_sysconfig
Packit Service 84cb3c
if can_use_sysconfig:
Packit Service 84cb3c
    sitedir = sysconfig.get_path('purelib', vars={'base':'$am_py_prefix'})
Packit Service 84cb3c
else:
Packit Service 84cb3c
    from distutils import sysconfig
Packit Service 84cb3c
    sitedir = sysconfig.get_python_lib(0, 0, prefix='$am_py_prefix')
Packit Service 84cb3c
sys.stdout.write(sitedir)"`
Packit Service 84cb3c
     case $am_cv_python_pythondir in
Packit Service 84cb3c
     $am_py_prefix*)
Packit Service 84cb3c
       am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
Packit Service 84cb3c
       am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
Packit Service 84cb3c
       ;;
Packit Service 84cb3c
     *)
Packit Service 84cb3c
       case $am_py_prefix in
Packit Service 84cb3c
         /usr|/System*) ;;
Packit Service 84cb3c
         *)
Packit Service 84cb3c
	  am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages
Packit Service 84cb3c
	  ;;
Packit Service 84cb3c
       esac
Packit Service 84cb3c
       ;;
Packit Service 84cb3c
     esac
Packit Service 84cb3c
    ])
Packit Service 84cb3c
  AC_SUBST([pythondir], [$am_cv_python_pythondir])
Packit Service 84cb3c
Packit Service 84cb3c
  dnl pkgpythondir -- $PACKAGE directory under pythondir.  Was
Packit Service 84cb3c
  dnl   PYTHON_SITE_PACKAGE in previous betas, but this naming is
Packit Service 84cb3c
  dnl   more consistent with the rest of automake.
Packit Service 84cb3c
Packit Service 84cb3c
  AC_SUBST([pkgpythondir], [\${pythondir}/$PACKAGE])
Packit Service 84cb3c
Packit Service 84cb3c
  dnl pyexecdir -- directory for installing python extension modules
Packit Service 84cb3c
  dnl   (shared libraries)
Packit Service 84cb3c
  dnl Query distutils for this directory.
Packit Service 84cb3c
  AC_CACHE_CHECK([for $am_display_PYTHON extension module directory],
Packit Service 84cb3c
    [am_cv_python_pyexecdir],
Packit Service 84cb3c
    [if test "x$exec_prefix" = xNONE
Packit Service 84cb3c
     then
Packit Service 84cb3c
       am_py_exec_prefix=$am_py_prefix
Packit Service 84cb3c
     else
Packit Service 84cb3c
       am_py_exec_prefix=$exec_prefix
Packit Service 84cb3c
     fi
Packit Service 84cb3c
     am_cv_python_pyexecdir=`$PYTHON -c "
Packit Service 84cb3c
$am_python_setup_sysconfig
Packit Service 84cb3c
if can_use_sysconfig:
Packit Service 84cb3c
    sitedir = sysconfig.get_path('platlib', vars={'platbase':'$am_py_prefix'})
Packit Service 84cb3c
else:
Packit Service 84cb3c
    from distutils import sysconfig
Packit Service 84cb3c
    sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_prefix')
Packit Service 84cb3c
sys.stdout.write(sitedir)"`
Packit Service 84cb3c
     case $am_cv_python_pyexecdir in
Packit Service 84cb3c
     $am_py_exec_prefix*)
Packit Service 84cb3c
       am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
Packit Service 84cb3c
       am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
Packit Service 84cb3c
       ;;
Packit Service 84cb3c
     *)
Packit Service 84cb3c
       case $am_py_exec_prefix in
Packit Service 84cb3c
         /usr|/System*) ;;
Packit Service 84cb3c
         *)
Packit Service 84cb3c
	   am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages
Packit Service 84cb3c
	   ;;
Packit Service 84cb3c
       esac
Packit Service 84cb3c
       ;;
Packit Service 84cb3c
     esac
Packit Service 84cb3c
    ])
Packit Service 84cb3c
  AC_SUBST([pyexecdir], [$am_cv_python_pyexecdir])
Packit Service 84cb3c
Packit Service 84cb3c
  dnl pkgpyexecdir -- $(pyexecdir)/$(PACKAGE)
Packit Service 84cb3c
Packit Service 84cb3c
  AC_SUBST([pkgpyexecdir], [\${pyexecdir}/$PACKAGE])
Packit Service 84cb3c
Packit Service 84cb3c
  dnl Run any user-specified action.
Packit Service 84cb3c
  $2
Packit Service 84cb3c
  fi
Packit Service 84cb3c
Packit Service 84cb3c
])
Packit Service 84cb3c
Packit Service 84cb3c
Packit Service 84cb3c
# AM_PYTHON_CHECK_VERSION(PROG, VERSION, [ACTION-IF-TRUE], [ACTION-IF-FALSE])
Packit Service 84cb3c
# ---------------------------------------------------------------------------
Packit Service 84cb3c
# Run ACTION-IF-TRUE if the Python interpreter PROG has version >= VERSION.
Packit Service 84cb3c
# Run ACTION-IF-FALSE otherwise.
Packit Service 84cb3c
# This test uses sys.hexversion instead of the string equivalent (first
Packit Service 84cb3c
# word of sys.version), in order to cope with versions such as 2.2c1.
Packit Service 84cb3c
# This supports Python 2.0 or higher. (2.0 was released on October 16, 2000).
Packit Service 84cb3c
AC_DEFUN([AM_PYTHON_CHECK_VERSION],
Packit Service 84cb3c
 [prog="import sys
Packit Service 84cb3c
# split strings by '.' and convert to numeric.  Append some zeros
Packit Service 84cb3c
# because we need at least 4 digits for the hex conversion.
Packit Service 84cb3c
# map returns an iterator in Python 3.0 and a list in 2.x
Packit Service 84cb3c
minver = list(map(int, '$2'.split('.'))) + [[0, 0, 0]]
Packit Service 84cb3c
minverhex = 0
Packit Service 84cb3c
# xrange is not present in Python 3.0 and range returns an iterator
Packit Service 84cb3c
for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[[i]]
Packit Service 84cb3c
sys.exit(sys.hexversion < minverhex)"
Packit Service 84cb3c
  AS_IF([AM_RUN_LOG([$1 -c "$prog"])], [$3], [$4])])
Packit Service 84cb3c
Packit Service 1fe779
# Copyright (C) 2001-2018 Free Software Foundation, Inc.
Packit Service 84cb3c
#
Packit Service 84cb3c
# This file is free software; the Free Software Foundation
Packit Service 84cb3c
# gives unlimited permission to copy and/or distribute it,
Packit Service 84cb3c
# with or without modifications, as long as this notice is preserved.
Packit Service 84cb3c
Packit Service 84cb3c
# AM_RUN_LOG(COMMAND)
Packit Service 84cb3c
# -------------------
Packit Service 84cb3c
# Run COMMAND, save the exit status in ac_status, and log it.
Packit Service 84cb3c
# (This has been adapted from Autoconf's _AC_RUN_LOG macro.)
Packit Service 84cb3c
AC_DEFUN([AM_RUN_LOG],
Packit Service 84cb3c
[{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD
Packit Service 84cb3c
   ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD
Packit Service 84cb3c
   ac_status=$?
Packit Service 84cb3c
   echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
Packit Service 84cb3c
   (exit $ac_status); }])
Packit Service 84cb3c
Packit Service 84cb3c
# Check to make sure that the build environment is sane.    -*- Autoconf -*-
Packit Service 84cb3c
Packit Service 1fe779
# Copyright (C) 1996-2018 Free Software Foundation, Inc.
Packit Service 84cb3c
#
Packit Service 84cb3c
# This file is free software; the Free Software Foundation
Packit Service 84cb3c
# gives unlimited permission to copy and/or distribute it,
Packit Service 84cb3c
# with or without modifications, as long as this notice is preserved.
Packit Service 84cb3c
Packit Service 84cb3c
# AM_SANITY_CHECK
Packit Service 84cb3c
# ---------------
Packit Service 84cb3c
AC_DEFUN([AM_SANITY_CHECK],
Packit Service 84cb3c
[AC_MSG_CHECKING([whether build environment is sane])
Packit Service 84cb3c
# Reject unsafe characters in $srcdir or the absolute working directory
Packit Service 84cb3c
# name.  Accept space and tab only in the latter.
Packit Service 84cb3c
am_lf='
Packit Service 84cb3c
'
Packit Service 84cb3c
case `pwd` in
Packit Service 84cb3c
  *[[\\\"\#\$\&\'\`$am_lf]]*)
Packit Service 84cb3c
    AC_MSG_ERROR([unsafe absolute working directory name]);;
Packit Service 84cb3c
esac
Packit Service 84cb3c
case $srcdir in
Packit Service 84cb3c
  *[[\\\"\#\$\&\'\`$am_lf\ \	]]*)
Packit Service 84cb3c
    AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);;
Packit Service 84cb3c
esac
Packit Service 84cb3c
Packit Service 84cb3c
# Do 'set' in a subshell so we don't clobber the current shell's
Packit Service 84cb3c
# arguments.  Must try -L first in case configure is actually a
Packit Service 84cb3c
# symlink; some systems play weird games with the mod time of symlinks
Packit Service 84cb3c
# (eg FreeBSD returns the mod time of the symlink's containing
Packit Service 84cb3c
# directory).
Packit Service 84cb3c
if (
Packit Service 84cb3c
   am_has_slept=no
Packit Service 84cb3c
   for am_try in 1 2; do
Packit Service 84cb3c
     echo "timestamp, slept: $am_has_slept" > conftest.file
Packit Service 84cb3c
     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
Packit Service 84cb3c
     if test "$[*]" = "X"; then
Packit Service 84cb3c
	# -L didn't work.
Packit Service 84cb3c
	set X `ls -t "$srcdir/configure" conftest.file`
Packit Service 84cb3c
     fi
Packit Service 84cb3c
     if test "$[*]" != "X $srcdir/configure conftest.file" \
Packit Service 84cb3c
	&& test "$[*]" != "X conftest.file $srcdir/configure"; then
Packit Service 84cb3c
Packit Service 84cb3c
	# If neither matched, then we have a broken ls.  This can happen
Packit Service 84cb3c
	# if, for instance, CONFIG_SHELL is bash and it inherits a
Packit Service 84cb3c
	# broken ls alias from the environment.  This has actually
Packit Service 84cb3c
	# happened.  Such a system could not be considered "sane".
Packit Service 84cb3c
	AC_MSG_ERROR([ls -t appears to fail.  Make sure there is not a broken
Packit Service 84cb3c
  alias in your environment])
Packit Service 84cb3c
     fi
Packit Service 84cb3c
     if test "$[2]" = conftest.file || test $am_try -eq 2; then
Packit Service 84cb3c
       break
Packit Service 84cb3c
     fi
Packit Service 84cb3c
     # Just in case.
Packit Service 84cb3c
     sleep 1
Packit Service 84cb3c
     am_has_slept=yes
Packit Service 84cb3c
   done
Packit Service 84cb3c
   test "$[2]" = conftest.file
Packit Service 84cb3c
   )
Packit Service 84cb3c
then
Packit Service 84cb3c
   # Ok.
Packit Service 84cb3c
   :
Packit Service 84cb3c
else
Packit Service 84cb3c
   AC_MSG_ERROR([newly created file is older than distributed files!
Packit Service 84cb3c
Check your system clock])
Packit Service 84cb3c
fi
Packit Service 84cb3c
AC_MSG_RESULT([yes])
Packit Service 84cb3c
# If we didn't sleep, we still need to ensure time stamps of config.status and
Packit Service 84cb3c
# generated files are strictly newer.
Packit Service 84cb3c
am_sleep_pid=
Packit Service 84cb3c
if grep 'slept: no' conftest.file >/dev/null 2>&1; then
Packit Service 84cb3c
  ( sleep 1 ) &
Packit Service 84cb3c
  am_sleep_pid=$!
Packit Service 84cb3c
fi
Packit Service 84cb3c
AC_CONFIG_COMMANDS_PRE(
Packit Service 84cb3c
  [AC_MSG_CHECKING([that generated files are newer than configure])
Packit Service 84cb3c
   if test -n "$am_sleep_pid"; then
Packit Service 84cb3c
     # Hide warnings about reused PIDs.
Packit Service 84cb3c
     wait $am_sleep_pid 2>/dev/null
Packit Service 84cb3c
   fi
Packit Service 84cb3c
   AC_MSG_RESULT([done])])
Packit Service 84cb3c
rm -f conftest.file
Packit Service 84cb3c
])
Packit Service 84cb3c
Packit Service 1fe779
# Copyright (C) 2009-2018 Free Software Foundation, Inc.
Packit Service 84cb3c
#
Packit Service 84cb3c
# This file is free software; the Free Software Foundation
Packit Service 84cb3c
# gives unlimited permission to copy and/or distribute it,
Packit Service 84cb3c
# with or without modifications, as long as this notice is preserved.
Packit Service 84cb3c
Packit Service 84cb3c
# AM_SILENT_RULES([DEFAULT])
Packit Service 84cb3c
# --------------------------
Packit Service 84cb3c
# Enable less verbose build rules; with the default set to DEFAULT
Packit Service 84cb3c
# ("yes" being less verbose, "no" or empty being verbose).
Packit Service 84cb3c
AC_DEFUN([AM_SILENT_RULES],
Packit Service 84cb3c
[AC_ARG_ENABLE([silent-rules], [dnl
Packit Service 84cb3c
AS_HELP_STRING(
Packit Service 84cb3c
  [--enable-silent-rules],
Packit Service 84cb3c
  [less verbose build output (undo: "make V=1")])
Packit Service 84cb3c
AS_HELP_STRING(
Packit Service 84cb3c
  [--disable-silent-rules],
Packit Service 84cb3c
  [verbose build output (undo: "make V=0")])dnl
Packit Service 84cb3c
])
Packit Service 84cb3c
case $enable_silent_rules in @%:@ (((
Packit Service 84cb3c
  yes) AM_DEFAULT_VERBOSITY=0;;
Packit Service 84cb3c
   no) AM_DEFAULT_VERBOSITY=1;;
Packit Service 84cb3c
    *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
Packit Service 84cb3c
esac
Packit Service 84cb3c
dnl
Packit Service 84cb3c
dnl A few 'make' implementations (e.g., NonStop OS and NextStep)
Packit Service 84cb3c
dnl do not support nested variable expansions.
Packit Service 84cb3c
dnl See automake bug#9928 and bug#10237.
Packit Service 84cb3c
am_make=${MAKE-make}
Packit Service 84cb3c
AC_CACHE_CHECK([whether $am_make supports nested variables],
Packit Service 84cb3c
   [am_cv_make_support_nested_variables],
Packit Service 84cb3c
   [if AS_ECHO([['TRUE=$(BAR$(V))
Packit Service 84cb3c
BAR0=false
Packit Service 84cb3c
BAR1=true
Packit Service 84cb3c
V=1
Packit Service 84cb3c
am__doit:
Packit Service 84cb3c
	@$(TRUE)
Packit Service 84cb3c
.PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then
Packit Service 84cb3c
  am_cv_make_support_nested_variables=yes
Packit Service 84cb3c
else
Packit Service 84cb3c
  am_cv_make_support_nested_variables=no
Packit Service 84cb3c
fi])
Packit Service 84cb3c
if test $am_cv_make_support_nested_variables = yes; then
Packit Service 84cb3c
  dnl Using '$V' instead of '$(V)' breaks IRIX make.
Packit Service 84cb3c
  AM_V='$(V)'
Packit Service 84cb3c
  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
Packit Service 84cb3c
else
Packit Service 84cb3c
  AM_V=$AM_DEFAULT_VERBOSITY
Packit Service 84cb3c
  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
Packit Service 84cb3c
fi
Packit Service 84cb3c
AC_SUBST([AM_V])dnl
Packit Service 84cb3c
AM_SUBST_NOTMAKE([AM_V])dnl
Packit Service 84cb3c
AC_SUBST([AM_DEFAULT_V])dnl
Packit Service 84cb3c
AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl
Packit Service 84cb3c
AC_SUBST([AM_DEFAULT_VERBOSITY])dnl
Packit Service 84cb3c
AM_BACKSLASH='\'
Packit Service 84cb3c
AC_SUBST([AM_BACKSLASH])dnl
Packit Service 84cb3c
_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
Packit Service 84cb3c
])
Packit Service 84cb3c
Packit Service 1fe779
# Copyright (C) 2001-2018 Free Software Foundation, Inc.
Packit Service 84cb3c
#
Packit Service 84cb3c
# This file is free software; the Free Software Foundation
Packit Service 84cb3c
# gives unlimited permission to copy and/or distribute it,
Packit Service 84cb3c
# with or without modifications, as long as this notice is preserved.
Packit Service 84cb3c
Packit Service 84cb3c
# AM_PROG_INSTALL_STRIP
Packit Service 84cb3c
# ---------------------
Packit Service 84cb3c
# One issue with vendor 'install' (even GNU) is that you can't
Packit Service 84cb3c
# specify the program used to strip binaries.  This is especially
Packit Service 84cb3c
# annoying in cross-compiling environments, where the build's strip
Packit Service 84cb3c
# is unlikely to handle the host's binaries.
Packit Service 84cb3c
# Fortunately install-sh will honor a STRIPPROG variable, so we
Packit Service 84cb3c
# always use install-sh in "make install-strip", and initialize
Packit Service 84cb3c
# STRIPPROG with the value of the STRIP variable (set by the user).
Packit Service 84cb3c
AC_DEFUN([AM_PROG_INSTALL_STRIP],
Packit Service 84cb3c
[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
Packit Service 84cb3c
# Installed binaries are usually stripped using 'strip' when the user
Packit Service 84cb3c
# run "make install-strip".  However 'strip' might not be the right
Packit Service 84cb3c
# tool to use in cross-compilation environments, therefore Automake
Packit Service 84cb3c
# will honor the 'STRIP' environment variable to overrule this program.
Packit Service 84cb3c
dnl Don't test for $cross_compiling = yes, because it might be 'maybe'.
Packit Service 84cb3c
if test "$cross_compiling" != no; then
Packit Service 84cb3c
  AC_CHECK_TOOL([STRIP], [strip], :)
Packit Service 84cb3c
fi
Packit Service 84cb3c
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
Packit Service 84cb3c
AC_SUBST([INSTALL_STRIP_PROGRAM])])
Packit Service 84cb3c
Packit Service 1fe779
# Copyright (C) 2006-2018 Free Software Foundation, Inc.
Packit Service 84cb3c
#
Packit Service 84cb3c
# This file is free software; the Free Software Foundation
Packit Service 84cb3c
# gives unlimited permission to copy and/or distribute it,
Packit Service 84cb3c
# with or without modifications, as long as this notice is preserved.
Packit Service 84cb3c
Packit Service 84cb3c
# _AM_SUBST_NOTMAKE(VARIABLE)
Packit Service 84cb3c
# ---------------------------
Packit Service 84cb3c
# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
Packit Service 84cb3c
# This macro is traced by Automake.
Packit Service 84cb3c
AC_DEFUN([_AM_SUBST_NOTMAKE])
Packit Service 84cb3c
Packit Service 84cb3c
# AM_SUBST_NOTMAKE(VARIABLE)
Packit Service 84cb3c
# --------------------------
Packit Service 84cb3c
# Public sister of _AM_SUBST_NOTMAKE.
Packit Service 84cb3c
AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
Packit Service 84cb3c
Packit Service 84cb3c
# Check how to create a tarball.                            -*- Autoconf -*-
Packit Service 84cb3c
Packit Service 1fe779
# Copyright (C) 2004-2018 Free Software Foundation, Inc.
Packit Service 84cb3c
#
Packit Service 84cb3c
# This file is free software; the Free Software Foundation
Packit Service 84cb3c
# gives unlimited permission to copy and/or distribute it,
Packit Service 84cb3c
# with or without modifications, as long as this notice is preserved.
Packit Service 84cb3c
Packit Service 84cb3c
# _AM_PROG_TAR(FORMAT)
Packit Service 84cb3c
# --------------------
Packit Service 84cb3c
# Check how to create a tarball in format FORMAT.
Packit Service 84cb3c
# FORMAT should be one of 'v7', 'ustar', or 'pax'.
Packit Service 84cb3c
#
Packit Service 84cb3c
# Substitute a variable $(am__tar) that is a command
Packit Service 84cb3c
# writing to stdout a FORMAT-tarball containing the directory
Packit Service 84cb3c
# $tardir.
Packit Service 84cb3c
#     tardir=directory && $(am__tar) > result.tar
Packit Service 84cb3c
#
Packit Service 84cb3c
# Substitute a variable $(am__untar) that extract such
Packit Service 84cb3c
# a tarball read from stdin.
Packit Service 84cb3c
#     $(am__untar) < result.tar
Packit Service 84cb3c
#
Packit Service 84cb3c
AC_DEFUN([_AM_PROG_TAR],
Packit Service 84cb3c
[# Always define AMTAR for backward compatibility.  Yes, it's still used
Packit Service 84cb3c
# in the wild :-(  We should find a proper way to deprecate it ...
Packit Service 84cb3c
AC_SUBST([AMTAR], ['$${TAR-tar}'])
Packit Service 84cb3c
Packit Service 84cb3c
# We'll loop over all known methods to create a tar archive until one works.
Packit Service 84cb3c
_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
Packit Service 84cb3c
Packit Service 84cb3c
m4_if([$1], [v7],
Packit Service 84cb3c
  [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
Packit Service 84cb3c
Packit Service 84cb3c
  [m4_case([$1],
Packit Service 84cb3c
    [ustar],
Packit Service 84cb3c
     [# The POSIX 1988 'ustar' format is defined with fixed-size fields.
Packit Service 84cb3c
      # There is notably a 21 bits limit for the UID and the GID.  In fact,
Packit Service 84cb3c
      # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
Packit Service 84cb3c
      # and bug#13588).
Packit Service 84cb3c
      am_max_uid=2097151 # 2^21 - 1
Packit Service 84cb3c
      am_max_gid=$am_max_uid
Packit Service 84cb3c
      # The $UID and $GID variables are not portable, so we need to resort
Packit Service 84cb3c
      # to the POSIX-mandated id(1) utility.  Errors in the 'id' calls
Packit Service 84cb3c
      # below are definitely unexpected, so allow the users to see them
Packit Service 84cb3c
      # (that is, avoid stderr redirection).
Packit Service 84cb3c
      am_uid=`id -u || echo unknown`
Packit Service 84cb3c
      am_gid=`id -g || echo unknown`
Packit Service 84cb3c
      AC_MSG_CHECKING([whether UID '$am_uid' is supported by ustar format])
Packit Service 84cb3c
      if test $am_uid -le $am_max_uid; then
Packit Service 84cb3c
         AC_MSG_RESULT([yes])
Packit Service 84cb3c
      else
Packit Service 84cb3c
         AC_MSG_RESULT([no])
Packit Service 84cb3c
         _am_tools=none
Packit Service 84cb3c
      fi
Packit Service 84cb3c
      AC_MSG_CHECKING([whether GID '$am_gid' is supported by ustar format])
Packit Service 84cb3c
      if test $am_gid -le $am_max_gid; then
Packit Service 84cb3c
         AC_MSG_RESULT([yes])
Packit Service 84cb3c
      else
Packit Service 84cb3c
        AC_MSG_RESULT([no])
Packit Service 84cb3c
        _am_tools=none
Packit Service 84cb3c
      fi],
Packit Service 84cb3c
Packit Service 84cb3c
  [pax],
Packit Service 84cb3c
    [],
Packit Service 84cb3c
Packit Service 84cb3c
  [m4_fatal([Unknown tar format])])
Packit Service 84cb3c
Packit Service 84cb3c
  AC_MSG_CHECKING([how to create a $1 tar archive])
Packit Service 84cb3c
Packit Service 84cb3c
  # Go ahead even if we have the value already cached.  We do so because we
Packit Service 84cb3c
  # need to set the values for the 'am__tar' and 'am__untar' variables.
Packit Service 84cb3c
  _am_tools=${am_cv_prog_tar_$1-$_am_tools}
Packit Service 84cb3c
Packit Service 84cb3c
  for _am_tool in $_am_tools; do
Packit Service 84cb3c
    case $_am_tool in
Packit Service 84cb3c
    gnutar)
Packit Service 84cb3c
      for _am_tar in tar gnutar gtar; do
Packit Service 84cb3c
        AM_RUN_LOG([$_am_tar --version]) && break
Packit Service 84cb3c
      done
Packit Service 84cb3c
      am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
Packit Service 84cb3c
      am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
Packit Service 84cb3c
      am__untar="$_am_tar -xf -"
Packit Service 84cb3c
      ;;
Packit Service 84cb3c
    plaintar)
Packit Service 84cb3c
      # Must skip GNU tar: if it does not support --format= it doesn't create
Packit Service 84cb3c
      # ustar tarball either.
Packit Service 84cb3c
      (tar --version) >/dev/null 2>&1 && continue
Packit Service 84cb3c
      am__tar='tar chf - "$$tardir"'
Packit Service 84cb3c
      am__tar_='tar chf - "$tardir"'
Packit Service 84cb3c
      am__untar='tar xf -'
Packit Service 84cb3c
      ;;
Packit Service 84cb3c
    pax)
Packit Service 84cb3c
      am__tar='pax -L -x $1 -w "$$tardir"'
Packit Service 84cb3c
      am__tar_='pax -L -x $1 -w "$tardir"'
Packit Service 84cb3c
      am__untar='pax -r'
Packit Service 84cb3c
      ;;
Packit Service 84cb3c
    cpio)
Packit Service 84cb3c
      am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
Packit Service 84cb3c
      am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
Packit Service 84cb3c
      am__untar='cpio -i -H $1 -d'
Packit Service 84cb3c
      ;;
Packit Service 84cb3c
    none)
Packit Service 84cb3c
      am__tar=false
Packit Service 84cb3c
      am__tar_=false
Packit Service 84cb3c
      am__untar=false
Packit Service 84cb3c
      ;;
Packit Service 84cb3c
    esac
Packit Service 84cb3c
Packit Service 84cb3c
    # If the value was cached, stop now.  We just wanted to have am__tar
Packit Service 84cb3c
    # and am__untar set.
Packit Service 84cb3c
    test -n "${am_cv_prog_tar_$1}" && break
Packit Service 84cb3c
Packit Service 84cb3c
    # tar/untar a dummy directory, and stop if the command works.
Packit Service 84cb3c
    rm -rf conftest.dir
Packit Service 84cb3c
    mkdir conftest.dir
Packit Service 84cb3c
    echo GrepMe > conftest.dir/file
Packit Service 84cb3c
    AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
Packit Service 84cb3c
    rm -rf conftest.dir
Packit Service 84cb3c
    if test -s conftest.tar; then
Packit Service 84cb3c
      AM_RUN_LOG([$am__untar 
Packit Service 84cb3c
      AM_RUN_LOG([cat conftest.dir/file])
Packit Service 84cb3c
      grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
Packit Service 84cb3c
    fi
Packit Service 84cb3c
  done
Packit Service 84cb3c
  rm -rf conftest.dir
Packit Service 84cb3c
Packit Service 84cb3c
  AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
Packit Service 84cb3c
  AC_MSG_RESULT([$am_cv_prog_tar_$1])])
Packit Service 84cb3c
Packit Service 84cb3c
AC_SUBST([am__tar])
Packit Service 84cb3c
AC_SUBST([am__untar])
Packit Service 84cb3c
]) # _AM_PROG_TAR
Packit Service 84cb3c
Packit Service 84cb3c
m4_include([m4/intltool.m4])
Packit Service 84cb3c
m4_include([m4/jh_path_xml_catalog.m4])