Blame config/gnulib-comp.m4

Packit Service 96b5d3
# DO NOT EDIT! GENERATED AUTOMATICALLY!
Packit Service 96b5d3
# Copyright (C) 2002-2016 Free Software Foundation, Inc.
Packit Service 96b5d3
#
Packit Service 96b5d3
# This file is free software; you can redistribute it and/or modify
Packit Service 96b5d3
# it under the terms of the GNU General Public License as published by
Packit Service 96b5d3
# the Free Software Foundation; either version 3 of the License, or
Packit Service 96b5d3
# (at your option) any later version.
Packit Service 96b5d3
#
Packit Service 96b5d3
# This file is distributed in the hope that it will be useful,
Packit Service 96b5d3
# but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit Service 96b5d3
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
Packit Service 96b5d3
# GNU General Public License for more details.
Packit Service 96b5d3
#
Packit Service 96b5d3
# You should have received a copy of the GNU General Public License
Packit Service 96b5d3
# along with this file.  If not, see <http://www.gnu.org/licenses/>.
Packit Service 96b5d3
#
Packit Service 96b5d3
# As a special exception to the GNU General Public License,
Packit Service 96b5d3
# this file may be distributed as part of a program that
Packit Service 96b5d3
# contains a configuration script generated by Autoconf, under
Packit Service 96b5d3
# the same distribution terms as the rest of that program.
Packit Service 96b5d3
#
Packit Service 96b5d3
# Generated by gnulib-tool.
Packit Service 96b5d3
#
Packit Service 96b5d3
# This file represents the compiled summary of the specification in
Packit Service 96b5d3
# gnulib-cache.m4. It lists the computed macro invocations that need
Packit Service 96b5d3
# to be invoked from configure.ac.
Packit Service 96b5d3
# In projects that use version control, this file can be treated like
Packit Service 96b5d3
# other built files.
Packit Service 96b5d3
Packit Service 96b5d3
Packit Service 96b5d3
# This macro should be invoked from ./configure.ac, in the section
Packit Service 96b5d3
# "Checks for programs", right after AC_PROG_CC, and certainly before
Packit Service 96b5d3
# any checks for libraries, header files, types and library functions.
Packit Service 96b5d3
AC_DEFUN([gl_EARLY],
Packit Service 96b5d3
[
Packit Service 96b5d3
  m4_pattern_forbid([^gl_[A-Z]])dnl the gnulib macro namespace
Packit Service 96b5d3
  m4_pattern_allow([^gl_ES$])dnl a valid locale name
Packit Service 96b5d3
  m4_pattern_allow([^gl_LIBOBJS$])dnl a variable
Packit Service 96b5d3
  m4_pattern_allow([^gl_LTLIBOBJS$])dnl a variable
Packit Service 96b5d3
Packit Service 96b5d3
  # Pre-early section.
Packit Service 96b5d3
  AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
Packit Service 96b5d3
  AC_REQUIRE([gl_PROG_AR_RANLIB])
Packit Service 96b5d3
Packit Service 96b5d3
  # Code from module extensions:
Packit Service 96b5d3
  # Code from module gendocs:
Packit Service 96b5d3
  # Code from module gettext-h:
Packit Service 96b5d3
  # Code from module intprops:
Packit Service 96b5d3
  # Code from module parse-duration:
Packit Service 96b5d3
  # Code from module snippet/_Noreturn:
Packit Service 96b5d3
  # Code from module stdnoreturn:
Packit Service 96b5d3
  # Code from module verify:
Packit Service 96b5d3
])
Packit Service 96b5d3
Packit Service 96b5d3
# This macro should be invoked from ./configure.ac, in the section
Packit Service 96b5d3
# "Check for header files, types and library functions".
Packit Service 96b5d3
AC_DEFUN([gl_INIT],
Packit Service 96b5d3
[
Packit Service 96b5d3
  AM_CONDITIONAL([GL_COND_LIBTOOL], [true])
Packit Service 96b5d3
  gl_cond_libtool=true
Packit Service 96b5d3
  gl_m4_base='config'
Packit Service 96b5d3
  m4_pushdef([AC_LIBOBJ], m4_defn([gl_LIBOBJ]))
Packit Service 96b5d3
  m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gl_REPLACE_FUNCS]))
Packit Service 96b5d3
  m4_pushdef([AC_LIBSOURCES], m4_defn([gl_LIBSOURCES]))
Packit Service 96b5d3
  m4_pushdef([gl_LIBSOURCES_LIST], [])
Packit Service 96b5d3
  m4_pushdef([gl_LIBSOURCES_DIR], [])
Packit Service 96b5d3
  gl_COMMON
Packit Service 96b5d3
  gl_source_base='autoopts'
Packit Service 96b5d3
  AC_SUBST([LIBINTL])
Packit Service 96b5d3
  AC_SUBST([LTLIBINTL])
Packit Service 96b5d3
  gl_STDNORETURN_H
Packit Service 96b5d3
  # End of code from modules
Packit Service 96b5d3
  m4_ifval(gl_LIBSOURCES_LIST, [
Packit Service 96b5d3
    m4_syscmd([test ! -d ]m4_defn([gl_LIBSOURCES_DIR])[ ||
Packit Service 96b5d3
      for gl_file in ]gl_LIBSOURCES_LIST[ ; do
Packit Service 96b5d3
        if test ! -r ]m4_defn([gl_LIBSOURCES_DIR])[/$gl_file ; then
Packit Service 96b5d3
          echo "missing file ]m4_defn([gl_LIBSOURCES_DIR])[/$gl_file" >&2
Packit Service 96b5d3
          exit 1
Packit Service 96b5d3
        fi
Packit Service 96b5d3
      done])dnl
Packit Service 96b5d3
      m4_if(m4_sysval, [0], [],
Packit Service 96b5d3
        [AC_FATAL([expected source file, required through AC_LIBSOURCES, not found])])
Packit Service 96b5d3
  ])
Packit Service 96b5d3
  m4_popdef([gl_LIBSOURCES_DIR])
Packit Service 96b5d3
  m4_popdef([gl_LIBSOURCES_LIST])
Packit Service 96b5d3
  m4_popdef([AC_LIBSOURCES])
Packit Service 96b5d3
  m4_popdef([AC_REPLACE_FUNCS])
Packit Service 96b5d3
  m4_popdef([AC_LIBOBJ])
Packit Service 96b5d3
  AC_CONFIG_COMMANDS_PRE([
Packit Service 96b5d3
    gl_libobjs=
Packit Service 96b5d3
    gl_ltlibobjs=
Packit Service 96b5d3
    if test -n "$gl_LIBOBJS"; then
Packit Service 96b5d3
      # Remove the extension.
Packit Service 96b5d3
      sed_drop_objext='s/\.o$//;s/\.obj$//'
Packit Service 96b5d3
      for i in `for i in $gl_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do
Packit Service 96b5d3
        gl_libobjs="$gl_libobjs $i.$ac_objext"
Packit Service 96b5d3
        gl_ltlibobjs="$gl_ltlibobjs $i.lo"
Packit Service 96b5d3
      done
Packit Service 96b5d3
    fi
Packit Service 96b5d3
    AC_SUBST([gl_LIBOBJS], [$gl_libobjs])
Packit Service 96b5d3
    AC_SUBST([gl_LTLIBOBJS], [$gl_ltlibobjs])
Packit Service 96b5d3
  ])
Packit Service 96b5d3
  gltests_libdeps=
Packit Service 96b5d3
  gltests_ltlibdeps=
Packit Service 96b5d3
  m4_pushdef([AC_LIBOBJ], m4_defn([gltests_LIBOBJ]))
Packit Service 96b5d3
  m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gltests_REPLACE_FUNCS]))
Packit Service 96b5d3
  m4_pushdef([AC_LIBSOURCES], m4_defn([gltests_LIBSOURCES]))
Packit Service 96b5d3
  m4_pushdef([gltests_LIBSOURCES_LIST], [])
Packit Service 96b5d3
  m4_pushdef([gltests_LIBSOURCES_DIR], [])
Packit Service 96b5d3
  gl_COMMON
Packit Service 96b5d3
  gl_source_base='tests'
Packit Service 96b5d3
changequote(,)dnl
Packit Service 96b5d3
  gltests_WITNESS=IN_`echo "${PACKAGE-$PACKAGE_TARNAME}" | LC_ALL=C tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ | LC_ALL=C sed -e 's/[^A-Z0-9_]/_/g'`_GNULIB_TESTS
Packit Service 96b5d3
changequote([, ])dnl
Packit Service 96b5d3
  AC_SUBST([gltests_WITNESS])
Packit Service 96b5d3
  gl_module_indicator_condition=$gltests_WITNESS
Packit Service 96b5d3
  m4_pushdef([gl_MODULE_INDICATOR_CONDITION], [$gl_module_indicator_condition])
Packit Service 96b5d3
  m4_popdef([gl_MODULE_INDICATOR_CONDITION])
Packit Service 96b5d3
  m4_ifval(gltests_LIBSOURCES_LIST, [
Packit Service 96b5d3
    m4_syscmd([test ! -d ]m4_defn([gltests_LIBSOURCES_DIR])[ ||
Packit Service 96b5d3
      for gl_file in ]gltests_LIBSOURCES_LIST[ ; do
Packit Service 96b5d3
        if test ! -r ]m4_defn([gltests_LIBSOURCES_DIR])[/$gl_file ; then
Packit Service 96b5d3
          echo "missing file ]m4_defn([gltests_LIBSOURCES_DIR])[/$gl_file" >&2
Packit Service 96b5d3
          exit 1
Packit Service 96b5d3
        fi
Packit Service 96b5d3
      done])dnl
Packit Service 96b5d3
      m4_if(m4_sysval, [0], [],
Packit Service 96b5d3
        [AC_FATAL([expected source file, required through AC_LIBSOURCES, not found])])
Packit Service 96b5d3
  ])
Packit Service 96b5d3
  m4_popdef([gltests_LIBSOURCES_DIR])
Packit Service 96b5d3
  m4_popdef([gltests_LIBSOURCES_LIST])
Packit Service 96b5d3
  m4_popdef([AC_LIBSOURCES])
Packit Service 96b5d3
  m4_popdef([AC_REPLACE_FUNCS])
Packit Service 96b5d3
  m4_popdef([AC_LIBOBJ])
Packit Service 96b5d3
  AC_CONFIG_COMMANDS_PRE([
Packit Service 96b5d3
    gltests_libobjs=
Packit Service 96b5d3
    gltests_ltlibobjs=
Packit Service 96b5d3
    if test -n "$gltests_LIBOBJS"; then
Packit Service 96b5d3
      # Remove the extension.
Packit Service 96b5d3
      sed_drop_objext='s/\.o$//;s/\.obj$//'
Packit Service 96b5d3
      for i in `for i in $gltests_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do
Packit Service 96b5d3
        gltests_libobjs="$gltests_libobjs $i.$ac_objext"
Packit Service 96b5d3
        gltests_ltlibobjs="$gltests_ltlibobjs $i.lo"
Packit Service 96b5d3
      done
Packit Service 96b5d3
    fi
Packit Service 96b5d3
    AC_SUBST([gltests_LIBOBJS], [$gltests_libobjs])
Packit Service 96b5d3
    AC_SUBST([gltests_LTLIBOBJS], [$gltests_ltlibobjs])
Packit Service 96b5d3
  ])
Packit Service 96b5d3
])
Packit Service 96b5d3
Packit Service 96b5d3
# Like AC_LIBOBJ, except that the module name goes
Packit Service 96b5d3
# into gl_LIBOBJS instead of into LIBOBJS.
Packit Service 96b5d3
AC_DEFUN([gl_LIBOBJ], [
Packit Service 96b5d3
  AS_LITERAL_IF([$1], [gl_LIBSOURCES([$1.c])])dnl
Packit Service 96b5d3
  gl_LIBOBJS="$gl_LIBOBJS $1.$ac_objext"
Packit Service 96b5d3
])
Packit Service 96b5d3
Packit Service 96b5d3
# Like AC_REPLACE_FUNCS, except that the module name goes
Packit Service 96b5d3
# into gl_LIBOBJS instead of into LIBOBJS.
Packit Service 96b5d3
AC_DEFUN([gl_REPLACE_FUNCS], [
Packit Service 96b5d3
  m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl
Packit Service 96b5d3
  AC_CHECK_FUNCS([$1], , [gl_LIBOBJ($ac_func)])
Packit Service 96b5d3
])
Packit Service 96b5d3
Packit Service 96b5d3
# Like AC_LIBSOURCES, except the directory where the source file is
Packit Service 96b5d3
# expected is derived from the gnulib-tool parameterization,
Packit Service 96b5d3
# and alloca is special cased (for the alloca-opt module).
Packit Service 96b5d3
# We could also entirely rely on EXTRA_lib..._SOURCES.
Packit Service 96b5d3
AC_DEFUN([gl_LIBSOURCES], [
Packit Service 96b5d3
  m4_foreach([_gl_NAME], [$1], [
Packit Service 96b5d3
    m4_if(_gl_NAME, [alloca.c], [], [
Packit Service 96b5d3
      m4_define([gl_LIBSOURCES_DIR], [autoopts])
Packit Service 96b5d3
      m4_append([gl_LIBSOURCES_LIST], _gl_NAME, [ ])
Packit Service 96b5d3
    ])
Packit Service 96b5d3
  ])
Packit Service 96b5d3
])
Packit Service 96b5d3
Packit Service 96b5d3
# Like AC_LIBOBJ, except that the module name goes
Packit Service 96b5d3
# into gltests_LIBOBJS instead of into LIBOBJS.
Packit Service 96b5d3
AC_DEFUN([gltests_LIBOBJ], [
Packit Service 96b5d3
  AS_LITERAL_IF([$1], [gltests_LIBSOURCES([$1.c])])dnl
Packit Service 96b5d3
  gltests_LIBOBJS="$gltests_LIBOBJS $1.$ac_objext"
Packit Service 96b5d3
])
Packit Service 96b5d3
Packit Service 96b5d3
# Like AC_REPLACE_FUNCS, except that the module name goes
Packit Service 96b5d3
# into gltests_LIBOBJS instead of into LIBOBJS.
Packit Service 96b5d3
AC_DEFUN([gltests_REPLACE_FUNCS], [
Packit Service 96b5d3
  m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl
Packit Service 96b5d3
  AC_CHECK_FUNCS([$1], , [gltests_LIBOBJ($ac_func)])
Packit Service 96b5d3
])
Packit Service 96b5d3
Packit Service 96b5d3
# Like AC_LIBSOURCES, except the directory where the source file is
Packit Service 96b5d3
# expected is derived from the gnulib-tool parameterization,
Packit Service 96b5d3
# and alloca is special cased (for the alloca-opt module).
Packit Service 96b5d3
# We could also entirely rely on EXTRA_lib..._SOURCES.
Packit Service 96b5d3
AC_DEFUN([gltests_LIBSOURCES], [
Packit Service 96b5d3
  m4_foreach([_gl_NAME], [$1], [
Packit Service 96b5d3
    m4_if(_gl_NAME, [alloca.c], [], [
Packit Service 96b5d3
      m4_define([gltests_LIBSOURCES_DIR], [tests])
Packit Service 96b5d3
      m4_append([gltests_LIBSOURCES_LIST], _gl_NAME, [ ])
Packit Service 96b5d3
    ])
Packit Service 96b5d3
  ])
Packit Service 96b5d3
])
Packit Service 96b5d3
Packit Service 96b5d3
# This macro records the list of files which have been installed by
Packit Service 96b5d3
# gnulib-tool and may be removed by future gnulib-tool invocations.
Packit Service 96b5d3
AC_DEFUN([gl_FILE_LIST], [
Packit Service 96b5d3
  build-aux/gendocs.sh
Packit Service 96b5d3
  build-aux/snippet/_Noreturn.h
Packit Service 96b5d3
  doc/gendocs_template
Packit Service 96b5d3
  doc/gendocs_template_min
Packit Service 96b5d3
  lib/gettext.h
Packit Service 96b5d3
  lib/intprops.h
Packit Service 96b5d3
  lib/parse-duration.c
Packit Service 96b5d3
  lib/parse-duration.h
Packit Service 96b5d3
  lib/stdnoreturn.in.h
Packit Service 96b5d3
  lib/verify.h
Packit Service 96b5d3
  m4/00gnulib.m4
Packit Service 96b5d3
  m4/extensions.m4
Packit Service 96b5d3
  m4/gnulib-common.m4
Packit Service 96b5d3
  m4/onceonly.m4
Packit Service 96b5d3
  m4/stdnoreturn.m4
Packit Service 96b5d3
])