📄 gnulib-comp.m4
字号:
# -*- buffer-read-only: t -*- vi: set ro:# DO NOT EDIT! GENERATED AUTOMATICALLY!# DO NOT EDIT! GENERATED AUTOMATICALLY!# Copyright (C) 2002-2008 Free Software Foundation, Inc.## This file is free software, distributed under the terms of the GNU# General Public License. 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 using CVS, 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([gl_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 AC_REQUIRE([AC_PROG_RANLIB]) AC_REQUIRE([AM_PROG_CC_C_O]) AC_REQUIRE([AC_GNU_SOURCE]) AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) AC_REQUIRE([AC_FUNC_FSEEKO]) dnl Some compilers (e.g., AIX 5.3 cc) need to be in c99 mode dnl for the builtin va_copy to work. With Autoconf 2.60 or later, dnl AC_PROG_CC_STDC arranges for this. With older Autoconf AC_PROG_CC_STDC dnl shouldn't hurt, though installers are on their own to set c99 mode. AC_REQUIRE([AC_PROG_CC_STDC])])# This macro should be invoked from ./configure.ac, in the section# "Check for header files, types and library functions".AC_DEFUN([gl_INIT],[ AM_CONDITIONAL([GL_COND_LIBTOOL], [false]) gl_cond_libtool=false gl_libdeps= gl_ltlibdeps= m4_pushdef([AC_LIBOBJ], m4_defn([gl_LIBOBJ])) m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gl_REPLACE_FUNCS])) m4_pushdef([AC_LIBSOURCES], m4_defn([gl_LIBSOURCES])) gl_source_base='.#bootmp/lib' gl_EOVERFLOW gl_FUNC_ALLOCA gl_ARGMATCH gl_ARGP m4_ifdef([AM_XGETTEXT_OPTION], [AM_XGETTEXT_OPTION([--flag=argp_error:2:c-format]) AM_XGETTEXT_OPTION([--flag=argp_failure:4:c-format])]) gl_BACKUPFILE gl_CANONICALIZE_LGPL gl_FUNC_CHDIR_LONG gl_FUNC_CHOWN gl_UNISTD_MODULE_INDICATOR([chown]) gl_CLOCK_TIME gl_CLOSE_STREAM gl_MODULE_INDICATOR([close-stream]) gl_CLOSEOUT gl_CHECK_TYPE_STRUCT_DIRENT_D_INO gl_FUNC_DIRFD gl_DIRNAME gl_DOUBLE_SLASH_ROOT gl_FUNC_DUP2 gl_UNISTD_MODULE_INDICATOR([dup2]) gl_ENVIRON gl_UNISTD_MODULE_INDICATOR([environ]) gl_ERROR m4_ifdef([AM_XGETTEXT_OPTION], [AM_XGETTEXT_OPTION([--flag=error:3:c-format]) AM_XGETTEXT_OPTION([--flag=error_at_line:5:c-format])]) gl_EXCLUDE gl_EXITFAIL gl_FUNC_FCHDIR gl_UNISTD_MODULE_INDICATOR([fchdir]) gl_FCNTL_H gl_FCNTL_SAFER gl_MODULE_INDICATOR([fcntl-safer]) gl_FILEBLOCKS gl_FLOAT_H # No macro. You should also use one of fnmatch-posix or fnmatch-gnu. gl_FUNC_FNMATCH_GNU gl_FUNC_FPENDING gl_FUNC_FSEEKO gl_STDIO_MODULE_INDICATOR([fseeko]) gl_FUNC_FTRUNCATE gl_UNISTD_MODULE_INDICATOR([ftruncate]) gl_FUNC_GETCWD gl_UNISTD_MODULE_INDICATOR([getcwd]) gl_GETDATE gl_FUNC_GETDELIM gl_STDIO_MODULE_INDICATOR([getdelim]) gl_FUNC_GETLINE gl_STDIO_MODULE_INDICATOR([getline]) gl_GETOPT gl_FUNC_GETPAGESIZE gl_UNISTD_MODULE_INDICATOR([getpagesize]) dnl you must add AM_GNU_GETTEXT([external]) or similar to configure.ac. AM_GNU_GETTEXT_VERSION([0.17]) AC_SUBST([LIBINTL]) AC_SUBST([LTLIBINTL]) gl_GETTIME gl_FUNC_GETTIMEOFDAY gl_HASH gl_HUMAN gl_INLINE gl_INTTOSTR gl_INTTYPES_H gl_FUNC_LCHOWN gl_UNISTD_MODULE_INDICATOR([lchown]) gl_LOCALCHARSET LOCALCHARSET_TESTS_ENVIRONMENT="CHARSETALIASDIR=\"\$(top_builddir)/$gl_source_base\"" AC_SUBST([LOCALCHARSET_TESTS_ENVIRONMENT]) gl_FUNC_LSEEK gl_UNISTD_MODULE_INDICATOR([lseek]) gl_FUNC_LSTAT AC_FUNC_MALLOC AC_DEFINE([GNULIB_MALLOC_GNU], 1, [Define to indicate the 'malloc' module.]) gl_FUNC_MALLOC_POSIX gl_STDLIB_MODULE_INDICATOR([malloc-posix]) gl_MALLOCA gl_MBCHAR gl_FUNC_MBSCASECMP gl_STRING_MODULE_INDICATOR([mbscasecmp]) gl_MBITER gl_FUNC_MEMCHR gl_FUNC_MEMPCPY gl_STRING_MODULE_INDICATOR([mempcpy]) gl_FUNC_MEMRCHR gl_STRING_MODULE_INDICATOR([memrchr]) gl_FUNC_MEMSET gt_FUNC_MKDTEMP gl_STDLIB_MODULE_INDICATOR([mkdtemp]) gl_FUNC_MKTIME gl_MODECHANGE AC_FUNC_OBSTACK dnl Note: AC_FUNC_OBSTACK does AC_LIBSOURCES([obstack.h, obstack.c]). gl_FUNC_OPENAT gl_PATHMAX gl_QUOTE gl_QUOTEARG gl_FUNC_READLINK gl_UNISTD_MODULE_INDICATOR([readlink]) gl_FUNC_REALLOC_POSIX gl_STDLIB_MODULE_INDICATOR([realloc-posix]) gl_REGEX gl_FUNC_RMDIR gl_FUNC_RPMATCH gl_SAFE_READ gl_SAFE_WRITE gl_SAVE_CWD gl_SAVEDIR gl_FUNC_SETENV gl_STDLIB_MODULE_INDICATOR([setenv]) gl_FUNC_SLEEP gl_UNISTD_MODULE_INDICATOR([sleep]) gl_FUNC_SNPRINTF gl_STDIO_MODULE_INDICATOR([snprintf]) gt_TYPE_SSIZE_T gl_STAT_TIME gl_STAT_BIRTHTIME gl_STDARG_H AM_STDBOOL_H gl_STDINT_H gl_STDIO_H gl_STDLIB_H gl_FUNC_STPCPY gl_STRING_MODULE_INDICATOR([stpcpy]) gl_STRCASE gl_FUNC_STRCHRNUL gl_STRING_MODULE_INDICATOR([strchrnul]) gl_FUNC_STRDUP gl_STRING_MODULE_INDICATOR([strdup]) gl_FUNC_STRERROR gl_STRING_MODULE_INDICATOR([strerror]) gl_HEADER_STRING_H gl_HEADER_STRINGS_H gl_FUNC_STRNDUP gl_STRING_MODULE_INDICATOR([strndup]) gl_FUNC_STRNLEN gl_STRING_MODULE_INDICATOR([strnlen]) gl_FUNC_STRTOIMAX gl_INTTYPES_MODULE_INDICATOR([strtoimax]) gl_FUNC_STRTOL gl_FUNC_STRTOLL gl_FUNC_STRTOUL gl_FUNC_STRTOULL gl_FUNC_STRTOUMAX gl_INTTYPES_MODULE_INDICATOR([strtoumax]) gl_HEADER_SYS_STAT_H AC_PROG_MKDIR_P gl_HEADER_SYS_TIME_H AC_PROG_MKDIR_P gl_SYSEXITS gl_FUNC_GEN_TEMPNAME gl_HEADER_TIME_H gl_TIME_R gl_TIMESPEC gl_UNISTD_H gl_UNISTD_SAFER gl_UNLINKDIR gl_FUNC_GLIBC_UNLOCKED_IO gl_FUNC_UNSETENV gl_STDLIB_MODULE_INDICATOR([unsetenv]) gl_FUNC_UTIME gl_UTIMENS gl_FUNC_VASNPRINTF gl_FUNC_VSNPRINTF gl_STDIO_MODULE_INDICATOR([vsnprintf]) gl_WCHAR_H gl_WCTYPE_H gl_FUNC_WCWIDTH gl_WCHAR_MODULE_INDICATOR([wcwidth]) gl_XALLOC gl_XGETCWD gl_XSIZE gl_XSTRNDUP gl_XSTRTOL m4_popdef([AC_LIBSOURCES]) m4_popdef([AC_REPLACE_FUNCS]) m4_popdef([AC_LIBOBJ]) AC_CONFIG_COMMANDS_PRE([ gl_libobjs= gl_ltlibobjs= if test -n "$gl_LIBOBJS"; then # Remove the extension. sed_drop_objext='s/\.o$//;s/\.obj$//' for i in `for i in $gl_LIBOBJS; do echo "$i"; done | sed "$sed_drop_objext" | sort | uniq`; do gl_libobjs="$gl_libobjs $i.$ac_objext" gl_ltlibobjs="$gl_ltlibobjs $i.lo" done fi AC_SUBST([gl_LIBOBJS], [$gl_libobjs]) AC_SUBST([gl_LTLIBOBJS], [$gl_ltlibobjs]) ]) gltests_libdeps= gltests_ltlibdeps= m4_pushdef([AC_LIBOBJ], m4_defn([gltests_LIBOBJ])) m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gltests_REPLACE_FUNCS])) m4_pushdef([AC_LIBSOURCES], m4_defn([gltests_LIBSOURCES])) gl_source_base='.#bootmp/tests' m4_popdef([AC_LIBSOURCES]) m4_popdef([AC_REPLACE_FUNCS]) m4_popdef([AC_LIBOBJ]) AC_CONFIG_COMMANDS_PRE([ gltests_libobjs= gltests_ltlibobjs= if test -n "$gltests_LIBOBJS"; then # Remove the extension. sed_drop_objext='s/\.o$//;s/\.obj$//' for i in `for i in $gltests_LIBOBJS; do echo "$i"; done | sed "$sed_drop_objext" | sort | uniq`; do gltests_libobjs="$gltests_libobjs $i.$ac_objext" gltests_ltlibobjs="$gltests_ltlibobjs $i.lo" done fi AC_SUBST([gltests_LIBOBJS], [$gltests_libobjs]) AC_SUBST([gltests_LTLIBOBJS], [$gltests_ltlibobjs]) ]) LIBTAR_LIBDEPS="$gl_libdeps" AC_SUBST([LIBTAR_LIBDEPS]) LIBTAR_LTLIBDEPS="$gl_ltlibdeps" AC_SUBST([LIBTAR_LTLIBDEPS])])# Like AC_LIBOBJ, except that the module name goes# into gl_LIBOBJS instead of into LIBOBJS.AC_DEFUN([gl_LIBOBJ], [ AS_LITERAL_IF([$1], [gl_LIBSOURCES([$1.c])])dnl gl_LIBOBJS="$gl_LIBOBJS $1.$ac_objext"])# m4_foreach_w is provided by autoconf-2.59c and later.# This definition is to accommodate developers using versions# of autoconf older than that.m4_ifndef([m4_foreach_w], [m4_define([m4_foreach_w], [m4_foreach([$1], m4_split(m4_normalize([$2]), [ ]), [$3])])])# Like AC_REPLACE_FUNCS, except that the module name goes# into gl_LIBOBJS instead of into LIBOBJS.AC_DEFUN([gl_REPLACE_FUNCS], [ m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl AC_CHECK_FUNCS([$1], , [gl_LIBOBJ($ac_func)])])# Like AC_LIBSOURCES, except the directory where the source file is# expected is derived from the gnulib-tool parametrization,# and alloca is special cased (for the alloca-opt module).# We could also entirely rely on EXTRA_lib..._SOURCES.AC_DEFUN([gl_LIBSOURCES], [ m4_foreach([_gl_NAME], [$1], [ m4_if(_gl_NAME, [alloca.c], [], [ m4_syscmd([test -r .#bootmp/lib/]_gl_NAME[ || test ! -d .#bootmp/lib])dnl m4_if(m4_sysval, [0], [], [AC_FATAL([missing .#bootmp/lib/]_gl_NAME)]) ]) ])])# Like AC_LIBOBJ, except that the module name goes# into gltests_LIBOBJS instead of into LIBOBJS.AC_DEFUN([gltests_LIBOBJ], [ AS_LITERAL_IF([$1], [gltests_LIBSOURCES([$1.c])])dnl gltests_LIBOBJS="$gltests_LIBOBJS $1.$ac_objext"])# m4_foreach_w is provided by autoconf-2.59c and later.# This definition is to accommodate developers using versions# of autoconf older than that.m4_ifndef([m4_foreach_w], [m4_define([m4_foreach_w], [m4_foreach([$1], m4_split(m4_normalize([$2]), [ ]), [$3])])])# Like AC_REPLACE_FUNCS, except that the module name goes# into gltests_LIBOBJS instead of into LIBOBJS.AC_DEFUN([gltests_REPLACE_FUNCS], [ m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl AC_CHECK_FUNCS([$1], , [gltests_LIBOBJ($ac_func)])])# Like AC_LIBSOURCES, except the directory where the source file is# expected is derived from the gnulib-tool parametrization,# and alloca is special cased (for the alloca-opt module).# We could also entirely rely on EXTRA_lib..._SOURCES.AC_DEFUN([gltests_LIBSOURCES], [ m4_foreach([_gl_NAME], [$1], [ m4_if(_gl_NAME, [alloca.c], [], [ m4_syscmd([test -r .#bootmp/tests/]_gl_NAME[ || test ! -d .#bootmp/tests])dnl m4_if(m4_sysval, [0], [], [AC_FATAL([missing .#bootmp/tests/]_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([gl_FILE_LIST], [ build-aux/config.rpath build-aux/link-warning.h doc/getdate.texi lib/alloca.c lib/alloca.in.h lib/argmatch.c lib/argmatch.h lib/argp-ba.c lib/argp-eexst.c lib/argp-fmtstream.c lib/argp-fmtstream.h lib/argp-fs-xinl.c lib/argp-help.c lib/argp-namefrob.h lib/argp-parse.c lib/argp-pin.c lib/argp-pv.c lib/argp-pvh.c lib/argp-xinl.c lib/argp.h lib/asnprintf.c lib/at-func.c lib/backupfile.c lib/backupfile.h lib/basename.c
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -