X-Git-Url: http://git.hcoop.net/bpt/guile.git/blobdiff_plain/9157d901024558ca2cb2a59d21f26b7f897714cd..c2c2b5a49b1ce37a42417037c3515864a808e53b:/m4/gnulib-comp.m4 diff --git a/m4/gnulib-comp.m4 b/m4/gnulib-comp.m4 index 37f95ce00..e6e68dc67 100644 --- a/m4/gnulib-comp.m4 +++ b/m4/gnulib-comp.m4 @@ -1,10 +1,22 @@ # DO NOT EDIT! GENERATED AUTOMATICALLY! -# Copyright (C) 2002-2010 Free Software Foundation, Inc. +# Copyright (C) 2002-2011 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 +# 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. @@ -12,7 +24,8 @@ # 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. +# 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 @@ -24,36 +37,52 @@ 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 - AC_REQUIRE([AC_PROG_RANLIB]) + AC_REQUIRE([gl_PROG_AR_RANLIB]) AC_REQUIRE([AM_PROG_CC_C_O]) + # Code from module accept: # Code from module alignof: # Code from module alloca-opt: # Code from module announce-gen: - # Code from module arg-nonnull: # Code from module arpa_inet: # Code from module autobuild: AB_INIT + # Code from module binary-io: + # Code from module bind: # Code from module byteswap: - # Code from module c++defs: # Code from module c-ctype: # Code from module c-strcase: # Code from module c-strcaseeq: # Code from module canonicalize-lgpl: + # Code from module ceil: + # Code from module chdir: + # Code from module close: # Code from module configmake: + # Code from module connect: + # Code from module dirname-lgpl: + # Code from module dosname: + # Code from module double-slash-root: # Code from module duplocale: # Code from module environ: # Code from module errno: # Code from module extensions: AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) + # Code from module fcntl-h: + # Code from module fd-hook: # Code from module float: # Code from module flock: + # Code from module floor: # Code from module fpieee: AC_REQUIRE([gl_FP_IEEE]) + # Code from module frexp: + # Code from module fstat: # Code from module full-read: # Code from module full-write: # Code from module func: # Code from module gendocs: # Code from module getaddrinfo: + # Code from module getpeername: + # Code from module getsockname: + # Code from module getsockopt: # Code from module gettext-h: # Code from module git-version-gen: # Code from module gitlog-to-changelog: @@ -71,56 +100,88 @@ AC_DEFUN([gl_EARLY], # Code from module inet_ntop: # Code from module inet_pton: # Code from module inline: + # Code from module isinf: + # Code from module isnan: + # Code from module isnand: + # Code from module isnand-nolibm: + # Code from module isnanf: + # Code from module isnanl: + # Code from module largefile: + AC_REQUIRE([AC_SYS_LARGEFILE]) + # Code from module ldexp: # Code from module lib-symbol-versions: # Code from module lib-symbol-visibility: # Code from module libunistring: + # Code from module listen: # Code from module localcharset: # Code from module locale: + # Code from module log1p: # Code from module lstat: # Code from module maintainer-makefile: + # Code from module malloc-gnu: # Code from module malloc-posix: # Code from module malloca: - # Code from module mbrlen: - # Code from module mbrtowc: - # Code from module mbsinit: + # Code from module math: # Code from module memchr: + # Code from module msvc-inval: + # Code from module msvc-nothrow: # Code from module multiarch: # Code from module netdb: # Code from module netinet_in: + # Code from module nocrash: + # Code from module nproc: + # Code from module open: # Code from module pathmax: + # Code from module pipe2: # Code from module putenv: + # Code from module raise: + # Code from module read: # Code from module readlink: + # Code from module recv: + # Code from module recvfrom: + # Code from module rename: + # Code from module rmdir: # Code from module safe-read: # Code from module safe-write: + # Code from module same-inode: + # Code from module send: + # Code from module sendto: # Code from module servent: + # Code from module setsockopt: + # Code from module shutdown: + # Code from module signal-h: # Code from module size_max: + # Code from module snippet/_Noreturn: + # 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 snprintf: + # Code from module socket: + # Code from module socketlib: + # Code from module sockets: # Code from module socklen: # Code from module ssize_t: # Code from module stat: # Code from module stat-time: - # Code from module stdarg: - 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]) + # Code from module stdalign: # Code from module stdbool: # Code from module stddef: # Code from module stdint: # Code from module stdio: # Code from module stdlib: - # Code from module strcase: - # Code from module streq: # Code from module strftime: # Code from module striconveh: # Code from module string: - # Code from module strings: # Code from module sys_file: # Code from module sys_socket: # Code from module sys_stat: + # Code from module sys_time: + # Code from module sys_types: + # Code from module sys_uio: # Code from module time: # Code from module time_r: + # Code from module trunc: # Code from module unistd: # Code from module unistr/base: # Code from module unistr/u8-mbtouc: @@ -129,15 +190,11 @@ AC_DEFUN([gl_EARLY], # Code from module unistr/u8-prev: # Code from module unistr/u8-uctomb: # Code from module unitypes: - # Code from module unused-parameter: # Code from module useless-if-before-free: # Code from module vasnprintf: # Code from module vc-list-files: # Code from module verify: - # Code from module version-etc: - # Code from module version-etc-fsf: # Code from module vsnprintf: - # Code from module warn-on-use: # Code from module warnings: # Code from module wchar: # Code from module write: @@ -158,242 +215,406 @@ AC_DEFUN([gl_INIT], m4_pushdef([gl_LIBSOURCES_DIR], []) gl_COMMON gl_source_base='lib' - # Code from module alignof: - # Code from module alloca-opt: - gl_FUNC_ALLOCA - # Code from module announce-gen: - # Code from module arg-nonnull: - # Code from module arpa_inet: - gl_HEADER_ARPA_INET - AC_PROG_MKDIR_P - # Code from module autobuild: - # Code from module byteswap: - gl_BYTESWAP - # Code from module c++defs: - # Code from module c-ctype: - # Code from module c-strcase: - # Code from module c-strcaseeq: - # Code from module canonicalize-lgpl: - gl_CANONICALIZE_LGPL - gl_MODULE_INDICATOR([canonicalize-lgpl]) - gl_STDLIB_MODULE_INDICATOR([canonicalize_file_name]) - gl_STDLIB_MODULE_INDICATOR([realpath]) - # Code from module configmake: - # Code from module duplocale: - gl_FUNC_DUPLOCALE - gl_LOCALE_MODULE_INDICATOR([duplocale]) - # Code from module environ: - gl_ENVIRON - gl_UNISTD_MODULE_INDICATOR([environ]) - # Code from module errno: - gl_HEADER_ERRNO_H - # Code from module extensions: - # Code from module float: - gl_FLOAT_H - # Code from module flock: - gl_FUNC_FLOCK - gl_HEADER_SYS_FILE_MODULE_INDICATOR([flock]) - # Code from module fpieee: - # Code from module full-read: - # Code from module full-write: - # Code from module func: - gl_FUNC - # Code from module gendocs: - # Code from module getaddrinfo: - gl_GETADDRINFO - gl_NETDB_MODULE_INDICATOR([getaddrinfo]) - # Code from module gettext-h: - AC_SUBST([LIBINTL]) - AC_SUBST([LTLIBINTL]) - # Code from module git-version-gen: - # Code from module gitlog-to-changelog: - # Code from module gnu-web-doc-update: - # Code from module gnumakefile: - # Autoconf 2.61a.99 and earlier don't support linking a file only - # in VPATH builds. But since GNUmakefile is for maintainer use - # only, it does not matter if we skip the link with older autoconf. - # Automake 1.10.1 and earlier try to remove GNUmakefile in non-VPATH - # builds, so use a shell variable to bypass this. - GNUmakefile=GNUmakefile - m4_if(m4_version_compare([2.61a.100], - m4_defn([m4_PACKAGE_VERSION])), [1], [], - [AC_CONFIG_LINKS([$GNUmakefile:$GNUmakefile], [], - [GNUmakefile=$GNUmakefile])]) - # Code from module gnupload: - # Code from module gperf: - # Code from module havelib: - # Code from module hostent: - gl_HOSTENT - # Code from module iconv: - AM_ICONV - # Code from module iconv-h: - gl_ICONV_H - # Code from module iconv_open: - gl_FUNC_ICONV_OPEN - # Code from module iconv_open-utf: - gl_FUNC_ICONV_OPEN_UTF - # Code from module include_next: - # Code from module inet_ntop: - gl_FUNC_INET_NTOP - gl_ARPA_INET_MODULE_INDICATOR([inet_ntop]) - # Code from module inet_pton: - gl_FUNC_INET_PTON - gl_ARPA_INET_MODULE_INDICATOR([inet_pton]) - # Code from module inline: - gl_INLINE - # Code from module lib-symbol-versions: - gl_LD_VERSION_SCRIPT - # Code from module lib-symbol-visibility: - gl_VISIBILITY - # Code from module libunistring: - gl_LIBUNISTRING - # Code from module localcharset: - gl_LOCALCHARSET - LOCALCHARSET_TESTS_ENVIRONMENT="CHARSETALIASDIR=\"\$(top_builddir)/$gl_source_base\"" - AC_SUBST([LOCALCHARSET_TESTS_ENVIRONMENT]) - # Code from module locale: - gl_LOCALE_H - # Code from module lstat: - gl_FUNC_LSTAT - gl_SYS_STAT_MODULE_INDICATOR([lstat]) - # Code from module maintainer-makefile: - AC_CONFIG_COMMANDS_PRE([m4_ifdef([AH_HEADER], - [AC_SUBST([CONFIG_INCLUDE], m4_defn([AH_HEADER]))])]) - # Code from module malloc-posix: - gl_FUNC_MALLOC_POSIX - gl_STDLIB_MODULE_INDICATOR([malloc-posix]) - # Code from module malloca: - gl_MALLOCA - # Code from module mbrlen: - gl_FUNC_MBRLEN - gl_WCHAR_MODULE_INDICATOR([mbrlen]) - # Code from module mbrtowc: - gl_FUNC_MBRTOWC - gl_WCHAR_MODULE_INDICATOR([mbrtowc]) - # Code from module mbsinit: - gl_FUNC_MBSINIT - gl_WCHAR_MODULE_INDICATOR([mbsinit]) - # Code from module memchr: - gl_FUNC_MEMCHR - gl_STRING_MODULE_INDICATOR([memchr]) - # Code from module multiarch: - gl_MULTIARCH - # Code from module netdb: - gl_HEADER_NETDB - # Code from module netinet_in: - gl_HEADER_NETINET_IN - AC_PROG_MKDIR_P - # Code from module pathmax: - gl_PATHMAX - # Code from module putenv: - gl_FUNC_PUTENV - gl_STDLIB_MODULE_INDICATOR([putenv]) - # Code from module readlink: - gl_FUNC_READLINK - gl_UNISTD_MODULE_INDICATOR([readlink]) - # Code from module safe-read: - gl_SAFE_READ - # Code from module safe-write: - gl_SAFE_WRITE - # Code from module servent: - gl_SERVENT - # Code from module size_max: - gl_SIZE_MAX - # Code from module snprintf: - gl_FUNC_SNPRINTF - gl_STDIO_MODULE_INDICATOR([snprintf]) - # Code from module socklen: - gl_TYPE_SOCKLEN_T - # Code from module ssize_t: - gt_TYPE_SSIZE_T - # Code from module stat: - gl_FUNC_STAT - gl_SYS_STAT_MODULE_INDICATOR([stat]) - # Code from module stat-time: - gl_STAT_TIME - gl_STAT_BIRTHTIME - # Code from module stdarg: - gl_STDARG_H - # Code from module stdbool: - AM_STDBOOL_H - # Code from module stddef: - gl_STDDEF_H - # Code from module stdint: - gl_STDINT_H - # Code from module stdio: - gl_STDIO_H - # Code from module stdlib: - gl_STDLIB_H - # Code from module strcase: - gl_STRCASE - # Code from module streq: - # Code from module strftime: - gl_FUNC_GNU_STRFTIME - # Code from module striconveh: - if test $gl_cond_libtool = false; then - gl_ltlibdeps="$gl_ltlibdeps $LTLIBICONV" - gl_libdeps="$gl_libdeps $LIBICONV" - fi - # Code from module string: - gl_HEADER_STRING_H - # Code from module strings: - gl_HEADER_STRINGS_H - # Code from module sys_file: - gl_HEADER_SYS_FILE_H - AC_PROG_MKDIR_P - # Code from module sys_socket: - gl_HEADER_SYS_SOCKET - AC_PROG_MKDIR_P - # Code from module sys_stat: - gl_HEADER_SYS_STAT_H - AC_PROG_MKDIR_P - # Code from module time: - gl_HEADER_TIME_H - # Code from module time_r: - gl_TIME_R - gl_TIME_MODULE_INDICATOR([time_r]) - # Code from module unistd: - gl_UNISTD_H - # Code from module unistr/base: - gl_LIBUNISTRING_LIBHEADER([0.9.2], [unistr.h]) - # Code from module unistr/u8-mbtouc: - gl_MODULE_INDICATOR([unistr/u8-mbtouc]) - gl_LIBUNISTRING_MODULE([0.9], [unistr/u8-mbtouc]) - # Code from module unistr/u8-mbtouc-unsafe: - gl_MODULE_INDICATOR([unistr/u8-mbtouc-unsafe]) - gl_LIBUNISTRING_MODULE([0.9], [unistr/u8-mbtouc-unsafe]) - # Code from module unistr/u8-mbtoucr: - gl_MODULE_INDICATOR([unistr/u8-mbtoucr]) - gl_LIBUNISTRING_MODULE([0.9], [unistr/u8-mbtoucr]) - # Code from module unistr/u8-prev: - gl_LIBUNISTRING_MODULE([0.9], [unistr/u8-prev]) - # Code from module unistr/u8-uctomb: - gl_MODULE_INDICATOR([unistr/u8-uctomb]) - gl_LIBUNISTRING_MODULE([0.9], [unistr/u8-uctomb]) - # Code from module unitypes: - gl_LIBUNISTRING_LIBHEADER([0.9], [unitypes.h]) - # Code from module unused-parameter: - # Code from module useless-if-before-free: - # Code from module vasnprintf: - gl_FUNC_VASNPRINTF - # Code from module vc-list-files: - # Code from module verify: - # Code from module version-etc: - gl_VERSION_ETC - # Code from module version-etc-fsf: - # Code from module vsnprintf: - gl_FUNC_VSNPRINTF - gl_STDIO_MODULE_INDICATOR([vsnprintf]) - # Code from module warn-on-use: - # Code from module warnings: - AC_SUBST([WARN_CFLAGS]) - # Code from module wchar: - gl_WCHAR_H - # Code from module write: - gl_FUNC_WRITE - gl_UNISTD_MODULE_INDICATOR([write]) - # Code from module xsize: - gl_XSIZE +AC_REQUIRE([gl_HEADER_SYS_SOCKET]) +if test "$ac_cv_header_winsock2_h" = yes; then + AC_LIBOBJ([accept]) +fi +gl_SYS_SOCKET_MODULE_INDICATOR([accept]) +gl_FUNC_ALLOCA +gl_HEADER_ARPA_INET +AC_PROG_MKDIR_P +AC_REQUIRE([gl_HEADER_SYS_SOCKET]) +if test "$ac_cv_header_winsock2_h" = yes; then + AC_LIBOBJ([bind]) +fi +gl_SYS_SOCKET_MODULE_INDICATOR([bind]) +gl_BYTESWAP +gl_CANONICALIZE_LGPL +if test $HAVE_CANONICALIZE_FILE_NAME = 0 || test $REPLACE_CANONICALIZE_FILE_NAME = 1; then + AC_LIBOBJ([canonicalize-lgpl]) +fi +gl_MODULE_INDICATOR([canonicalize-lgpl]) +gl_STDLIB_MODULE_INDICATOR([canonicalize_file_name]) +gl_STDLIB_MODULE_INDICATOR([realpath]) +gl_FUNC_CEIL +if test $REPLACE_CEIL = 1; then + AC_LIBOBJ([ceil]) +fi +gl_MATH_MODULE_INDICATOR([ceil]) +gl_UNISTD_MODULE_INDICATOR([chdir]) +gl_FUNC_CLOSE +if test $REPLACE_CLOSE = 1; then + 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_DIRNAME_LGPL +gl_DOUBLE_SLASH_ROOT +gl_FUNC_DUPLOCALE +if test $REPLACE_DUPLOCALE = 1; then + AC_LIBOBJ([duplocale]) + gl_PREREQ_DUPLOCALE +fi +gl_LOCALE_MODULE_INDICATOR([duplocale]) +gl_ENVIRON +gl_UNISTD_MODULE_INDICATOR([environ]) +gl_HEADER_ERRNO_H +gl_FCNTL_H +gl_FLOAT_H +if test $REPLACE_FLOAT_LDBL = 1; then + AC_LIBOBJ([float]) +fi +if test $REPLACE_ITOLD = 1; then + AC_LIBOBJ([itold]) +fi +gl_FUNC_FLOCK +if test $HAVE_FLOCK = 0; then + AC_LIBOBJ([flock]) + gl_PREREQ_FLOCK +fi +gl_HEADER_SYS_FILE_MODULE_INDICATOR([flock]) +gl_FUNC_FLOOR +if test $REPLACE_FLOOR = 1; then + AC_LIBOBJ([floor]) +fi +gl_MATH_MODULE_INDICATOR([floor]) +gl_FUNC_FREXP +if test $gl_func_frexp != yes; then + AC_LIBOBJ([frexp]) +fi +gl_MATH_MODULE_INDICATOR([frexp]) +gl_FUNC_FSTAT +if test $REPLACE_FSTAT = 1; then + AC_LIBOBJ([fstat]) + gl_PREREQ_FSTAT +fi +gl_SYS_STAT_MODULE_INDICATOR([fstat]) +gl_FUNC +gl_GETADDRINFO +if test $HAVE_GETADDRINFO = 0; then + AC_LIBOBJ([getaddrinfo]) +fi +if test $HAVE_DECL_GAI_STRERROR = 0 || test $REPLACE_GAI_STRERROR = 1; then + AC_LIBOBJ([gai_strerror]) +fi +gl_NETDB_MODULE_INDICATOR([getaddrinfo]) +AC_REQUIRE([gl_HEADER_SYS_SOCKET]) +if test "$ac_cv_header_winsock2_h" = yes; then + AC_LIBOBJ([getpeername]) +fi +gl_SYS_SOCKET_MODULE_INDICATOR([getpeername]) +AC_REQUIRE([gl_HEADER_SYS_SOCKET]) +if test "$ac_cv_header_winsock2_h" = yes; then + AC_LIBOBJ([getsockname]) +fi +gl_SYS_SOCKET_MODULE_INDICATOR([getsockname]) +AC_REQUIRE([gl_HEADER_SYS_SOCKET]) +if test "$ac_cv_header_winsock2_h" = yes; then + AC_LIBOBJ([getsockopt]) +fi +gl_SYS_SOCKET_MODULE_INDICATOR([getsockopt]) +AC_SUBST([LIBINTL]) +AC_SUBST([LTLIBINTL]) +# Autoconf 2.61a.99 and earlier don't support linking a file only +# in VPATH builds. But since GNUmakefile is for maintainer use +# only, it does not matter if we skip the link with older autoconf. +# Automake 1.10.1 and earlier try to remove GNUmakefile in non-VPATH +# builds, so use a shell variable to bypass this. +GNUmakefile=GNUmakefile +m4_if(m4_version_compare([2.61a.100], + m4_defn([m4_PACKAGE_VERSION])), [1], [], + [AC_CONFIG_LINKS([$GNUmakefile:$GNUmakefile], [], + [GNUmakefile=$GNUmakefile])]) +gl_HOSTENT +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_FUNC_ICONV_OPEN_UTF +gl_FUNC_INET_NTOP +if test $HAVE_INET_NTOP = 0 || test $REPLACE_INET_NTOP = 1; then + AC_LIBOBJ([inet_ntop]) + gl_PREREQ_INET_NTOP +fi +gl_ARPA_INET_MODULE_INDICATOR([inet_ntop]) +gl_FUNC_INET_PTON +if test $HAVE_INET_PTON = 0 || test $REPLACE_INET_NTOP = 1; then + AC_LIBOBJ([inet_pton]) + gl_PREREQ_INET_PTON +fi +gl_ARPA_INET_MODULE_INDICATOR([inet_pton]) +gl_INLINE +gl_ISINF +if test $REPLACE_ISINF = 1; then + AC_LIBOBJ([isinf]) +fi +gl_MATH_MODULE_INDICATOR([isinf]) +gl_ISNAN +gl_MATH_MODULE_INDICATOR([isnan]) +gl_FUNC_ISNAND +m4_ifdef([gl_ISNAN], [ + AC_REQUIRE([gl_ISNAN]) +]) +if test $HAVE_ISNAND = 0 || test $REPLACE_ISNAN = 1; then + AC_LIBOBJ([isnand]) + gl_PREREQ_ISNAND +fi +gl_MATH_MODULE_INDICATOR([isnand]) +gl_FUNC_ISNAND_NO_LIBM +if test $gl_func_isnand_no_libm != yes; then + AC_LIBOBJ([isnand]) + gl_PREREQ_ISNAND +fi +gl_FUNC_ISNANF +m4_ifdef([gl_ISNAN], [ + AC_REQUIRE([gl_ISNAN]) +]) +if test $HAVE_ISNANF = 0 || test $REPLACE_ISNAN = 1; then + AC_LIBOBJ([isnanf]) + gl_PREREQ_ISNANF +fi +gl_MATH_MODULE_INDICATOR([isnanf]) +gl_FUNC_ISNANL +m4_ifdef([gl_ISNAN], [ + AC_REQUIRE([gl_ISNAN]) +]) +if test $HAVE_ISNANL = 0 || test $REPLACE_ISNAN = 1; then + AC_LIBOBJ([isnanl]) + gl_PREREQ_ISNANL +fi +gl_MATH_MODULE_INDICATOR([isnanl]) +gl_FUNC_LDEXP +gl_LD_VERSION_SCRIPT +gl_VISIBILITY +gl_LIBUNISTRING +AC_REQUIRE([gl_HEADER_SYS_SOCKET]) +if test "$ac_cv_header_winsock2_h" = yes; then + AC_LIBOBJ([listen]) +fi +gl_SYS_SOCKET_MODULE_INDICATOR([listen]) +gl_LOCALCHARSET +LOCALCHARSET_TESTS_ENVIRONMENT="CHARSETALIASDIR=\"\$(abs_top_builddir)/$gl_source_base\"" +AC_SUBST([LOCALCHARSET_TESTS_ENVIRONMENT]) +gl_LOCALE_H +gl_COMMON_DOUBLE_MATHFUNC([log1p]) +gl_FUNC_LSTAT +if test $REPLACE_LSTAT = 1; then + AC_LIBOBJ([lstat]) + gl_PREREQ_LSTAT +fi +gl_SYS_STAT_MODULE_INDICATOR([lstat]) +AC_CONFIG_COMMANDS_PRE([m4_ifdef([AH_HEADER], + [AC_SUBST([CONFIG_INCLUDE], m4_defn([AH_HEADER]))])]) +gl_FUNC_MALLOC_GNU +if test $REPLACE_MALLOC = 1; then + AC_LIBOBJ([malloc]) +fi +gl_MODULE_INDICATOR([malloc-gnu]) +gl_FUNC_MALLOC_POSIX +if test $REPLACE_MALLOC = 1; then + AC_LIBOBJ([malloc]) +fi +gl_STDLIB_MODULE_INDICATOR([malloc-posix]) +gl_MALLOCA +gl_MATH_H +gl_FUNC_MEMCHR +if test $HAVE_MEMCHR = 0 || test $REPLACE_MEMCHR = 1; then + AC_LIBOBJ([memchr]) + gl_PREREQ_MEMCHR +fi +gl_STRING_MODULE_INDICATOR([memchr]) +gl_MSVC_INVAL +if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then + AC_LIBOBJ([msvc-inval]) +fi +gl_MSVC_NOTHROW +if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then + AC_LIBOBJ([msvc-nothrow]) +fi +gl_MULTIARCH +gl_HEADER_NETDB +gl_HEADER_NETINET_IN +AC_PROG_MKDIR_P +gl_NPROC +gl_FUNC_OPEN +if test $REPLACE_OPEN = 1; then + AC_LIBOBJ([open]) + gl_PREREQ_OPEN +fi +gl_FCNTL_MODULE_INDICATOR([open]) +gl_PATHMAX +gl_FUNC_PIPE2 +gl_UNISTD_MODULE_INDICATOR([pipe2]) +gl_FUNC_PUTENV +if test $REPLACE_PUTENV = 1; then + AC_LIBOBJ([putenv]) +fi +gl_STDLIB_MODULE_INDICATOR([putenv]) +gl_FUNC_RAISE +if test $HAVE_RAISE = 0 || test $REPLACE_RAISE = 1; then + AC_LIBOBJ([raise]) + gl_PREREQ_RAISE +fi +gl_SIGNAL_MODULE_INDICATOR([raise]) +gl_FUNC_READ +if test $REPLACE_READ = 1; then + AC_LIBOBJ([read]) + gl_PREREQ_READ +fi +gl_UNISTD_MODULE_INDICATOR([read]) +gl_FUNC_READLINK +if test $HAVE_READLINK = 0 || test $REPLACE_READLINK = 1; then + AC_LIBOBJ([readlink]) + gl_PREREQ_READLINK +fi +gl_UNISTD_MODULE_INDICATOR([readlink]) +AC_REQUIRE([gl_HEADER_SYS_SOCKET]) +if test "$ac_cv_header_winsock2_h" = yes; then + AC_LIBOBJ([recv]) +fi +gl_SYS_SOCKET_MODULE_INDICATOR([recv]) +AC_REQUIRE([gl_HEADER_SYS_SOCKET]) +if test "$ac_cv_header_winsock2_h" = yes; then + AC_LIBOBJ([recvfrom]) +fi +gl_SYS_SOCKET_MODULE_INDICATOR([recvfrom]) +gl_FUNC_RENAME +if test $REPLACE_RENAME = 1; then + AC_LIBOBJ([rename]) +fi +gl_STDIO_MODULE_INDICATOR([rename]) +gl_FUNC_RMDIR +if test $REPLACE_RMDIR = 1; then + AC_LIBOBJ([rmdir]) +fi +gl_UNISTD_MODULE_INDICATOR([rmdir]) +gl_PREREQ_SAFE_READ +gl_PREREQ_SAFE_WRITE +AC_REQUIRE([gl_HEADER_SYS_SOCKET]) +if test "$ac_cv_header_winsock2_h" = yes; then + AC_LIBOBJ([send]) +fi +gl_SYS_SOCKET_MODULE_INDICATOR([send]) +AC_REQUIRE([gl_HEADER_SYS_SOCKET]) +if test "$ac_cv_header_winsock2_h" = yes; then + AC_LIBOBJ([sendto]) +fi +gl_SYS_SOCKET_MODULE_INDICATOR([sendto]) +gl_SERVENT +AC_REQUIRE([gl_HEADER_SYS_SOCKET]) +if test "$ac_cv_header_winsock2_h" = yes; then + AC_LIBOBJ([setsockopt]) +fi +gl_SYS_SOCKET_MODULE_INDICATOR([setsockopt]) +AC_REQUIRE([gl_HEADER_SYS_SOCKET]) +if test "$ac_cv_header_winsock2_h" = yes; then + AC_LIBOBJ([shutdown]) +fi +gl_SYS_SOCKET_MODULE_INDICATOR([shutdown]) +gl_SIGNAL_H +gl_SIZE_MAX +gl_FUNC_SNPRINTF +gl_STDIO_MODULE_INDICATOR([snprintf]) +gl_MODULE_INDICATOR([snprintf]) +AC_REQUIRE([gl_HEADER_SYS_SOCKET]) +if test "$ac_cv_header_winsock2_h" = yes; then + AC_LIBOBJ([socket]) +fi +# When this module is used, sockets may actually occur as file descriptors, +# hence it is worth warning if the modules 'close' and 'ioctl' are not used. +m4_ifdef([gl_UNISTD_H_DEFAULTS], [AC_REQUIRE([gl_UNISTD_H_DEFAULTS])]) +m4_ifdef([gl_SYS_IOCTL_H_DEFAULTS], [AC_REQUIRE([gl_SYS_IOCTL_H_DEFAULTS])]) +AC_REQUIRE([gl_PREREQ_SYS_H_WINSOCK2]) +if test "$ac_cv_header_winsock2_h" = yes; then + UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS=1 + SYS_IOCTL_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS=1 +fi +gl_SYS_SOCKET_MODULE_INDICATOR([socket]) +gl_SOCKETLIB +gl_SOCKETS +gl_TYPE_SOCKLEN_T +gt_TYPE_SSIZE_T +gl_FUNC_STAT +if test $REPLACE_STAT = 1; then + AC_LIBOBJ([stat]) + gl_PREREQ_STAT +fi +gl_SYS_STAT_MODULE_INDICATOR([stat]) +gl_STAT_TIME +gl_STAT_BIRTHTIME +gl_STDALIGN_H +AM_STDBOOL_H +gl_STDDEF_H +gl_STDINT_H +gl_STDIO_H +gl_STDLIB_H +gl_FUNC_GNU_STRFTIME +if test $gl_cond_libtool = false; then + gl_ltlibdeps="$gl_ltlibdeps $LTLIBICONV" + gl_libdeps="$gl_libdeps $LIBICONV" +fi +gl_HEADER_STRING_H +gl_HEADER_SYS_FILE_H +AC_PROG_MKDIR_P +gl_HEADER_SYS_SOCKET +AC_PROG_MKDIR_P +gl_HEADER_SYS_STAT_H +AC_PROG_MKDIR_P +gl_HEADER_SYS_TIME_H +AC_PROG_MKDIR_P +gl_SYS_TYPES_H +AC_PROG_MKDIR_P +gl_HEADER_SYS_UIO +AC_PROG_MKDIR_P +gl_HEADER_TIME_H +gl_TIME_R +if test $HAVE_LOCALTIME_R = 0 || test $REPLACE_LOCALTIME_R = 1; then + AC_LIBOBJ([time_r]) + gl_PREREQ_TIME_R +fi +gl_TIME_MODULE_INDICATOR([time_r]) +gl_FUNC_TRUNC +if test $HAVE_DECL_TRUNC = 0 || test $REPLACE_TRUNC = 1; then + AC_LIBOBJ([trunc]) +fi +gl_MATH_MODULE_INDICATOR([trunc]) +gl_UNISTD_H +gl_LIBUNISTRING_LIBHEADER([0.9.2], [unistr.h]) +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_MODULE_INDICATOR([unistr/u8-uctomb]) +gl_LIBUNISTRING_MODULE([0.9], [unistr/u8-uctomb]) +gl_LIBUNISTRING_LIBHEADER([0.9], [unitypes.h]) +gl_FUNC_VASNPRINTF +gl_FUNC_VSNPRINTF +gl_STDIO_MODULE_INDICATOR([vsnprintf]) +AC_SUBST([WARN_CFLAGS]) +gl_WCHAR_H +gl_FUNC_WRITE +if test $REPLACE_WRITE = 1; then + AC_LIBOBJ([write]) + gl_PREREQ_WRITE +fi +gl_UNISTD_MODULE_INDICATOR([write]) +gl_XSIZE # End of code from modules m4_ifval(gl_LIBSOURCES_LIST, [ m4_syscmd([test ! -d ]m4_defn([gl_LIBSOURCES_DIR])[ || @@ -531,23 +752,28 @@ AC_DEFUN([gltests_LIBSOURCES], [ # gnulib-tool and may be removed by future gnulib-tool invocations. AC_DEFUN([gl_FILE_LIST], [ build-aux/announce-gen - build-aux/arg-nonnull.h - build-aux/c++defs.h build-aux/config.rpath build-aux/gendocs.sh build-aux/git-version-gen build-aux/gitlog-to-changelog build-aux/gnu-web-doc-update build-aux/gnupload - build-aux/unused-parameter.h + build-aux/snippet/_Noreturn.h + build-aux/snippet/arg-nonnull.h + build-aux/snippet/c++defs.h + build-aux/snippet/unused-parameter.h + build-aux/snippet/warn-on-use.h build-aux/useless-if-before-free build-aux/vc-list-files - build-aux/warn-on-use.h doc/gendocs_template + lib/accept.c lib/alignof.h lib/alloca.in.h lib/arpa_inet.in.h lib/asnprintf.c + lib/basename-lgpl.c + lib/binary-io.h + lib/bind.c lib/byteswap.in.h lib/c-ctype.c lib/c-ctype.h @@ -556,18 +782,34 @@ AC_DEFUN([gl_FILE_LIST], [ lib/c-strcaseeq.h lib/c-strncasecmp.c lib/canonicalize-lgpl.c + lib/ceil.c + lib/close.c lib/config.charset + lib/connect.c + lib/dirname-lgpl.c + lib/dirname.h + lib/dosname.h lib/duplocale.c lib/errno.in.h + lib/fcntl.in.h + lib/fd-hook.c + lib/fd-hook.h lib/float+.h + lib/float.c lib/float.in.h lib/flock.c + lib/floor.c + lib/frexp.c + lib/fstat.c lib/full-read.c lib/full-read.h lib/full-write.c lib/full-write.h lib/gai_strerror.c lib/getaddrinfo.c + lib/getpeername.c + lib/getsockname.c + lib/getsockopt.c lib/gettext.h lib/iconv.c lib/iconv.in.h @@ -581,7 +823,15 @@ AC_DEFUN([gl_FILE_LIST], [ lib/iconveh.h lib/inet_ntop.c lib/inet_pton.c + lib/isinf.c + lib/isnan.c + lib/isnand-nolibm.h + lib/isnand.c + lib/isnanf.c + lib/isnanl.c + lib/itold.c lib/libunistring.valgrind + lib/listen.c lib/localcharset.c lib/localcharset.h lib/locale.in.h @@ -590,51 +840,72 @@ AC_DEFUN([gl_FILE_LIST], [ lib/malloca.c lib/malloca.h lib/malloca.valgrind - lib/mbrlen.c - lib/mbrtowc.c - lib/mbsinit.c + lib/math.in.h lib/memchr.c lib/memchr.valgrind + lib/msvc-inval.c + lib/msvc-inval.h + lib/msvc-nothrow.c + lib/msvc-nothrow.h lib/netdb.in.h lib/netinet_in.in.h + lib/nproc.c + lib/nproc.h + lib/open.c lib/pathmax.h + lib/pipe2.c lib/printf-args.c lib/printf-args.h lib/printf-parse.c lib/printf-parse.h lib/putenv.c + lib/raise.c + lib/read.c lib/readlink.c + lib/recv.c + lib/recvfrom.c lib/ref-add.sin lib/ref-del.sin + lib/rename.c + lib/rmdir.c lib/safe-read.c lib/safe-read.h lib/safe-write.c lib/safe-write.h + lib/same-inode.h + lib/send.c + lib/sendto.c + lib/setsockopt.c + lib/shutdown.c + lib/signal.in.h lib/size_max.h lib/snprintf.c + lib/socket.c + lib/sockets.c + lib/sockets.h lib/stat-time.h lib/stat.c - lib/stdarg.in.h + lib/stdalign.in.h lib/stdbool.in.h lib/stddef.in.h lib/stdint.in.h - lib/stdio-write.c lib/stdio.in.h lib/stdlib.in.h - lib/strcasecmp.c - lib/streq.h lib/strftime.c lib/strftime.h lib/striconveh.c lib/striconveh.h lib/string.in.h - lib/strings.in.h - lib/strncasecmp.c + lib/stripslash.c lib/sys_file.in.h lib/sys_socket.in.h lib/sys_stat.in.h + lib/sys_time.in.h + lib/sys_types.in.h + lib/sys_uio.in.h lib/time.in.h lib/time_r.c + lib/trunc.c lib/unistd.in.h lib/unistr.in.h lib/unistr/u8-mbtouc-aux.c @@ -649,10 +920,8 @@ AC_DEFUN([gl_FILE_LIST], [ lib/vasnprintf.c lib/vasnprintf.h lib/verify.h - lib/version-etc-fsf.c - lib/version-etc.c - lib/version-etc.h lib/vsnprintf.c + lib/w32sock.h lib/wchar.in.h lib/write.c lib/xsize.h @@ -660,22 +929,32 @@ AC_DEFUN([gl_FILE_LIST], [ m4/absolute-header.m4 m4/alloca.m4 m4/arpa_inet_h.m4 - m4/asm-underscore.m4 m4/autobuild.m4 m4/byteswap.m4 m4/canonicalize.m4 + m4/ceil.m4 + m4/check-math-lib.m4 + m4/close.m4 m4/codeset.m4 - m4/dos.m4 + m4/configmake.m4 + m4/dirname.m4 m4/double-slash-root.m4 m4/duplocale.m4 m4/eealloc.m4 m4/environ.m4 m4/errno_h.m4 + m4/exponentd.m4 + m4/exponentf.m4 + m4/exponentl.m4 m4/extensions.m4 m4/fcntl-o.m4 + m4/fcntl_h.m4 m4/float_h.m4 m4/flock.m4 + m4/floor.m4 m4/fpieee.m4 + m4/frexp.m4 + m4/fstat.m4 m4/func.m4 m4/getaddrinfo.m4 m4/glibc21.m4 @@ -683,6 +962,7 @@ AC_DEFUN([gl_FILE_LIST], [ m4/hostent.m4 m4/iconv.m4 m4/iconv_h.m4 + m4/iconv_open-utf.m4 m4/iconv_open.m4 m4/include_next.m4 m4/inet_ntop.m4 @@ -690,64 +970,81 @@ AC_DEFUN([gl_FILE_LIST], [ m4/inline.m4 m4/intmax_t.m4 m4/inttypes_h.m4 + m4/isinf.m4 + m4/isnan.m4 + m4/isnand.m4 + m4/isnanf.m4 + m4/isnanl.m4 + m4/largefile.m4 m4/ld-version-script.m4 + m4/ldexp.m4 m4/lib-ld.m4 m4/lib-link.m4 m4/lib-prefix.m4 m4/libunistring-base.m4 m4/libunistring.m4 m4/localcharset.m4 - m4/locale-fr.m4 - m4/locale-ja.m4 - m4/locale-zh.m4 m4/locale_h.m4 m4/longlong.m4 m4/lstat.m4 m4/malloc.m4 m4/malloca.m4 - m4/mbrlen.m4 - m4/mbrtowc.m4 - m4/mbsinit.m4 - m4/mbstate_t.m4 + m4/math_h.m4 + m4/mathfunc.m4 m4/memchr.m4 m4/mmap-anon.m4 + m4/mode_t.m4 + m4/msvc-inval.m4 + m4/msvc-nothrow.m4 m4/multiarch.m4 m4/netdb_h.m4 m4/netinet_in_h.m4 + m4/nocrash.m4 + m4/nproc.m4 + m4/open.m4 m4/pathmax.m4 + m4/pipe2.m4 m4/printf.m4 m4/putenv.m4 + m4/raise.m4 + m4/read.m4 m4/readlink.m4 + m4/rename.m4 + m4/rmdir.m4 m4/safe-read.m4 m4/safe-write.m4 m4/servent.m4 + m4/signal_h.m4 m4/size_max.m4 m4/snprintf.m4 + m4/socketlib.m4 + m4/sockets.m4 m4/socklen.m4 m4/sockpfaf.m4 m4/ssize_t.m4 m4/stat-time.m4 m4/stat.m4 - m4/stdarg.m4 + m4/stdalign.m4 m4/stdbool.m4 m4/stddef_h.m4 m4/stdint.m4 m4/stdint_h.m4 m4/stdio_h.m4 m4/stdlib_h.m4 - m4/strcase.m4 m4/strftime.m4 m4/string_h.m4 - m4/strings_h.m4 m4/sys_file_h.m4 m4/sys_socket_h.m4 m4/sys_stat_h.m4 + m4/sys_time_h.m4 + m4/sys_types_h.m4 + m4/sys_uio_h.m4 m4/time_h.m4 m4/time_r.m4 m4/tm_gmtoff.m4 + m4/trunc.m4 m4/unistd_h.m4 m4/vasnprintf.m4 - m4/version-etc.m4 m4/visibility.m4 m4/vsnprintf.m4 m4/warn-on-use.m4