diff options
author | DongHun Kwak <dh0128.kwak@samsung.com> | 2021-03-05 10:08:23 +0900 |
---|---|---|
committer | DongHun Kwak <dh0128.kwak@samsung.com> | 2021-03-05 10:08:23 +0900 |
commit | c0c4ebc8462f91e7cf41e7404f71dca434b8494e (patch) | |
tree | 764f42c7258a7f83c64a1e75669b5694072cee20 /m4/gnulib-comp.m4 | |
parent | dfd19f19c019e044f97e46081a6960614c0cf3f9 (diff) | |
download | wget-c0c4ebc8462f91e7cf41e7404f71dca434b8494e.tar.gz wget-c0c4ebc8462f91e7cf41e7404f71dca434b8494e.tar.bz2 wget-c0c4ebc8462f91e7cf41e7404f71dca434b8494e.zip |
Imported Upstream version 1.20upstream/1.20
Diffstat (limited to 'm4/gnulib-comp.m4')
-rw-r--r-- | m4/gnulib-comp.m4 | 115 |
1 files changed, 83 insertions, 32 deletions
diff --git a/m4/gnulib-comp.m4 b/m4/gnulib-comp.m4 index 5fefd12..edb9c25 100644 --- a/m4/gnulib-comp.m4 +++ b/m4/gnulib-comp.m4 @@ -1,5 +1,5 @@ # DO NOT EDIT! GENERATED AUTOMATICALLY! -# Copyright (C) 2002-2017 Free Software Foundation, Inc. +# Copyright (C) 2002-2018 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 @@ -28,7 +28,7 @@ # other built files. -# This macro should be invoked from configure.ac, in the section +# 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], @@ -37,7 +37,11 @@ AC_DEFUN([gl_EARLY], 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 accept: @@ -51,21 +55,27 @@ AC_DEFUN([gl_EARLY], # Code from module bind: # Code from module btowc: # Code from module builtin-expect: + # Code from module byteswap: # Code from module c-ctype: # Code from module c-strcase: # Code from module c-strcaseeq: # Code from module c-strcasestr: + # Code from module c99: # Code from module clock-time: # Code from module cloexec: # Code from module close: - # Code from module configmake: # Code from module connect: + # Code from module crypto/af_alg: # Code from module crypto/md2: # Code from module crypto/md4: # Code from module crypto/md5: + # Code from module crypto/md5-buffer: # Code from module crypto/sha1: + # Code from module crypto/sha1-buffer: # Code from module crypto/sha256: + # Code from module crypto/sha256-buffer: # Code from module crypto/sha512: + # Code from module crypto/sha512-buffer: # Code from module dirname: # Code from module dirname-lgpl: # Code from module dosname: @@ -82,12 +92,17 @@ AC_DEFUN([gl_EARLY], # Code from module fcntl-h: # Code from module fd-hook: # Code from module fd-safer-flag: + # Code from module fflush: + AC_REQUIRE([AC_FUNC_FSEEKO]) # Code from module filename: # Code from module flexmember: # Code from module float: # Code from module flock: # Code from module fnmatch: + # Code from module fnmatch-h: # Code from module fopen: + # Code from module fpurge: + # Code from module freading: # Code from module fseek: # Code from module fseeko: AC_REQUIRE([AC_FUNC_FSEEKO]) @@ -103,6 +118,7 @@ AC_DEFUN([gl_EARLY], # Code from module getline: # Code from module getopt-gnu: # Code from module getopt-posix: + # Code from module getpass: # Code from module getpass-gnu: # Code from module getpeername: # Code from module getprogname: @@ -118,7 +134,6 @@ AC_DEFUN([gl_EARLY], # Code from module group-member: # Code from module hard-locale: # Code from module havelib: - # Code from module host-cpu-c-abi: # Code from module hostent: # Code from module iconv: # Code from module iconv-h: @@ -133,6 +148,7 @@ AC_DEFUN([gl_EARLY], # Code from module langinfo: # Code from module largefile: AC_REQUIRE([AC_SYS_LARGEFILE]) + # Code from module libc-config: # Code from module libunistring-optional: # Code from module limits-h: # Code from module link: @@ -199,6 +215,7 @@ AC_DEFUN([gl_EARLY], # Code from module send: # Code from module servent: # Code from module setsockopt: + # Code from module sh-filename: # Code from module sigaction: # Code from module signal-h: # Code from module sigpipe: @@ -219,6 +236,7 @@ AC_DEFUN([gl_EARLY], # Code from module ssize_t: # Code from module stat: # Code from module stat-time: + # Code from module std-gnu11: # Code from module stdalign: # Code from module stdbool: # Code from module stddef: @@ -313,7 +331,7 @@ AC_DEFUN([gl_EARLY], # Code from module xstrndup: ]) -# This macro should be invoked from configure.ac, in the section +# This macro should be invoked from ./configure.ac, in the section # "Check for header files, types and library functions". AC_DEFUN([gl_INIT], [ @@ -321,14 +339,14 @@ AC_DEFUN([gl_INIT], gl_cond_libtool=false gl_libdeps= gl_ltlibdeps= - gl_m4_base='m4/' + gl_m4_base='m4' 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])) m4_pushdef([gl_LIBSOURCES_LIST], []) m4_pushdef([gl_LIBSOURCES_DIR], []) gl_COMMON - gl_source_base='lib/' + gl_source_base='lib' AC_REQUIRE([gl_HEADER_SYS_SOCKET]) if test "$ac_cv_header_winsock2_h" = yes; then AC_LIBOBJ([accept]) @@ -350,6 +368,7 @@ AC_DEFUN([gl_INIT], fi gl_WCHAR_MODULE_INDICATOR([btowc]) gl___BUILTIN_EXPECT + gl_BYTESWAP gl_CLOCK_TIME gl_MODULE_INDICATOR_FOR_TESTS([cloexec]) gl_FUNC_CLOSE @@ -357,16 +376,20 @@ AC_DEFUN([gl_INIT], AC_LIBOBJ([close]) fi gl_UNISTD_MODULE_INDICATOR([close]) - gl_CONFIGMAKE_PREP AC_REQUIRE([gl_HEADER_SYS_SOCKET]) if test "$ac_cv_header_winsock2_h" = yes; then AC_LIBOBJ([connect]) fi gl_SYS_SOCKET_MODULE_INDICATOR([connect]) + gl_AF_ALG gl_MD4 + AC_DEFINE([GL_COMPILE_CRYPTO_STREAM], 1, [Compile Gnulib crypto stream ops.]) gl_MD5 + AC_DEFINE([GL_COMPILE_CRYPTO_STREAM], 1, [Compile Gnulib crypto stream ops.]) gl_SHA1 + AC_DEFINE([GL_COMPILE_CRYPTO_STREAM], 1, [Compile Gnulib crypto stream ops.]) gl_SHA256 + AC_DEFINE([GL_COMPILE_CRYPTO_STREAM], 1, [Compile Gnulib crypto stream ops.]) gl_SHA512 gl_DIRNAME gl_MODULE_INDICATOR([dirname]) @@ -398,6 +421,13 @@ AC_DEFUN([gl_INIT], gl_FCNTL_MODULE_INDICATOR([fcntl]) gl_FCNTL_H gl_MODULE_INDICATOR([fd-safer-flag]) + gl_FUNC_FFLUSH + if test $REPLACE_FFLUSH = 1; then + AC_LIBOBJ([fflush]) + gl_PREREQ_FFLUSH + fi + gl_MODULE_INDICATOR([fflush]) + gl_STDIO_MODULE_INDICATOR([fflush]) AC_C_FLEXIBLE_ARRAY_MEMBER gl_FLOAT_H if test $REPLACE_FLOAT_LDBL = 1; then @@ -413,16 +443,24 @@ AC_DEFUN([gl_INIT], fi gl_HEADER_SYS_FILE_MODULE_INDICATOR([flock]) gl_FUNC_FNMATCH_POSIX - if test -n "$FNMATCH_H"; then + if test $HAVE_FNMATCH = 0 || test $REPLACE_FNMATCH = 1; then AC_LIBOBJ([fnmatch]) gl_PREREQ_FNMATCH fi + gl_FNMATCH_MODULE_INDICATOR([fnmatch]) + gl_FNMATCH_H gl_FUNC_FOPEN if test $REPLACE_FOPEN = 1; then AC_LIBOBJ([fopen]) gl_PREREQ_FOPEN fi gl_STDIO_MODULE_INDICATOR([fopen]) + gl_FUNC_FPURGE + if test $HAVE_FPURGE = 0 || test $REPLACE_FPURGE = 1; then + AC_LIBOBJ([fpurge]) + fi + gl_STDIO_MODULE_INDICATOR([fpurge]) + gl_FUNC_FREADING gl_FUNC_FSEEK if test $REPLACE_FSEEK = 1; then AC_LIBOBJ([fseek]) @@ -504,11 +542,18 @@ AC_DEFUN([gl_INIT], GNULIB_GL_UNISTD_H_GETOPT=1 fi AC_SUBST([GNULIB_GL_UNISTD_H_GETOPT]) + gl_FUNC_GETPASS + if test $HAVE_GETPASS = 0 || test $REPLACE_GETPASS = 1; then + AC_LIBOBJ([getpass]) + gl_PREREQ_GETPASS + fi + gl_UNISTD_MODULE_INDICATOR([getpass]) gl_FUNC_GETPASS_GNU - if test $REPLACE_GETPASS = 1; then + if test $HAVE_GETPASS = 0 || test $REPLACE_GETPASS = 1; then AC_LIBOBJ([getpass]) gl_PREREQ_GETPASS fi + gl_UNISTD_MODULE_INDICATOR([getpass]) AC_REQUIRE([gl_HEADER_SYS_SOCKET]) if test "$ac_cv_header_winsock2_h" = yes; then AC_LIBOBJ([getpeername]) @@ -545,8 +590,6 @@ AC_DEFUN([gl_INIT], gl_PREREQ_GROUP_MEMBER fi gl_UNISTD_MODULE_INDICATOR([group-member]) - gl_HARD_LOCALE - AC_REQUIRE([gl_HOST_CPU_C_ABI]) gl_HOSTENT AM_ICONV m4_ifdef([gl_ICONV_MODULE_INDICATOR], @@ -577,6 +620,7 @@ AC_DEFUN([gl_INIT], gl_WCTYPE_MODULE_INDICATOR([iswblank]) gl_LANGINFO_H AC_REQUIRE([gl_LARGEFILE]) + gl___INLINE gl_LIBUNISTRING_OPTIONAL gl_LIMITS_H gl_FUNC_LINK @@ -590,7 +634,8 @@ AC_DEFUN([gl_INIT], fi gl_SYS_SOCKET_MODULE_INDICATOR([listen]) gl_LOCALCHARSET - LOCALCHARSET_TESTS_ENVIRONMENT="CHARSETALIASDIR=\"\$(abs_top_builddir)/$gl_source_base\"" + dnl For backward compatibility. Some packages still use this. + LOCALCHARSET_TESTS_ENVIRONMENT= AC_SUBST([LOCALCHARSET_TESTS_ENVIRONMENT]) gl_LOCALE_H gl_FUNC_LOCALECONV @@ -738,17 +783,17 @@ AC_DEFUN([gl_INIT], fi gl_SPAWN_MODULE_INDICATOR([posix_spawn]) gl_FUNC_POSIX_SPAWN_FILE_ACTIONS_ADDCLOSE - if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN_FILE_ACTIONS_ADDCLOSE = 1; then + if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1 || test $REPLACE_POSIX_SPAWN_FILE_ACTIONS_ADDCLOSE = 1; then AC_LIBOBJ([spawn_faction_addclose]) fi gl_SPAWN_MODULE_INDICATOR([posix_spawn_file_actions_addclose]) gl_FUNC_POSIX_SPAWN_FILE_ACTIONS_ADDDUP2 - if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN_FILE_ACTIONS_ADDDUP2 = 1; then + if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1 || test $REPLACE_POSIX_SPAWN_FILE_ACTIONS_ADDDUP2 = 1; then AC_LIBOBJ([spawn_faction_adddup2]) fi gl_SPAWN_MODULE_INDICATOR([posix_spawn_file_actions_adddup2]) gl_FUNC_POSIX_SPAWN_FILE_ACTIONS_ADDOPEN - if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN_FILE_ACTIONS_ADDOPEN = 1; then + if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1 || test $REPLACE_POSIX_SPAWN_FILE_ACTIONS_ADDOPEN = 1; then AC_LIBOBJ([spawn_faction_addopen]) fi gl_SPAWN_MODULE_INDICATOR([posix_spawn_file_actions_addopen]) @@ -836,6 +881,7 @@ AC_DEFUN([gl_INIT], AC_LIBOBJ([setsockopt]) fi gl_SYS_SOCKET_MODULE_INDICATOR([setsockopt]) + gl_SH_FILENAME gl_SIGACTION if test $HAVE_SIGACTION = 0; then AC_LIBOBJ([sigaction]) @@ -1092,6 +1138,7 @@ AC_DEFUN([gl_INIT], gl_FUNC_WCWIDTH if test $HAVE_WCWIDTH = 0 || test $REPLACE_WCWIDTH = 1; then AC_LIBOBJ([wcwidth]) + gl_PREREQ_WCWIDTH fi gl_WCHAR_MODULE_INDICATOR([wcwidth]) gl_FUNC_WRITE @@ -1150,7 +1197,6 @@ changequote([, ])dnl AC_SUBST([gltests_WITNESS]) gl_module_indicator_condition=$gltests_WITNESS m4_pushdef([gl_MODULE_INDICATOR_CONDITION], [$gl_module_indicator_condition]) - m4_popdef([gl_MODULE_INDICATOR_CONDITION]) m4_ifval(gltests_LIBSOURCES_LIST, [ m4_syscmd([test ! -d ]m4_defn([gltests_LIBSOURCES_DIR])[ || @@ -1186,8 +1232,6 @@ changequote([, ])dnl AC_SUBST([LIBGNU_LIBDEPS]) LIBGNU_LTLIBDEPS="$gl_ltlibdeps" AC_SUBST([LIBGNU_LTLIBDEPS]) - LIBTESTS_LIBDEPS="$gltests_libdeps" - AC_SUBST([LIBTESTS_LIBDEPS]) ]) # Like AC_LIBOBJ, except that the module name goes @@ -1211,7 +1255,7 @@ AC_DEFUN([gl_REPLACE_FUNCS], [ AC_DEFUN([gl_LIBSOURCES], [ m4_foreach([_gl_NAME], [$1], [ m4_if(_gl_NAME, [alloca.c], [], [ - m4_define([gl_LIBSOURCES_DIR], [lib/]) + m4_define([gl_LIBSOURCES_DIR], [lib]) m4_append([gl_LIBSOURCES_LIST], _gl_NAME, [ ]) ]) ]) @@ -1257,6 +1301,8 @@ AC_DEFUN([gl_FILE_LIST], [ build-aux/vc-list-files lib/_Noreturn.h lib/accept.c + lib/af_alg.c + lib/af_alg.h lib/alloca.c lib/alloca.in.h lib/arg-nonnull.h @@ -1272,6 +1318,7 @@ AC_DEFUN([gl_FILE_LIST], [ lib/binary-io.h lib/bind.c lib/btowc.c + lib/byteswap.in.h lib/c++defs.h lib/c-ctype.c lib/c-ctype.h @@ -1281,10 +1328,10 @@ AC_DEFUN([gl_FILE_LIST], [ lib/c-strcasestr.c lib/c-strcasestr.h lib/c-strncasecmp.c + lib/cdefs.h lib/cloexec.c lib/cloexec.h lib/close.c - lib/config.charset lib/connect.c lib/dirname-lgpl.c lib/dirname.c @@ -1306,6 +1353,7 @@ AC_DEFUN([gl_FILE_LIST], [ lib/fd-hook.h lib/fd-safer-flag.c lib/fd-safer.c + lib/fflush.c lib/filename.h lib/flexmember.h lib/float+.h @@ -1316,6 +1364,9 @@ AC_DEFUN([gl_FILE_LIST], [ lib/fnmatch.in.h lib/fnmatch_loop.c lib/fopen.c + lib/fpurge.c + lib/freading.c + lib/freading.h lib/fseek.c lib/fseeko.c lib/fstat.c @@ -1361,6 +1412,7 @@ AC_DEFUN([gl_FILE_LIST], [ lib/iswblank.c lib/itold.c lib/langinfo.in.h + lib/libc-config.h lib/libunistring.valgrind lib/limits.in.h lib/link.c @@ -1376,7 +1428,6 @@ AC_DEFUN([gl_FILE_LIST], [ lib/malloc.c lib/malloca.c lib/malloca.h - lib/malloca.valgrind lib/mbchar.c lib/mbchar.h lib/mbiter.c @@ -1428,8 +1479,6 @@ AC_DEFUN([gl_FILE_LIST], [ lib/rawmemchr.c lib/rawmemchr.valgrind lib/recv.c - lib/ref-add.sin - lib/ref-del.sin lib/regcomp.c lib/regex.c lib/regex.h @@ -1510,6 +1559,7 @@ AC_DEFUN([gl_FILE_LIST], [ lib/strtol.c lib/strtoll.c lib/symlink.c + lib/sys-limits.h lib/sys_file.in.h lib/sys_ioctl.in.h lib/sys_select.in.h @@ -1613,17 +1663,19 @@ AC_DEFUN([gl_FILE_LIST], [ lib/xstrndup.c lib/xstrndup.h m4/00gnulib.m4 + m4/__inline.m4 m4/absolute-header.m4 + m4/af_alg.m4 m4/alloca.m4 m4/arpa_inet_h.m4 m4/asm-underscore.m4 m4/base32.m4 m4/btowc.m4 m4/builtin-expect.m4 + m4/byteswap.m4 m4/clock_time.m4 m4/close.m4 m4/codeset.m4 - m4/configmake.m4 m4/dirname.m4 m4/double-slash-root.m4 m4/dup2.m4 @@ -1638,11 +1690,15 @@ AC_DEFUN([gl_FILE_LIST], [ m4/fcntl-o.m4 m4/fcntl.m4 m4/fcntl_h.m4 + m4/fflush.m4 m4/flexmember.m4 m4/float_h.m4 m4/flock.m4 m4/fnmatch.m4 + m4/fnmatch_h.m4 m4/fopen.m4 + m4/fpurge.m4 + m4/freading.m4 m4/fseek.m4 m4/fseeko.m4 m4/fstat.m4 @@ -1663,7 +1719,6 @@ AC_DEFUN([gl_FILE_LIST], [ m4/glibc21.m4 m4/gnulib-common.m4 m4/group-member.m4 - m4/hard-locale.m4 m4/host-cpu-c-abi.m4 m4/hostent.m4 m4/iconv.m4 @@ -1745,6 +1800,7 @@ AC_DEFUN([gl_FILE_LIST], [ m4/secure_getenv.m4 m4/select.m4 m4/servent.m4 + m4/sh-filename.m4 m4/sha1.m4 m4/sha256.m4 m4/sha512.m4 @@ -1764,6 +1820,7 @@ AC_DEFUN([gl_FILE_LIST], [ m4/ssize_t.m4 m4/stat-time.m4 m4/stat.m4 + m4/std-gnu11.m4 m4/stdalign.m4 m4/stdbool.m4 m4/stddef_h.m4 @@ -1827,12 +1884,6 @@ AC_DEFUN([gl_FILE_LIST], [ m4/xalloc.m4 m4/xsize.m4 m4/xstrndup.m4 - tests=lib/_Noreturn.h - tests=lib/arg-nonnull.h - tests=lib/c++defs.h - tests=lib/dummy.c - tests=lib/unused-parameter.h - tests=lib/warn-on-use.h top/GNUmakefile top/maint.mk ]) |