mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-04-29 19:30:36 +02:00
Import 'copysign' and 'isfinite' modules from Gnulib.
* lib/Makefile.am: * m4/gnulib-cache.m4: * m4/gnulib-comp.m4: Add 'copysign' and 'isfinite' Gnulib modules.
This commit is contained in:
parent
48b6f151c7
commit
8ba5674805
3 changed files with 92 additions and 2 deletions
|
@ -21,7 +21,7 @@
|
|||
# the same distribution terms as the rest of that program.
|
||||
#
|
||||
# Generated by gnulib-tool.
|
||||
# Reproduce by: gnulib-tool --import --dir=. --local-dir=gnulib-local --lib=libgnu --source-base=lib --m4-base=m4 --doc-base=doc --tests-base=tests --aux-dir=build-aux --lgpl=3 --no-conditional-dependencies --libtool --macro-prefix=gl --no-vc-files accept alignof alloca-opt announce-gen autobuild bind byteswap c-strcase canonicalize-lgpl ceil clock-time close connect dirfd duplocale environ extensions flock floor fpieee frexp fstat full-read full-write func gendocs getaddrinfo getlogin getpeername getsockname getsockopt git-version-gen gitlog-to-changelog gnu-web-doc-update gnupload havelib iconv_open-utf inet_ntop inet_pton isinf isnan ldexp lib-symbol-versions lib-symbol-visibility libunistring listen localcharset locale log1p maintainer-makefile malloc-gnu malloca nl_langinfo nproc open pipe-posix pipe2 poll putenv recv recvfrom regex rename select send sendto setenv setsockopt shutdown socket stat-time stdlib strftime striconveh string sys_stat time times trunc verify vsnprintf warnings wchar
|
||||
# Reproduce by: gnulib-tool --import --dir=. --local-dir=gnulib-local --lib=libgnu --source-base=lib --m4-base=m4 --doc-base=doc --tests-base=tests --aux-dir=build-aux --lgpl=3 --no-conditional-dependencies --libtool --macro-prefix=gl --no-vc-files accept alignof alloca-opt announce-gen autobuild bind byteswap c-strcase canonicalize-lgpl ceil clock-time close connect copysign dirfd duplocale environ extensions flock floor fpieee frexp fstat full-read full-write func gendocs getaddrinfo getlogin getpeername getsockname getsockopt git-version-gen gitlog-to-changelog gnu-web-doc-update gnupload havelib iconv_open-utf inet_ntop inet_pton isfinite isinf isnan ldexp lib-symbol-versions lib-symbol-visibility libunistring listen localcharset locale log1p maintainer-makefile malloc-gnu malloca nl_langinfo nproc open pipe-posix pipe2 poll putenv recv recvfrom regex rename select send sendto setenv setsockopt shutdown socket stat-time stdlib strftime striconveh string sys_stat time times trunc verify vsnprintf warnings wchar
|
||||
|
||||
AUTOMAKE_OPTIONS = 1.5 gnits subdir-objects
|
||||
|
||||
|
@ -50,6 +50,7 @@ EXTRA_libgnu_la_SOURCES =
|
|||
libgnu_la_LDFLAGS = $(AM_LDFLAGS)
|
||||
libgnu_la_LDFLAGS += -no-undefined
|
||||
libgnu_la_LDFLAGS += $(CEIL_LIBM)
|
||||
libgnu_la_LDFLAGS += $(COPYSIGN_LIBM)
|
||||
libgnu_la_LDFLAGS += $(FLOOR_LIBM)
|
||||
libgnu_la_LDFLAGS += $(FREXP_LIBM)
|
||||
libgnu_la_LDFLAGS += $(GETADDRINFO_LIB)
|
||||
|
@ -312,6 +313,15 @@ EXTRA_libgnu_la_SOURCES += connect.c
|
|||
|
||||
## end gnulib module connect
|
||||
|
||||
## begin gnulib module copysign
|
||||
|
||||
|
||||
EXTRA_DIST += copysign.c
|
||||
|
||||
EXTRA_libgnu_la_SOURCES += copysign.c
|
||||
|
||||
## end gnulib module copysign
|
||||
|
||||
## begin gnulib module dirent
|
||||
|
||||
BUILT_SOURCES += dirent.h
|
||||
|
@ -753,6 +763,15 @@ EXTRA_libgnu_la_SOURCES += inet_pton.c
|
|||
|
||||
## end gnulib module inet_pton
|
||||
|
||||
## begin gnulib module isfinite
|
||||
|
||||
|
||||
EXTRA_DIST += isfinite.c
|
||||
|
||||
EXTRA_libgnu_la_SOURCES += isfinite.c
|
||||
|
||||
## end gnulib module isfinite
|
||||
|
||||
## begin gnulib module isinf
|
||||
|
||||
|
||||
|
@ -789,6 +808,15 @@ EXTRA_libgnu_la_SOURCES += isnan.c isnanf.c
|
|||
|
||||
## end gnulib module isnanf
|
||||
|
||||
## begin gnulib module isnanf-nolibm
|
||||
|
||||
|
||||
EXTRA_DIST += float+.h isnan.c isnanf-nolibm.h isnanf.c
|
||||
|
||||
EXTRA_libgnu_la_SOURCES += isnan.c isnanf.c
|
||||
|
||||
## end gnulib module isnanf-nolibm
|
||||
|
||||
## begin gnulib module isnanl
|
||||
|
||||
|
||||
|
@ -798,6 +826,15 @@ EXTRA_libgnu_la_SOURCES += isnan.c isnanl.c
|
|||
|
||||
## end gnulib module isnanl
|
||||
|
||||
## begin gnulib module isnanl-nolibm
|
||||
|
||||
|
||||
EXTRA_DIST += float+.h isnan.c isnanl-nolibm.h isnanl.c
|
||||
|
||||
EXTRA_libgnu_la_SOURCES += isnan.c isnanl.c
|
||||
|
||||
## end gnulib module isnanl-nolibm
|
||||
|
||||
## begin gnulib module langinfo
|
||||
|
||||
BUILT_SOURCES += langinfo.h
|
||||
|
@ -1734,6 +1771,15 @@ EXTRA_DIST += signal.in.h
|
|||
|
||||
## end gnulib module signal-h
|
||||
|
||||
## begin gnulib module signbit
|
||||
|
||||
|
||||
EXTRA_DIST += float+.h signbitd.c signbitf.c signbitl.c
|
||||
|
||||
EXTRA_libgnu_la_SOURCES += signbitd.c signbitf.c signbitl.c
|
||||
|
||||
## end gnulib module signbit
|
||||
|
||||
## begin gnulib module size_max
|
||||
|
||||
libgnu_la_SOURCES += size_max.h
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
|
||||
|
||||
# Specification in the form of a command-line invocation:
|
||||
# gnulib-tool --import --dir=. --local-dir=gnulib-local --lib=libgnu --source-base=lib --m4-base=m4 --doc-base=doc --tests-base=tests --aux-dir=build-aux --lgpl=3 --no-conditional-dependencies --libtool --macro-prefix=gl --no-vc-files accept alignof alloca-opt announce-gen autobuild bind byteswap c-strcase canonicalize-lgpl ceil clock-time close connect dirfd duplocale environ extensions flock floor fpieee frexp fstat full-read full-write func gendocs getaddrinfo getlogin getpeername getsockname getsockopt git-version-gen gitlog-to-changelog gnu-web-doc-update gnupload havelib iconv_open-utf inet_ntop inet_pton isinf isnan ldexp lib-symbol-versions lib-symbol-visibility libunistring listen localcharset locale log1p maintainer-makefile malloc-gnu malloca nl_langinfo nproc open pipe-posix pipe2 poll putenv recv recvfrom regex rename select send sendto setenv setsockopt shutdown socket stat-time stdlib strftime striconveh string sys_stat time times trunc verify vsnprintf warnings wchar
|
||||
# gnulib-tool --import --dir=. --local-dir=gnulib-local --lib=libgnu --source-base=lib --m4-base=m4 --doc-base=doc --tests-base=tests --aux-dir=build-aux --lgpl=3 --no-conditional-dependencies --libtool --macro-prefix=gl --no-vc-files accept alignof alloca-opt announce-gen autobuild bind byteswap c-strcase canonicalize-lgpl ceil clock-time close connect copysign dirfd duplocale environ extensions flock floor fpieee frexp fstat full-read full-write func gendocs getaddrinfo getlogin getpeername getsockname getsockopt git-version-gen gitlog-to-changelog gnu-web-doc-update gnupload havelib iconv_open-utf inet_ntop inet_pton isfinite isinf isnan ldexp lib-symbol-versions lib-symbol-visibility libunistring listen localcharset locale log1p maintainer-makefile malloc-gnu malloca nl_langinfo nproc open pipe-posix pipe2 poll putenv recv recvfrom regex rename select send sendto setenv setsockopt shutdown socket stat-time stdlib strftime striconveh string sys_stat time times trunc verify vsnprintf warnings wchar
|
||||
|
||||
# Specification in the form of a few gnulib-tool.m4 macro invocations:
|
||||
gl_LOCAL_DIR([gnulib-local])
|
||||
|
@ -45,6 +45,7 @@ gl_MODULES([
|
|||
clock-time
|
||||
close
|
||||
connect
|
||||
copysign
|
||||
dirfd
|
||||
duplocale
|
||||
environ
|
||||
|
@ -71,6 +72,7 @@ gl_MODULES([
|
|||
iconv_open-utf
|
||||
inet_ntop
|
||||
inet_pton
|
||||
isfinite
|
||||
isinf
|
||||
isnan
|
||||
ldexp
|
||||
|
|
|
@ -61,6 +61,7 @@ AC_DEFUN([gl_EARLY],
|
|||
# Code from module close:
|
||||
# Code from module configmake:
|
||||
# Code from module connect:
|
||||
# Code from module copysign:
|
||||
# Code from module dirent:
|
||||
# Code from module dirfd:
|
||||
# Code from module dirname-lgpl:
|
||||
|
@ -108,12 +109,15 @@ AC_DEFUN([gl_EARLY],
|
|||
# Code from module inet_ntop:
|
||||
# Code from module inet_pton:
|
||||
# Code from module inline:
|
||||
# Code from module isfinite:
|
||||
# Code from module isinf:
|
||||
# Code from module isnan:
|
||||
# Code from module isnand:
|
||||
# Code from module isnand-nolibm:
|
||||
# Code from module isnanf:
|
||||
# Code from module isnanf-nolibm:
|
||||
# Code from module isnanl:
|
||||
# Code from module isnanl-nolibm:
|
||||
# Code from module langinfo:
|
||||
# Code from module largefile:
|
||||
AC_REQUIRE([AC_SYS_LARGEFILE])
|
||||
|
@ -172,6 +176,7 @@ AC_DEFUN([gl_EARLY],
|
|||
# Code from module setsockopt:
|
||||
# Code from module shutdown:
|
||||
# Code from module signal-h:
|
||||
# Code from module signbit:
|
||||
# Code from module size_max:
|
||||
# Code from module snippet/_Noreturn:
|
||||
# Code from module snippet/arg-nonnull:
|
||||
|
@ -292,6 +297,11 @@ AC_SUBST([LTALLOCA])
|
|||
AC_LIBOBJ([connect])
|
||||
fi
|
||||
gl_SYS_SOCKET_MODULE_INDICATOR([connect])
|
||||
gl_FUNC_COPYSIGN
|
||||
if test $HAVE_COPYSIGN = 0; then
|
||||
AC_LIBOBJ([copysign])
|
||||
fi
|
||||
gl_MATH_MODULE_INDICATOR([copysign])
|
||||
gl_DIRENT_H
|
||||
gl_FUNC_DIRFD
|
||||
if test $ac_cv_func_dirfd = no && test $gl_cv_func_dirfd_macro = no; then
|
||||
|
@ -415,6 +425,11 @@ AC_SUBST([LTALLOCA])
|
|||
fi
|
||||
gl_ARPA_INET_MODULE_INDICATOR([inet_pton])
|
||||
gl_INLINE
|
||||
gl_ISFINITE
|
||||
if test $REPLACE_ISFINITE = 1; then
|
||||
AC_LIBOBJ([isfinite])
|
||||
fi
|
||||
gl_MATH_MODULE_INDICATOR([isfinite])
|
||||
gl_ISINF
|
||||
if test $REPLACE_ISINF = 1; then
|
||||
AC_LIBOBJ([isinf])
|
||||
|
@ -445,6 +460,11 @@ AC_SUBST([LTALLOCA])
|
|||
gl_PREREQ_ISNANF
|
||||
fi
|
||||
gl_MATH_MODULE_INDICATOR([isnanf])
|
||||
gl_FUNC_ISNANF_NO_LIBM
|
||||
if test $gl_func_isnanf_no_libm != yes; then
|
||||
AC_LIBOBJ([isnanf])
|
||||
gl_PREREQ_ISNANF
|
||||
fi
|
||||
gl_FUNC_ISNANL
|
||||
m4_ifdef([gl_ISNAN], [
|
||||
AC_REQUIRE([gl_ISNAN])
|
||||
|
@ -454,6 +474,11 @@ AC_SUBST([LTALLOCA])
|
|||
gl_PREREQ_ISNANL
|
||||
fi
|
||||
gl_MATH_MODULE_INDICATOR([isnanl])
|
||||
gl_FUNC_ISNANL_NO_LIBM
|
||||
if test $gl_func_isnanl_no_libm != yes; then
|
||||
AC_LIBOBJ([isnanl])
|
||||
gl_PREREQ_ISNANL
|
||||
fi
|
||||
gl_LANGINFO_H
|
||||
AC_REQUIRE([gl_LARGEFILE])
|
||||
gl_FUNC_LDEXP
|
||||
|
@ -656,6 +681,13 @@ AC_SUBST([LTALLOCA])
|
|||
fi
|
||||
gl_SYS_SOCKET_MODULE_INDICATOR([shutdown])
|
||||
gl_SIGNAL_H
|
||||
gl_SIGNBIT
|
||||
if test $REPLACE_SIGNBIT = 1; then
|
||||
AC_LIBOBJ([signbitf])
|
||||
AC_LIBOBJ([signbitd])
|
||||
AC_LIBOBJ([signbitl])
|
||||
fi
|
||||
gl_MATH_MODULE_INDICATOR([signbit])
|
||||
gl_SIZE_MAX
|
||||
gl_FUNC_SNPRINTF
|
||||
gl_STDIO_MODULE_INDICATOR([snprintf])
|
||||
|
@ -935,6 +967,7 @@ AC_DEFUN([gl_FILE_LIST], [
|
|||
lib/close.c
|
||||
lib/config.charset
|
||||
lib/connect.c
|
||||
lib/copysign.c
|
||||
lib/dirent.in.h
|
||||
lib/dirfd.c
|
||||
lib/dirname-lgpl.c
|
||||
|
@ -976,11 +1009,14 @@ AC_DEFUN([gl_FILE_LIST], [
|
|||
lib/iconveh.h
|
||||
lib/inet_ntop.c
|
||||
lib/inet_pton.c
|
||||
lib/isfinite.c
|
||||
lib/isinf.c
|
||||
lib/isnan.c
|
||||
lib/isnand-nolibm.h
|
||||
lib/isnand.c
|
||||
lib/isnanf-nolibm.h
|
||||
lib/isnanf.c
|
||||
lib/isnanl-nolibm.h
|
||||
lib/isnanl.c
|
||||
lib/itold.c
|
||||
lib/langinfo.in.h
|
||||
|
@ -1053,6 +1089,9 @@ AC_DEFUN([gl_FILE_LIST], [
|
|||
lib/setsockopt.c
|
||||
lib/shutdown.c
|
||||
lib/signal.in.h
|
||||
lib/signbitd.c
|
||||
lib/signbitf.c
|
||||
lib/signbitl.c
|
||||
lib/size_max.h
|
||||
lib/snprintf.c
|
||||
lib/socket.c
|
||||
|
@ -1125,6 +1164,7 @@ AC_DEFUN([gl_FILE_LIST], [
|
|||
m4/close.m4
|
||||
m4/codeset.m4
|
||||
m4/configmake.m4
|
||||
m4/copysign.m4
|
||||
m4/dirent_h.m4
|
||||
m4/dirfd.m4
|
||||
m4/dirname.m4
|
||||
|
@ -1163,6 +1203,7 @@ AC_DEFUN([gl_FILE_LIST], [
|
|||
m4/inline.m4
|
||||
m4/intmax_t.m4
|
||||
m4/inttypes_h.m4
|
||||
m4/isfinite.m4
|
||||
m4/isinf.m4
|
||||
m4/isnan.m4
|
||||
m4/isnand.m4
|
||||
|
@ -1228,6 +1269,7 @@ AC_DEFUN([gl_FILE_LIST], [
|
|||
m4/servent.m4
|
||||
m4/setenv.m4
|
||||
m4/signal_h.m4
|
||||
m4/signbit.m4
|
||||
m4/size_max.m4
|
||||
m4/snprintf.m4
|
||||
m4/socketlib.m4
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue