# DO NOT EDIT! GENERATED AUTOMATICALLY! # Copyright (C) 2002-2019 Free Software Foundation, Inc. # # This file is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3 of the License, or # (at your option) any later version. # # This file is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this file. If not, see . # # As a special exception to the GNU General Public License, # this file may be distributed as part of a program that # contains a configuration script generated by Autoconf, under # the same distribution terms as the rest of that program. # # Generated by gnulib-tool. # # This file represents the compiled summary of the specification in # gnulib-cache.m4. It lists the computed macro invocations that need # to be invoked from configure.ac. # In projects that use version control, this file can be treated like # other built files. # This macro should be invoked from ./configure.ac, in the section # "Checks for programs", right after AC_PROG_CC, and certainly before # any checks for libraries, header files, types and library functions. AC_DEFUN([unistring_EARLY], [ m4_pattern_forbid([^gl_[A-Z]])dnl the gnulib macro namespace m4_pattern_allow([^gl_ES$])dnl a valid locale name m4_pattern_allow([^gl_LIBOBJS$])dnl a variable m4_pattern_allow([^gl_LTLIBOBJS$])dnl a variable # Pre-early section. AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) AC_REQUIRE([gl_PROG_AR_RANLIB]) AC_REQUIRE([AM_PROG_CC_C_O]) # Code from module absolute-header: # Code from module alloca-opt: # Code from module array-mergesort: # Code from module c-ctype: # Code from module c-strcase: # Code from module c-strcaseeq: # Code from module extensions: # Code from module extern-inline: # Code from module gperf: # Code from module havelib: # Code from module iconv: # Code from module iconv-h: # Code from module iconv_open: # Code from module include_next: # Code from module inline: # Code from module libunistring: # Code from module limits-h: # Code from module localcharset: # Code from module malloca: # Code from module multiarch: # Code from module snippet/arg-nonnull: # Code from module snippet/c++defs: # Code from module snippet/unused-parameter: # Code from module snippet/warn-on-use: # Code from module ssize_t: # Code from module stdbool: # Code from module stdint: # Code from module striconveh: # Code from module striconveha: # Code from module sys_types: # Code from module uniconv/base: # Code from module uniconv/u8-conv-from-enc: # Code from module uniconv/u8-strconv-from-enc: # Code from module uniconv/u8-strconv-from-locale: # Code from module uniconv/u8-strconv-to-enc: # Code from module uniconv/u8-strconv-to-locale: # Code from module unictype/base: # Code from module unictype/bidiclass-of: # Code from module unictype/category-M: # Code from module unictype/category-none: # Code from module unictype/category-of: # Code from module unictype/category-test: # Code from module unictype/category-test-withtable: # Code from module unictype/combining-class: # Code from module unictype/joiningtype-of: # Code from module unictype/scripts: # Code from module uninorm/base: # Code from module uninorm/canonical-decomposition: # Code from module uninorm/composition: # Code from module uninorm/decompose-internal: # Code from module uninorm/decomposition-table: # Code from module uninorm/nfc: # Code from module uninorm/nfd: # Code from module uninorm/u32-normalize: # Code from module unistr/base: # Code from module unistr/u32-cpy: # Code from module unistr/u32-cpy-alloc: # Code from module unistr/u32-mbtouc-unsafe: # Code from module unistr/u32-strlen: # Code from module unistr/u32-to-u8: # Code from module unistr/u32-uctomb: # Code from module unistr/u8-check: # Code from module unistr/u8-mblen: # Code from module unistr/u8-mbtouc: # Code from module unistr/u8-mbtouc-unsafe: # Code from module unistr/u8-mbtoucr: # Code from module unistr/u8-prev: # Code from module unistr/u8-strlen: # Code from module unistr/u8-to-u32: # Code from module unistr/u8-uctomb: # Code from module unitypes: # Code from module verify: # Code from module xalloc-oversized: ]) # This macro should be invoked from ./configure.ac, in the section # "Check for header files, types and library functions". AC_DEFUN([unistring_INIT], [ AM_CONDITIONAL([GL_COND_LIBTOOL], [true]) gl_cond_libtool=true gl_m4_base='unistring/m4' m4_pushdef([AC_LIBOBJ], m4_defn([unistring_LIBOBJ])) m4_pushdef([AC_REPLACE_FUNCS], m4_defn([unistring_REPLACE_FUNCS])) m4_pushdef([AC_LIBSOURCES], m4_defn([unistring_LIBSOURCES])) m4_pushdef([unistring_LIBSOURCES_LIST], []) m4_pushdef([unistring_LIBSOURCES_DIR], []) gl_COMMON gl_source_base='unistring' gl_FUNC_ALLOCA AC_REQUIRE([gl_EXTERN_INLINE]) AM_ICONV m4_ifdef([gl_ICONV_MODULE_INDICATOR], [gl_ICONV_MODULE_INDICATOR([iconv])]) gl_ICONV_H gl_FUNC_ICONV_OPEN if test $REPLACE_ICONV_OPEN = 1; then AC_LIBOBJ([iconv_open]) fi if test $REPLACE_ICONV = 1; then AC_LIBOBJ([iconv]) AC_LIBOBJ([iconv_close]) fi gl_INLINE gl_LIBUNISTRING gl_LIMITS_H gl_LOCALCHARSET dnl For backward compatibility. Some packages still use this. LOCALCHARSET_TESTS_ENVIRONMENT= AC_SUBST([LOCALCHARSET_TESTS_ENVIRONMENT]) gl_MALLOCA gl_MULTIARCH gt_TYPE_SSIZE_T AM_STDBOOL_H gl_STDINT_H if test $gl_cond_libtool = false; then gl_ltlibdeps="$gl_ltlibdeps $LTLIBICONV" gl_libdeps="$gl_libdeps $LIBICONV" fi gl_SYS_TYPES_H AC_PROG_MKDIR_P gl_LIBUNISTRING_LIBHEADER([0.9.4], [uniconv.h]) gl_LIBUNISTRING_MODULE([0.9], [uniconv/u8-conv-from-enc]) gl_LIBUNISTRING_MODULE([0.9], [uniconv/u8-strconv-from-enc]) gl_LIBUNISTRING_MODULE([0.9], [uniconv/u8-strconv-from-locale]) gl_LIBUNISTRING_MODULE([0.9], [uniconv/u8-strconv-to-enc]) gl_LIBUNISTRING_MODULE([0.9], [uniconv/u8-strconv-to-locale]) gl_LIBUNISTRING_LIBHEADER([0.9.4], [unictype.h]) gl_LIBUNISTRING_MODULE([0.9.8], [unictype/bidiclass-of]) gl_LIBUNISTRING_MODULE([0.9.8], [unictype/category-M]) gl_LIBUNISTRING_MODULE([0.9.8], [unictype/category-none]) AC_REQUIRE([AC_C_INLINE]) gl_LIBUNISTRING_MODULE([0.9.8], [unictype/category-of]) AC_REQUIRE([AC_C_INLINE]) gl_LIBUNISTRING_MODULE([0.9.8], [unictype/category-test]) gl_LIBUNISTRING_MODULE([0.9.8], [unictype/combining-class]) gl_LIBUNISTRING_MODULE([0.9.8], [unictype/joiningtype-of]) gl_LIBUNISTRING_MODULE([0.9.8], [unictype/scripts]) gl_LIBUNISTRING_LIBHEADER([0.9.4], [uninorm.h]) gl_LIBUNISTRING_MODULE([0.9.8], [uninorm/canonical-decomposition]) gl_LIBUNISTRING_MODULE([0.9.8], [uninorm/composition]) AC_REQUIRE([AC_C_INLINE]) gl_LIBUNISTRING_MODULE([0.9.8], [uninorm/nfc]) gl_LIBUNISTRING_MODULE([0.9.8], [uninorm/nfd]) gl_MODULE_INDICATOR_FOR_TESTS([uninorm/u32-normalize]) gl_LIBUNISTRING_MODULE([0.9.8], [uninorm/u32-normalize]) gl_LIBUNISTRING_LIBHEADER([0.9.4], [unistr.h]) gl_LIBUNISTRING_MODULE([0.9], [unistr/u32-cpy]) gl_LIBUNISTRING_MODULE([0.9], [unistr/u32-cpy-alloc]) gl_MODULE_INDICATOR([unistr/u32-mbtouc-unsafe]) gl_LIBUNISTRING_MODULE([0.9], [unistr/u32-mbtouc-unsafe]) gl_LIBUNISTRING_MODULE([0.9], [unistr/u32-strlen]) gl_LIBUNISTRING_MODULE([0.9], [unistr/u32-to-u8]) gl_MODULE_INDICATOR([unistr/u32-uctomb]) gl_LIBUNISTRING_MODULE([0.9], [unistr/u32-uctomb]) gl_LIBUNISTRING_MODULE([0.9], [unistr/u8-check]) gl_LIBUNISTRING_MODULE([0.9], [unistr/u8-mblen]) gl_MODULE_INDICATOR([unistr/u8-mbtouc]) gl_LIBUNISTRING_MODULE([0.9.4], [unistr/u8-mbtouc]) gl_MODULE_INDICATOR([unistr/u8-mbtouc-unsafe]) gl_LIBUNISTRING_MODULE([0.9.4], [unistr/u8-mbtouc-unsafe]) gl_MODULE_INDICATOR([unistr/u8-mbtoucr]) gl_LIBUNISTRING_MODULE([0.9], [unistr/u8-mbtoucr]) gl_LIBUNISTRING_MODULE([0.9], [unistr/u8-prev]) gl_LIBUNISTRING_MODULE([0.9], [unistr/u8-strlen]) gl_LIBUNISTRING_MODULE([0.9.3], [unistr/u8-to-u32]) gl_MODULE_INDICATOR([unistr/u8-uctomb]) gl_LIBUNISTRING_MODULE([0.9], [unistr/u8-uctomb]) gl_LIBUNISTRING_LIBHEADER([0.9.4], [unitypes.h]) # End of code from modules m4_ifval(unistring_LIBSOURCES_LIST, [ m4_syscmd([test ! -d ]m4_defn([unistring_LIBSOURCES_DIR])[ || for gl_file in ]unistring_LIBSOURCES_LIST[ ; do if test ! -r ]m4_defn([unistring_LIBSOURCES_DIR])[/$gl_file ; then echo "missing file ]m4_defn([unistring_LIBSOURCES_DIR])[/$gl_file" >&2 exit 1 fi done])dnl m4_if(m4_sysval, [0], [], [AC_FATAL([expected source file, required through AC_LIBSOURCES, not found])]) ]) m4_popdef([unistring_LIBSOURCES_DIR]) m4_popdef([unistring_LIBSOURCES_LIST]) m4_popdef([AC_LIBSOURCES]) m4_popdef([AC_REPLACE_FUNCS]) m4_popdef([AC_LIBOBJ]) AC_CONFIG_COMMANDS_PRE([ unistring_libobjs= unistring_ltlibobjs= if test -n "$unistring_LIBOBJS"; then # Remove the extension. sed_drop_objext='s/\.o$//;s/\.obj$//' for i in `for i in $unistring_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do unistring_libobjs="$unistring_libobjs $i.$ac_objext" unistring_ltlibobjs="$unistring_ltlibobjs $i.lo" done fi AC_SUBST([unistring_LIBOBJS], [$unistring_libobjs]) AC_SUBST([unistring_LTLIBOBJS], [$unistring_ltlibobjs]) ]) gltests_libdeps= gltests_ltlibdeps= m4_pushdef([AC_LIBOBJ], m4_defn([unistringtests_LIBOBJ])) m4_pushdef([AC_REPLACE_FUNCS], m4_defn([unistringtests_REPLACE_FUNCS])) m4_pushdef([AC_LIBSOURCES], m4_defn([unistringtests_LIBSOURCES])) m4_pushdef([unistringtests_LIBSOURCES_LIST], []) m4_pushdef([unistringtests_LIBSOURCES_DIR], []) gl_COMMON gl_source_base='tests' changequote(,)dnl unistringtests_WITNESS=IN_`echo "${PACKAGE-$PACKAGE_TARNAME}" | LC_ALL=C tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ | LC_ALL=C sed -e 's/[^A-Z0-9_]/_/g'`_GNULIB_TESTS changequote([, ])dnl AC_SUBST([unistringtests_WITNESS]) gl_module_indicator_condition=$unistringtests_WITNESS m4_pushdef([gl_MODULE_INDICATOR_CONDITION], [$gl_module_indicator_condition]) m4_popdef([gl_MODULE_INDICATOR_CONDITION]) m4_ifval(unistringtests_LIBSOURCES_LIST, [ m4_syscmd([test ! -d ]m4_defn([unistringtests_LIBSOURCES_DIR])[ || for gl_file in ]unistringtests_LIBSOURCES_LIST[ ; do if test ! -r ]m4_defn([unistringtests_LIBSOURCES_DIR])[/$gl_file ; then echo "missing file ]m4_defn([unistringtests_LIBSOURCES_DIR])[/$gl_file" >&2 exit 1 fi done])dnl m4_if(m4_sysval, [0], [], [AC_FATAL([expected source file, required through AC_LIBSOURCES, not found])]) ]) m4_popdef([unistringtests_LIBSOURCES_DIR]) m4_popdef([unistringtests_LIBSOURCES_LIST]) m4_popdef([AC_LIBSOURCES]) m4_popdef([AC_REPLACE_FUNCS]) m4_popdef([AC_LIBOBJ]) AC_CONFIG_COMMANDS_PRE([ unistringtests_libobjs= unistringtests_ltlibobjs= if test -n "$unistringtests_LIBOBJS"; then # Remove the extension. sed_drop_objext='s/\.o$//;s/\.obj$//' for i in `for i in $unistringtests_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do unistringtests_libobjs="$unistringtests_libobjs $i.$ac_objext" unistringtests_ltlibobjs="$unistringtests_ltlibobjs $i.lo" done fi AC_SUBST([unistringtests_LIBOBJS], [$unistringtests_libobjs]) AC_SUBST([unistringtests_LTLIBOBJS], [$unistringtests_ltlibobjs]) ]) ]) # Like AC_LIBOBJ, except that the module name goes # into unistring_LIBOBJS instead of into LIBOBJS. AC_DEFUN([unistring_LIBOBJ], [ AS_LITERAL_IF([$1], [unistring_LIBSOURCES([$1.c])])dnl unistring_LIBOBJS="$unistring_LIBOBJS $1.$ac_objext" ]) # Like AC_REPLACE_FUNCS, except that the module name goes # into unistring_LIBOBJS instead of into LIBOBJS. AC_DEFUN([unistring_REPLACE_FUNCS], [ m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl AC_CHECK_FUNCS([$1], , [unistring_LIBOBJ($ac_func)]) ]) # Like AC_LIBSOURCES, except the directory where the source file is # expected is derived from the gnulib-tool parameterization, # and alloca is special cased (for the alloca-opt module). # We could also entirely rely on EXTRA_lib..._SOURCES. AC_DEFUN([unistring_LIBSOURCES], [ m4_foreach([_gl_NAME], [$1], [ m4_if(_gl_NAME, [alloca.c], [], [ m4_define([unistring_LIBSOURCES_DIR], [unistring]) m4_append([unistring_LIBSOURCES_LIST], _gl_NAME, [ ]) ]) ]) ]) # Like AC_LIBOBJ, except that the module name goes # into unistringtests_LIBOBJS instead of into LIBOBJS. AC_DEFUN([unistringtests_LIBOBJ], [ AS_LITERAL_IF([$1], [unistringtests_LIBSOURCES([$1.c])])dnl unistringtests_LIBOBJS="$unistringtests_LIBOBJS $1.$ac_objext" ]) # Like AC_REPLACE_FUNCS, except that the module name goes # into unistringtests_LIBOBJS instead of into LIBOBJS. AC_DEFUN([unistringtests_REPLACE_FUNCS], [ m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl AC_CHECK_FUNCS([$1], , [unistringtests_LIBOBJ($ac_func)]) ]) # Like AC_LIBSOURCES, except the directory where the source file is # expected is derived from the gnulib-tool parameterization, # and alloca is special cased (for the alloca-opt module). # We could also entirely rely on EXTRA_lib..._SOURCES. AC_DEFUN([unistringtests_LIBSOURCES], [ m4_foreach([_gl_NAME], [$1], [ m4_if(_gl_NAME, [alloca.c], [], [ m4_define([unistringtests_LIBSOURCES_DIR], [tests]) m4_append([unistringtests_LIBSOURCES_LIST], _gl_NAME, [ ]) ]) ]) ]) # This macro records the list of files which have been installed by # gnulib-tool and may be removed by future gnulib-tool invocations. AC_DEFUN([unistring_FILE_LIST], [ build-aux/config.rpath lib/alloca.in.h lib/arg-nonnull.h lib/array-mergesort.h lib/c++defs.h lib/c-ctype.c lib/c-ctype.h lib/c-strcase.h lib/c-strcasecmp.c lib/c-strcaseeq.h lib/c-strncasecmp.c lib/iconv.c lib/iconv.in.h lib/iconv_close.c lib/iconv_open-aix.gperf lib/iconv_open-hpux.gperf lib/iconv_open-irix.gperf lib/iconv_open-osf.gperf lib/iconv_open-solaris.gperf lib/iconv_open.c lib/iconveh.h lib/libunistring.valgrind lib/limits.in.h lib/localcharset.c lib/localcharset.h lib/malloca.c lib/malloca.h lib/stdbool.in.h lib/stdint.in.h lib/striconveh.c lib/striconveh.h lib/striconveha.c lib/striconveha.h lib/sys_types.in.h lib/uniconv.in.h lib/uniconv/u-strconv-from-enc.h lib/uniconv/u8-conv-from-enc.c lib/uniconv/u8-strconv-from-enc.c lib/uniconv/u8-strconv-from-locale.c lib/uniconv/u8-strconv-to-enc.c lib/uniconv/u8-strconv-to-locale.c lib/unictype.in.h lib/unictype/bidi_of.c lib/unictype/bidi_of.h lib/unictype/bitmap.h lib/unictype/categ_M.c lib/unictype/categ_M.h lib/unictype/categ_none.c lib/unictype/categ_of.c lib/unictype/categ_of.h lib/unictype/categ_test.c lib/unictype/combiningclass.c lib/unictype/combiningclass.h lib/unictype/joiningtype_of.c lib/unictype/joiningtype_of.h lib/unictype/scripts.c lib/unictype/scripts.h lib/unictype/scripts_byname.gperf lib/uninorm.in.h lib/uninorm/canonical-decomposition.c lib/uninorm/composition-table.gperf lib/uninorm/composition.c lib/uninorm/decompose-internal.c lib/uninorm/decompose-internal.h lib/uninorm/decomposition-table.c lib/uninorm/decomposition-table.h lib/uninorm/decomposition-table1.h lib/uninorm/decomposition-table2.h lib/uninorm/nfc.c lib/uninorm/nfd.c lib/uninorm/normalize-internal.h lib/uninorm/u-normalize-internal.h lib/uninorm/u32-normalize.c lib/unistr.in.h lib/unistr/u-cpy-alloc.h lib/unistr/u-cpy.h lib/unistr/u-strlen.h lib/unistr/u32-cpy-alloc.c lib/unistr/u32-cpy.c lib/unistr/u32-mbtouc-unsafe.c lib/unistr/u32-strlen.c lib/unistr/u32-to-u8.c lib/unistr/u32-uctomb.c lib/unistr/u8-check.c lib/unistr/u8-mblen.c lib/unistr/u8-mbtouc-aux.c lib/unistr/u8-mbtouc-unsafe-aux.c lib/unistr/u8-mbtouc-unsafe.c lib/unistr/u8-mbtouc.c lib/unistr/u8-mbtoucr.c lib/unistr/u8-prev.c lib/unistr/u8-strlen.c lib/unistr/u8-to-u32.c lib/unistr/u8-uctomb-aux.c lib/unistr/u8-uctomb.c lib/unitypes.in.h lib/unused-parameter.h lib/verify.h lib/warn-on-use.h lib/xalloc-oversized.h m4/00gnulib.m4 m4/absolute-header.m4 m4/alloca.m4 m4/codeset.m4 m4/eealloc.m4 m4/extensions.m4 m4/extern-inline.m4 m4/gnulib-common.m4 m4/host-cpu-c-abi.m4 m4/iconv.m4 m4/iconv_h.m4 m4/iconv_open.m4 m4/include_next.m4 m4/inline.m4 m4/lib-ld.m4 m4/lib-link.m4 m4/lib-prefix.m4 m4/libunistring-base.m4 m4/libunistring.m4 m4/limits-h.m4 m4/localcharset.m4 m4/longlong.m4 m4/malloca.m4 m4/multiarch.m4 m4/off_t.m4 m4/ssize_t.m4 m4/stdbool.m4 m4/stdint.m4 m4/sys_types_h.m4 m4/warn-on-use.m4 m4/wint_t.m4 ])