Gnulib: use conditional dependencies.
This commit is contained in:
parent
58fa890d78
commit
cf7dacebb2
|
@ -21,7 +21,7 @@
|
||||||
# the same distribution terms as the rest of that program.
|
# the same distribution terms as the rest of that program.
|
||||||
#
|
#
|
||||||
# Generated by gnulib-tool.
|
# Generated by gnulib-tool.
|
||||||
# Reproduce by: gnulib-tool --import --lib=libgnu --source-base=lib --m4-base=m4 --doc-base=doc --tests-base=tests --aux-dir=autotools --no-conditional-dependencies --libtool --macro-prefix=gl --no-vc-files fprintf-posix getrusage sys_resource sys_time
|
# Reproduce by: gnulib-tool --import --lib=libgnu --source-base=lib --m4-base=m4 --doc-base=doc --tests-base=tests --aux-dir=autotools --conditional-dependencies --libtool --macro-prefix=gl --no-vc-files fprintf-posix getrusage sys_resource sys_time
|
||||||
|
|
||||||
AUTOMAKE_OPTIONS = 1.9.6 gnits
|
AUTOMAKE_OPTIONS = 1.9.6 gnits
|
||||||
|
|
||||||
|
@ -159,14 +159,18 @@ EXTRA_libgnu_la_SOURCES += fprintf.c
|
||||||
|
|
||||||
## begin gnulib module fpucw
|
## begin gnulib module fpucw
|
||||||
|
|
||||||
|
if gl_GNULIB_ENABLED_fpucw
|
||||||
|
|
||||||
|
endif
|
||||||
EXTRA_DIST += fpucw.h
|
EXTRA_DIST += fpucw.h
|
||||||
|
|
||||||
## end gnulib module fpucw
|
## end gnulib module fpucw
|
||||||
|
|
||||||
## begin gnulib module frexp-nolibm
|
## begin gnulib module frexp-nolibm
|
||||||
|
|
||||||
|
if gl_GNULIB_ENABLED_e1c6a1281ce2cc59c716894550bcb2b5
|
||||||
|
|
||||||
|
endif
|
||||||
EXTRA_DIST += frexp.c
|
EXTRA_DIST += frexp.c
|
||||||
|
|
||||||
EXTRA_libgnu_la_SOURCES += frexp.c
|
EXTRA_libgnu_la_SOURCES += frexp.c
|
||||||
|
@ -175,7 +179,9 @@ EXTRA_libgnu_la_SOURCES += frexp.c
|
||||||
|
|
||||||
## begin gnulib module frexpl-nolibm
|
## begin gnulib module frexpl-nolibm
|
||||||
|
|
||||||
|
if gl_GNULIB_ENABLED_e0ca81912f23214e44f5700922db34be
|
||||||
|
|
||||||
|
endif
|
||||||
EXTRA_DIST += frexp.c frexpl.c
|
EXTRA_DIST += frexp.c frexpl.c
|
||||||
|
|
||||||
EXTRA_libgnu_la_SOURCES += frexp.c frexpl.c
|
EXTRA_libgnu_la_SOURCES += frexp.c frexpl.c
|
||||||
|
@ -184,7 +190,9 @@ EXTRA_libgnu_la_SOURCES += frexp.c frexpl.c
|
||||||
|
|
||||||
## begin gnulib module fseterr
|
## begin gnulib module fseterr
|
||||||
|
|
||||||
|
if gl_GNULIB_ENABLED_fseterr
|
||||||
|
|
||||||
|
endif
|
||||||
EXTRA_DIST += fseterr.c fseterr.h stdio-impl.h
|
EXTRA_DIST += fseterr.c fseterr.h stdio-impl.h
|
||||||
|
|
||||||
EXTRA_libgnu_la_SOURCES += fseterr.c
|
EXTRA_libgnu_la_SOURCES += fseterr.c
|
||||||
|
@ -202,7 +210,9 @@ EXTRA_libgnu_la_SOURCES += getrusage.c
|
||||||
|
|
||||||
## begin gnulib module isnand-nolibm
|
## begin gnulib module isnand-nolibm
|
||||||
|
|
||||||
|
if gl_GNULIB_ENABLED_b1df7117b479d2da59d76deba468ee21
|
||||||
|
|
||||||
|
endif
|
||||||
EXTRA_DIST += float+.h isnan.c isnand-nolibm.h isnand.c
|
EXTRA_DIST += float+.h isnan.c isnand-nolibm.h isnand.c
|
||||||
|
|
||||||
EXTRA_libgnu_la_SOURCES += isnan.c isnand.c
|
EXTRA_libgnu_la_SOURCES += isnan.c isnand.c
|
||||||
|
@ -211,7 +221,9 @@ EXTRA_libgnu_la_SOURCES += isnan.c isnand.c
|
||||||
|
|
||||||
## begin gnulib module isnanf-nolibm
|
## begin gnulib module isnanf-nolibm
|
||||||
|
|
||||||
|
if gl_GNULIB_ENABLED_3f0e593033d1fc2c127581960f641b66
|
||||||
|
|
||||||
|
endif
|
||||||
EXTRA_DIST += float+.h isnan.c isnanf-nolibm.h isnanf.c
|
EXTRA_DIST += float+.h isnan.c isnanf-nolibm.h isnanf.c
|
||||||
|
|
||||||
EXTRA_libgnu_la_SOURCES += isnan.c isnanf.c
|
EXTRA_libgnu_la_SOURCES += isnan.c isnanf.c
|
||||||
|
@ -220,7 +232,9 @@ EXTRA_libgnu_la_SOURCES += isnan.c isnanf.c
|
||||||
|
|
||||||
## begin gnulib module isnanl-nolibm
|
## begin gnulib module isnanl-nolibm
|
||||||
|
|
||||||
|
if gl_GNULIB_ENABLED_dbdf22868a5367f28bf18e0013ac6f8f
|
||||||
|
|
||||||
|
endif
|
||||||
EXTRA_DIST += float+.h isnan.c isnanl-nolibm.h isnanl.c
|
EXTRA_DIST += float+.h isnan.c isnanl-nolibm.h isnanl.c
|
||||||
|
|
||||||
EXTRA_libgnu_la_SOURCES += isnan.c isnanl.c
|
EXTRA_libgnu_la_SOURCES += isnan.c isnanl.c
|
||||||
|
@ -257,6 +271,7 @@ EXTRA_DIST += limits.in.h
|
||||||
|
|
||||||
## begin gnulib module math
|
## begin gnulib module math
|
||||||
|
|
||||||
|
if gl_GNULIB_ENABLED_math
|
||||||
BUILT_SOURCES += math.h
|
BUILT_SOURCES += math.h
|
||||||
libgnu_la_SOURCES += math.c
|
libgnu_la_SOURCES += math.c
|
||||||
|
|
||||||
|
@ -548,13 +563,16 @@ math.h: math.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(
|
||||||
mv $@-t $@
|
mv $@-t $@
|
||||||
MOSTLYCLEANFILES += math.h math.h-t
|
MOSTLYCLEANFILES += math.h math.h-t
|
||||||
|
|
||||||
|
endif
|
||||||
EXTRA_DIST += math.in.h
|
EXTRA_DIST += math.in.h
|
||||||
|
|
||||||
## end gnulib module math
|
## end gnulib module math
|
||||||
|
|
||||||
## begin gnulib module memchr
|
## begin gnulib module memchr
|
||||||
|
|
||||||
|
if gl_GNULIB_ENABLED_memchr
|
||||||
|
|
||||||
|
endif
|
||||||
EXTRA_DIST += memchr.c memchr.valgrind
|
EXTRA_DIST += memchr.c memchr.valgrind
|
||||||
|
|
||||||
EXTRA_libgnu_la_SOURCES += memchr.c
|
EXTRA_libgnu_la_SOURCES += memchr.c
|
||||||
|
@ -563,16 +581,20 @@ EXTRA_libgnu_la_SOURCES += memchr.c
|
||||||
|
|
||||||
## begin gnulib module printf-frexp
|
## begin gnulib module printf-frexp
|
||||||
|
|
||||||
|
if gl_GNULIB_ENABLED_2f551a684aab5400633cbfd56df3bf94
|
||||||
libgnu_la_SOURCES += printf-frexp.c
|
libgnu_la_SOURCES += printf-frexp.c
|
||||||
|
|
||||||
|
endif
|
||||||
EXTRA_DIST += printf-frexp.h
|
EXTRA_DIST += printf-frexp.h
|
||||||
|
|
||||||
## end gnulib module printf-frexp
|
## end gnulib module printf-frexp
|
||||||
|
|
||||||
## begin gnulib module printf-frexpl
|
## begin gnulib module printf-frexpl
|
||||||
|
|
||||||
|
if gl_GNULIB_ENABLED_bba639f0cfd658540d716f3a2ba5e68f
|
||||||
libgnu_la_SOURCES += printf-frexpl.c
|
libgnu_la_SOURCES += printf-frexpl.c
|
||||||
|
|
||||||
|
endif
|
||||||
EXTRA_DIST += printf-frexp.c printf-frexpl.h
|
EXTRA_DIST += printf-frexp.c printf-frexpl.h
|
||||||
|
|
||||||
EXTRA_libgnu_la_SOURCES += printf-frexp.c
|
EXTRA_libgnu_la_SOURCES += printf-frexp.c
|
||||||
|
@ -581,7 +603,9 @@ EXTRA_libgnu_la_SOURCES += printf-frexp.c
|
||||||
|
|
||||||
## begin gnulib module signbit
|
## begin gnulib module signbit
|
||||||
|
|
||||||
|
if gl_GNULIB_ENABLED_signbit
|
||||||
|
|
||||||
|
endif
|
||||||
EXTRA_DIST += float+.h signbitd.c signbitf.c signbitl.c
|
EXTRA_DIST += float+.h signbitd.c signbitf.c signbitl.c
|
||||||
|
|
||||||
EXTRA_libgnu_la_SOURCES += signbitd.c signbitf.c signbitl.c
|
EXTRA_libgnu_la_SOURCES += signbitd.c signbitf.c signbitl.c
|
||||||
|
@ -590,8 +614,10 @@ EXTRA_libgnu_la_SOURCES += signbitd.c signbitf.c signbitl.c
|
||||||
|
|
||||||
## begin gnulib module size_max
|
## begin gnulib module size_max
|
||||||
|
|
||||||
|
if gl_GNULIB_ENABLED_size_max
|
||||||
libgnu_la_SOURCES += size_max.h
|
libgnu_la_SOURCES += size_max.h
|
||||||
|
|
||||||
|
endif
|
||||||
## end gnulib module size_max
|
## end gnulib module size_max
|
||||||
|
|
||||||
## begin gnulib module snippet/arg-nonnull
|
## begin gnulib module snippet/arg-nonnull
|
||||||
|
@ -843,6 +869,7 @@ EXTRA_DIST += stdio.in.h
|
||||||
|
|
||||||
## begin gnulib module string
|
## begin gnulib module string
|
||||||
|
|
||||||
|
if gl_GNULIB_ENABLED_string
|
||||||
BUILT_SOURCES += string.h
|
BUILT_SOURCES += string.h
|
||||||
|
|
||||||
# We need the following in order to create <string.h> when the system
|
# We need the following in order to create <string.h> when the system
|
||||||
|
@ -939,6 +966,7 @@ string.h: string.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H
|
||||||
mv $@-t $@
|
mv $@-t $@
|
||||||
MOSTLYCLEANFILES += string.h string.h-t
|
MOSTLYCLEANFILES += string.h string.h-t
|
||||||
|
|
||||||
|
endif
|
||||||
EXTRA_DIST += string.in.h
|
EXTRA_DIST += string.in.h
|
||||||
|
|
||||||
## end gnulib module string
|
## end gnulib module string
|
||||||
|
@ -1036,7 +1064,9 @@ EXTRA_DIST += sys_types.in.h
|
||||||
|
|
||||||
## begin gnulib module vasnprintf
|
## begin gnulib module vasnprintf
|
||||||
|
|
||||||
|
if gl_GNULIB_ENABLED_vasnprintf
|
||||||
|
|
||||||
|
endif
|
||||||
EXTRA_DIST += asnprintf.c float+.h printf-args.c printf-args.h printf-parse.c printf-parse.h vasnprintf.c vasnprintf.h
|
EXTRA_DIST += asnprintf.c float+.h printf-args.c printf-args.h printf-parse.c printf-parse.h vasnprintf.c vasnprintf.h
|
||||||
|
|
||||||
EXTRA_libgnu_la_SOURCES += asnprintf.c printf-args.c printf-parse.c vasnprintf.c
|
EXTRA_libgnu_la_SOURCES += asnprintf.c printf-args.c printf-parse.c vasnprintf.c
|
||||||
|
@ -1045,13 +1075,16 @@ EXTRA_libgnu_la_SOURCES += asnprintf.c printf-args.c printf-parse.c vasnprintf.c
|
||||||
|
|
||||||
## begin gnulib module verify
|
## begin gnulib module verify
|
||||||
|
|
||||||
|
if gl_GNULIB_ENABLED_verify
|
||||||
|
|
||||||
|
endif
|
||||||
EXTRA_DIST += verify.h
|
EXTRA_DIST += verify.h
|
||||||
|
|
||||||
## end gnulib module verify
|
## end gnulib module verify
|
||||||
|
|
||||||
## begin gnulib module wchar
|
## begin gnulib module wchar
|
||||||
|
|
||||||
|
if gl_GNULIB_ENABLED_wchar
|
||||||
BUILT_SOURCES += wchar.h
|
BUILT_SOURCES += wchar.h
|
||||||
|
|
||||||
# We need the following in order to create <wchar.h> when the system
|
# We need the following in order to create <wchar.h> when the system
|
||||||
|
@ -1172,14 +1205,17 @@ wchar.h: wchar.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H)
|
||||||
mv $@-t $@
|
mv $@-t $@
|
||||||
MOSTLYCLEANFILES += wchar.h wchar.h-t
|
MOSTLYCLEANFILES += wchar.h wchar.h-t
|
||||||
|
|
||||||
|
endif
|
||||||
EXTRA_DIST += wchar.in.h
|
EXTRA_DIST += wchar.in.h
|
||||||
|
|
||||||
## end gnulib module wchar
|
## end gnulib module wchar
|
||||||
|
|
||||||
## begin gnulib module xsize
|
## begin gnulib module xsize
|
||||||
|
|
||||||
|
if gl_GNULIB_ENABLED_xsize
|
||||||
libgnu_la_SOURCES += xsize.h xsize.c
|
libgnu_la_SOURCES += xsize.h xsize.c
|
||||||
|
|
||||||
|
endif
|
||||||
## end gnulib module xsize
|
## end gnulib module xsize
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -27,7 +27,7 @@
|
||||||
|
|
||||||
|
|
||||||
# Specification in the form of a command-line invocation:
|
# Specification in the form of a command-line invocation:
|
||||||
# gnulib-tool --import --lib=libgnu --source-base=lib --m4-base=m4 --doc-base=doc --tests-base=tests --aux-dir=autotools --no-conditional-dependencies --libtool --macro-prefix=gl --no-vc-files fprintf-posix getrusage sys_resource sys_time
|
# gnulib-tool --import --lib=libgnu --source-base=lib --m4-base=m4 --doc-base=doc --tests-base=tests --aux-dir=autotools --conditional-dependencies --libtool --macro-prefix=gl --no-vc-files fprintf-posix getrusage sys_resource sys_time
|
||||||
|
|
||||||
# Specification in the form of a few gnulib-tool.m4 macro invocations:
|
# Specification in the form of a few gnulib-tool.m4 macro invocations:
|
||||||
gl_LOCAL_DIR([])
|
gl_LOCAL_DIR([])
|
||||||
|
@ -45,6 +45,7 @@ gl_DOC_BASE([doc])
|
||||||
gl_TESTS_BASE([tests])
|
gl_TESTS_BASE([tests])
|
||||||
gl_LIB([libgnu])
|
gl_LIB([libgnu])
|
||||||
gl_MAKEFILE_NAME([])
|
gl_MAKEFILE_NAME([])
|
||||||
|
gl_CONDITIONAL_DEPENDENCIES
|
||||||
gl_LIBTOOL
|
gl_LIBTOOL
|
||||||
gl_MACRO_PREFIX([gl])
|
gl_MACRO_PREFIX([gl])
|
||||||
gl_PO_DOMAIN([])
|
gl_PO_DOMAIN([])
|
||||||
|
|
|
@ -103,7 +103,6 @@ AC_DEFUN([gl_INIT],
|
||||||
gl_source_base='lib'
|
gl_source_base='lib'
|
||||||
gl_FUNC_ALLOCA
|
gl_FUNC_ALLOCA
|
||||||
gl_HEADER_ERRNO_H
|
gl_HEADER_ERRNO_H
|
||||||
AC_REQUIRE([gl_EXTERN_INLINE])
|
|
||||||
gl_FLOAT_H
|
gl_FLOAT_H
|
||||||
if test $REPLACE_FLOAT_LDBL = 1; then
|
if test $REPLACE_FLOAT_LDBL = 1; then
|
||||||
AC_LIBOBJ([float])
|
AC_LIBOBJ([float])
|
||||||
|
@ -113,52 +112,192 @@ AC_DEFUN([gl_INIT],
|
||||||
fi
|
fi
|
||||||
gl_FUNC_FPRINTF_POSIX
|
gl_FUNC_FPRINTF_POSIX
|
||||||
gl_STDIO_MODULE_INDICATOR([fprintf-posix])
|
gl_STDIO_MODULE_INDICATOR([fprintf-posix])
|
||||||
gl_FUNC_FREXP_NO_LIBM
|
|
||||||
if test $gl_func_frexp_no_libm != yes; then
|
|
||||||
AC_LIBOBJ([frexp])
|
|
||||||
fi
|
|
||||||
gl_MATH_MODULE_INDICATOR([frexp])
|
|
||||||
gl_FUNC_FREXPL_NO_LIBM
|
|
||||||
if test $HAVE_DECL_FREXPL = 0 || test $gl_func_frexpl_no_libm = no; then
|
|
||||||
AC_LIBOBJ([frexpl])
|
|
||||||
fi
|
|
||||||
gl_MATH_MODULE_INDICATOR([frexpl])
|
|
||||||
gl_FUNC_FSETERR
|
|
||||||
if test $ac_cv_func___fseterr = no; then
|
|
||||||
AC_LIBOBJ([fseterr])
|
|
||||||
fi
|
|
||||||
gl_FUNC_GETRUSAGE
|
gl_FUNC_GETRUSAGE
|
||||||
if test $HAVE_GETRUSAGE = 0; then
|
if test $HAVE_GETRUSAGE = 0; then
|
||||||
AC_LIBOBJ([getrusage])
|
AC_LIBOBJ([getrusage])
|
||||||
fi
|
fi
|
||||||
gl_SYS_RESOURCE_MODULE_INDICATOR([getrusage])
|
gl_SYS_RESOURCE_MODULE_INDICATOR([getrusage])
|
||||||
|
gl_LIMITS_H
|
||||||
|
gl_MULTIARCH
|
||||||
|
m4_divert_text([INIT_PREPARE], [gl_printf_safe=yes])
|
||||||
|
gt_TYPE_SSIZE_T
|
||||||
|
gl_STDDEF_H
|
||||||
|
gl_STDINT_H
|
||||||
|
gl_STDIO_H
|
||||||
|
gl_HEADER_SYS_RESOURCE
|
||||||
|
AC_PROG_MKDIR_P
|
||||||
|
gl_HEADER_SYS_TIME_H
|
||||||
|
AC_PROG_MKDIR_P
|
||||||
|
gl_SYS_TYPES_H
|
||||||
|
AC_PROG_MKDIR_P
|
||||||
|
gl_gnulib_enabled_8ba2abba379e5cbd6f80c374ac0bfe27=false
|
||||||
|
gl_gnulib_enabled_fpieee=false
|
||||||
|
gl_gnulib_enabled_fpucw=false
|
||||||
|
gl_gnulib_enabled_e1c6a1281ce2cc59c716894550bcb2b5=false
|
||||||
|
gl_gnulib_enabled_e0ca81912f23214e44f5700922db34be=false
|
||||||
|
gl_gnulib_enabled_fseterr=false
|
||||||
|
gl_gnulib_enabled_b1df7117b479d2da59d76deba468ee21=false
|
||||||
|
gl_gnulib_enabled_3f0e593033d1fc2c127581960f641b66=false
|
||||||
|
gl_gnulib_enabled_dbdf22868a5367f28bf18e0013ac6f8f=false
|
||||||
|
gl_gnulib_enabled_math=false
|
||||||
|
gl_gnulib_enabled_memchr=false
|
||||||
|
gl_gnulib_enabled_2f551a684aab5400633cbfd56df3bf94=false
|
||||||
|
gl_gnulib_enabled_bba639f0cfd658540d716f3a2ba5e68f=false
|
||||||
|
gl_gnulib_enabled_signbit=false
|
||||||
|
gl_gnulib_enabled_size_max=false
|
||||||
|
gl_gnulib_enabled_string=false
|
||||||
|
gl_gnulib_enabled_vasnprintf=false
|
||||||
|
gl_gnulib_enabled_verify=false
|
||||||
|
gl_gnulib_enabled_wchar=false
|
||||||
|
gl_gnulib_enabled_xsize=false
|
||||||
|
func_gl_gnulib_m4code_8ba2abba379e5cbd6f80c374ac0bfe27 ()
|
||||||
|
{
|
||||||
|
if ! $gl_gnulib_enabled_8ba2abba379e5cbd6f80c374ac0bfe27; then
|
||||||
|
AC_REQUIRE([gl_EXTERN_INLINE])
|
||||||
|
gl_gnulib_enabled_8ba2abba379e5cbd6f80c374ac0bfe27=true
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
func_gl_gnulib_m4code_fpieee ()
|
||||||
|
{
|
||||||
|
if ! $gl_gnulib_enabled_fpieee; then
|
||||||
|
gl_gnulib_enabled_fpieee=true
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
func_gl_gnulib_m4code_fpucw ()
|
||||||
|
{
|
||||||
|
if ! $gl_gnulib_enabled_fpucw; then
|
||||||
|
gl_gnulib_enabled_fpucw=true
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
func_gl_gnulib_m4code_e1c6a1281ce2cc59c716894550bcb2b5 ()
|
||||||
|
{
|
||||||
|
if ! $gl_gnulib_enabled_e1c6a1281ce2cc59c716894550bcb2b5; then
|
||||||
|
gl_FUNC_FREXP_NO_LIBM
|
||||||
|
if test $gl_func_frexp_no_libm != yes; then
|
||||||
|
AC_LIBOBJ([frexp])
|
||||||
|
fi
|
||||||
|
gl_MATH_MODULE_INDICATOR([frexp])
|
||||||
|
gl_gnulib_enabled_e1c6a1281ce2cc59c716894550bcb2b5=true
|
||||||
|
if test $gl_func_frexp_no_libm != yes; then
|
||||||
|
func_gl_gnulib_m4code_b1df7117b479d2da59d76deba468ee21
|
||||||
|
fi
|
||||||
|
func_gl_gnulib_m4code_math
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
func_gl_gnulib_m4code_e0ca81912f23214e44f5700922db34be ()
|
||||||
|
{
|
||||||
|
if ! $gl_gnulib_enabled_e0ca81912f23214e44f5700922db34be; then
|
||||||
|
gl_FUNC_FREXPL_NO_LIBM
|
||||||
|
if test $HAVE_DECL_FREXPL = 0 || test $gl_func_frexpl_no_libm = no; then
|
||||||
|
AC_LIBOBJ([frexpl])
|
||||||
|
fi
|
||||||
|
gl_MATH_MODULE_INDICATOR([frexpl])
|
||||||
|
gl_gnulib_enabled_e0ca81912f23214e44f5700922db34be=true
|
||||||
|
if { test $HAVE_DECL_FREXPL = 0 || test $gl_func_frexpl_no_libm = no; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0; then
|
||||||
|
func_gl_gnulib_m4code_fpucw
|
||||||
|
fi
|
||||||
|
if { test $HAVE_DECL_FREXPL = 0 || test $gl_func_frexpl_no_libm = no; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 1; then
|
||||||
|
func_gl_gnulib_m4code_e1c6a1281ce2cc59c716894550bcb2b5
|
||||||
|
fi
|
||||||
|
if { test $HAVE_DECL_FREXPL = 0 || test $gl_func_frexpl_no_libm = no; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0; then
|
||||||
|
func_gl_gnulib_m4code_dbdf22868a5367f28bf18e0013ac6f8f
|
||||||
|
fi
|
||||||
|
func_gl_gnulib_m4code_math
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
func_gl_gnulib_m4code_fseterr ()
|
||||||
|
{
|
||||||
|
if ! $gl_gnulib_enabled_fseterr; then
|
||||||
|
gl_FUNC_FSETERR
|
||||||
|
if test $ac_cv_func___fseterr = no; then
|
||||||
|
AC_LIBOBJ([fseterr])
|
||||||
|
fi
|
||||||
|
gl_gnulib_enabled_fseterr=true
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
func_gl_gnulib_m4code_b1df7117b479d2da59d76deba468ee21 ()
|
||||||
|
{
|
||||||
|
if ! $gl_gnulib_enabled_b1df7117b479d2da59d76deba468ee21; then
|
||||||
gl_FUNC_ISNAND_NO_LIBM
|
gl_FUNC_ISNAND_NO_LIBM
|
||||||
if test $gl_func_isnand_no_libm != yes; then
|
if test $gl_func_isnand_no_libm != yes; then
|
||||||
AC_LIBOBJ([isnand])
|
AC_LIBOBJ([isnand])
|
||||||
gl_PREREQ_ISNAND
|
gl_PREREQ_ISNAND
|
||||||
fi
|
fi
|
||||||
|
gl_gnulib_enabled_b1df7117b479d2da59d76deba468ee21=true
|
||||||
|
func_gl_gnulib_m4code_fpieee
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
func_gl_gnulib_m4code_3f0e593033d1fc2c127581960f641b66 ()
|
||||||
|
{
|
||||||
|
if ! $gl_gnulib_enabled_3f0e593033d1fc2c127581960f641b66; then
|
||||||
gl_FUNC_ISNANF_NO_LIBM
|
gl_FUNC_ISNANF_NO_LIBM
|
||||||
if test $gl_func_isnanf_no_libm != yes; then
|
if test $gl_func_isnanf_no_libm != yes; then
|
||||||
AC_LIBOBJ([isnanf])
|
AC_LIBOBJ([isnanf])
|
||||||
gl_PREREQ_ISNANF
|
gl_PREREQ_ISNANF
|
||||||
fi
|
fi
|
||||||
|
gl_gnulib_enabled_3f0e593033d1fc2c127581960f641b66=true
|
||||||
|
func_gl_gnulib_m4code_fpieee
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
func_gl_gnulib_m4code_dbdf22868a5367f28bf18e0013ac6f8f ()
|
||||||
|
{
|
||||||
|
if ! $gl_gnulib_enabled_dbdf22868a5367f28bf18e0013ac6f8f; then
|
||||||
gl_FUNC_ISNANL_NO_LIBM
|
gl_FUNC_ISNANL_NO_LIBM
|
||||||
if test $gl_func_isnanl_no_libm != yes; then
|
if test $gl_func_isnanl_no_libm != yes; then
|
||||||
AC_LIBOBJ([isnanl])
|
AC_LIBOBJ([isnanl])
|
||||||
gl_PREREQ_ISNANL
|
gl_PREREQ_ISNANL
|
||||||
fi
|
fi
|
||||||
gl_LIMITS_H
|
gl_gnulib_enabled_dbdf22868a5367f28bf18e0013ac6f8f=true
|
||||||
|
func_gl_gnulib_m4code_fpieee
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
func_gl_gnulib_m4code_math ()
|
||||||
|
{
|
||||||
|
if ! $gl_gnulib_enabled_math; then
|
||||||
gl_MATH_H
|
gl_MATH_H
|
||||||
|
gl_gnulib_enabled_math=true
|
||||||
|
func_gl_gnulib_m4code_8ba2abba379e5cbd6f80c374ac0bfe27
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
func_gl_gnulib_m4code_memchr ()
|
||||||
|
{
|
||||||
|
if ! $gl_gnulib_enabled_memchr; then
|
||||||
gl_FUNC_MEMCHR
|
gl_FUNC_MEMCHR
|
||||||
if test $HAVE_MEMCHR = 0 || test $REPLACE_MEMCHR = 1; then
|
if test $HAVE_MEMCHR = 0 || test $REPLACE_MEMCHR = 1; then
|
||||||
AC_LIBOBJ([memchr])
|
AC_LIBOBJ([memchr])
|
||||||
gl_PREREQ_MEMCHR
|
gl_PREREQ_MEMCHR
|
||||||
fi
|
fi
|
||||||
gl_STRING_MODULE_INDICATOR([memchr])
|
gl_STRING_MODULE_INDICATOR([memchr])
|
||||||
gl_MULTIARCH
|
gl_gnulib_enabled_memchr=true
|
||||||
|
func_gl_gnulib_m4code_string
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
func_gl_gnulib_m4code_2f551a684aab5400633cbfd56df3bf94 ()
|
||||||
|
{
|
||||||
|
if ! $gl_gnulib_enabled_2f551a684aab5400633cbfd56df3bf94; then
|
||||||
gl_FUNC_PRINTF_FREXP
|
gl_FUNC_PRINTF_FREXP
|
||||||
|
gl_gnulib_enabled_2f551a684aab5400633cbfd56df3bf94=true
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
func_gl_gnulib_m4code_bba639f0cfd658540d716f3a2ba5e68f ()
|
||||||
|
{
|
||||||
|
if ! $gl_gnulib_enabled_bba639f0cfd658540d716f3a2ba5e68f; then
|
||||||
gl_FUNC_PRINTF_FREXPL
|
gl_FUNC_PRINTF_FREXPL
|
||||||
m4_divert_text([INIT_PREPARE], [gl_printf_safe=yes])
|
gl_gnulib_enabled_bba639f0cfd658540d716f3a2ba5e68f=true
|
||||||
|
if test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0; then
|
||||||
|
func_gl_gnulib_m4code_fpucw
|
||||||
|
fi
|
||||||
|
if test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0; then
|
||||||
|
func_gl_gnulib_m4code_math
|
||||||
|
fi
|
||||||
|
if test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 1; then
|
||||||
|
func_gl_gnulib_m4code_2f551a684aab5400633cbfd56df3bf94
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
func_gl_gnulib_m4code_signbit ()
|
||||||
|
{
|
||||||
|
if ! $gl_gnulib_enabled_signbit; then
|
||||||
gl_SIGNBIT
|
gl_SIGNBIT
|
||||||
if test $REPLACE_SIGNBIT = 1; then
|
if test $REPLACE_SIGNBIT = 1; then
|
||||||
AC_LIBOBJ([signbitf])
|
AC_LIBOBJ([signbitf])
|
||||||
|
@ -166,21 +305,121 @@ AC_DEFUN([gl_INIT],
|
||||||
AC_LIBOBJ([signbitl])
|
AC_LIBOBJ([signbitl])
|
||||||
fi
|
fi
|
||||||
gl_MATH_MODULE_INDICATOR([signbit])
|
gl_MATH_MODULE_INDICATOR([signbit])
|
||||||
|
gl_gnulib_enabled_signbit=true
|
||||||
|
if test $REPLACE_SIGNBIT = 1; then
|
||||||
|
func_gl_gnulib_m4code_fpieee
|
||||||
|
fi
|
||||||
|
if test $REPLACE_SIGNBIT = 1; then
|
||||||
|
func_gl_gnulib_m4code_b1df7117b479d2da59d76deba468ee21
|
||||||
|
fi
|
||||||
|
if test $REPLACE_SIGNBIT = 1; then
|
||||||
|
func_gl_gnulib_m4code_3f0e593033d1fc2c127581960f641b66
|
||||||
|
fi
|
||||||
|
if test $REPLACE_SIGNBIT = 1; then
|
||||||
|
func_gl_gnulib_m4code_dbdf22868a5367f28bf18e0013ac6f8f
|
||||||
|
fi
|
||||||
|
func_gl_gnulib_m4code_math
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
func_gl_gnulib_m4code_size_max ()
|
||||||
|
{
|
||||||
|
if ! $gl_gnulib_enabled_size_max; then
|
||||||
gl_SIZE_MAX
|
gl_SIZE_MAX
|
||||||
gt_TYPE_SSIZE_T
|
gl_gnulib_enabled_size_max=true
|
||||||
gl_STDDEF_H
|
fi
|
||||||
gl_STDINT_H
|
}
|
||||||
gl_STDIO_H
|
func_gl_gnulib_m4code_string ()
|
||||||
|
{
|
||||||
|
if ! $gl_gnulib_enabled_string; then
|
||||||
gl_HEADER_STRING_H
|
gl_HEADER_STRING_H
|
||||||
gl_HEADER_SYS_RESOURCE
|
gl_gnulib_enabled_string=true
|
||||||
AC_PROG_MKDIR_P
|
func_gl_gnulib_m4code_8ba2abba379e5cbd6f80c374ac0bfe27
|
||||||
gl_HEADER_SYS_TIME_H
|
fi
|
||||||
AC_PROG_MKDIR_P
|
}
|
||||||
gl_SYS_TYPES_H
|
func_gl_gnulib_m4code_vasnprintf ()
|
||||||
AC_PROG_MKDIR_P
|
{
|
||||||
|
if ! $gl_gnulib_enabled_vasnprintf; then
|
||||||
gl_FUNC_VASNPRINTF
|
gl_FUNC_VASNPRINTF
|
||||||
|
gl_gnulib_enabled_vasnprintf=true
|
||||||
|
func_gl_gnulib_m4code_memchr
|
||||||
|
func_gl_gnulib_m4code_verify
|
||||||
|
func_gl_gnulib_m4code_wchar
|
||||||
|
func_gl_gnulib_m4code_xsize
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
func_gl_gnulib_m4code_verify ()
|
||||||
|
{
|
||||||
|
if ! $gl_gnulib_enabled_verify; then
|
||||||
|
gl_gnulib_enabled_verify=true
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
func_gl_gnulib_m4code_wchar ()
|
||||||
|
{
|
||||||
|
if ! $gl_gnulib_enabled_wchar; then
|
||||||
gl_WCHAR_H
|
gl_WCHAR_H
|
||||||
|
gl_gnulib_enabled_wchar=true
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
func_gl_gnulib_m4code_xsize ()
|
||||||
|
{
|
||||||
|
if ! $gl_gnulib_enabled_xsize; then
|
||||||
gl_XSIZE
|
gl_XSIZE
|
||||||
|
gl_gnulib_enabled_xsize=true
|
||||||
|
func_gl_gnulib_m4code_8ba2abba379e5cbd6f80c374ac0bfe27
|
||||||
|
func_gl_gnulib_m4code_size_max
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
if test $REPLACE_FPRINTF = 1; then
|
||||||
|
func_gl_gnulib_m4code_fpucw
|
||||||
|
fi
|
||||||
|
if test $REPLACE_FPRINTF = 1; then
|
||||||
|
func_gl_gnulib_m4code_e1c6a1281ce2cc59c716894550bcb2b5
|
||||||
|
fi
|
||||||
|
if test $REPLACE_FPRINTF = 1; then
|
||||||
|
func_gl_gnulib_m4code_e0ca81912f23214e44f5700922db34be
|
||||||
|
fi
|
||||||
|
if test $REPLACE_FPRINTF = 1; then
|
||||||
|
func_gl_gnulib_m4code_fseterr
|
||||||
|
fi
|
||||||
|
if test $REPLACE_FPRINTF = 1; then
|
||||||
|
func_gl_gnulib_m4code_b1df7117b479d2da59d76deba468ee21
|
||||||
|
fi
|
||||||
|
if test $REPLACE_FPRINTF = 1; then
|
||||||
|
func_gl_gnulib_m4code_dbdf22868a5367f28bf18e0013ac6f8f
|
||||||
|
fi
|
||||||
|
if test $REPLACE_FPRINTF = 1; then
|
||||||
|
func_gl_gnulib_m4code_2f551a684aab5400633cbfd56df3bf94
|
||||||
|
fi
|
||||||
|
if test $REPLACE_FPRINTF = 1; then
|
||||||
|
func_gl_gnulib_m4code_bba639f0cfd658540d716f3a2ba5e68f
|
||||||
|
fi
|
||||||
|
if test $REPLACE_FPRINTF = 1; then
|
||||||
|
func_gl_gnulib_m4code_signbit
|
||||||
|
fi
|
||||||
|
if test $REPLACE_FPRINTF = 1; then
|
||||||
|
func_gl_gnulib_m4code_vasnprintf
|
||||||
|
fi
|
||||||
|
m4_pattern_allow([^gl_GNULIB_ENABLED_])
|
||||||
|
AM_CONDITIONAL([gl_GNULIB_ENABLED_8ba2abba379e5cbd6f80c374ac0bfe27], [$gl_gnulib_enabled_8ba2abba379e5cbd6f80c374ac0bfe27])
|
||||||
|
AM_CONDITIONAL([gl_GNULIB_ENABLED_fpieee], [$gl_gnulib_enabled_fpieee])
|
||||||
|
AM_CONDITIONAL([gl_GNULIB_ENABLED_fpucw], [$gl_gnulib_enabled_fpucw])
|
||||||
|
AM_CONDITIONAL([gl_GNULIB_ENABLED_e1c6a1281ce2cc59c716894550bcb2b5], [$gl_gnulib_enabled_e1c6a1281ce2cc59c716894550bcb2b5])
|
||||||
|
AM_CONDITIONAL([gl_GNULIB_ENABLED_e0ca81912f23214e44f5700922db34be], [$gl_gnulib_enabled_e0ca81912f23214e44f5700922db34be])
|
||||||
|
AM_CONDITIONAL([gl_GNULIB_ENABLED_fseterr], [$gl_gnulib_enabled_fseterr])
|
||||||
|
AM_CONDITIONAL([gl_GNULIB_ENABLED_b1df7117b479d2da59d76deba468ee21], [$gl_gnulib_enabled_b1df7117b479d2da59d76deba468ee21])
|
||||||
|
AM_CONDITIONAL([gl_GNULIB_ENABLED_3f0e593033d1fc2c127581960f641b66], [$gl_gnulib_enabled_3f0e593033d1fc2c127581960f641b66])
|
||||||
|
AM_CONDITIONAL([gl_GNULIB_ENABLED_dbdf22868a5367f28bf18e0013ac6f8f], [$gl_gnulib_enabled_dbdf22868a5367f28bf18e0013ac6f8f])
|
||||||
|
AM_CONDITIONAL([gl_GNULIB_ENABLED_math], [$gl_gnulib_enabled_math])
|
||||||
|
AM_CONDITIONAL([gl_GNULIB_ENABLED_memchr], [$gl_gnulib_enabled_memchr])
|
||||||
|
AM_CONDITIONAL([gl_GNULIB_ENABLED_2f551a684aab5400633cbfd56df3bf94], [$gl_gnulib_enabled_2f551a684aab5400633cbfd56df3bf94])
|
||||||
|
AM_CONDITIONAL([gl_GNULIB_ENABLED_bba639f0cfd658540d716f3a2ba5e68f], [$gl_gnulib_enabled_bba639f0cfd658540d716f3a2ba5e68f])
|
||||||
|
AM_CONDITIONAL([gl_GNULIB_ENABLED_signbit], [$gl_gnulib_enabled_signbit])
|
||||||
|
AM_CONDITIONAL([gl_GNULIB_ENABLED_size_max], [$gl_gnulib_enabled_size_max])
|
||||||
|
AM_CONDITIONAL([gl_GNULIB_ENABLED_string], [$gl_gnulib_enabled_string])
|
||||||
|
AM_CONDITIONAL([gl_GNULIB_ENABLED_vasnprintf], [$gl_gnulib_enabled_vasnprintf])
|
||||||
|
AM_CONDITIONAL([gl_GNULIB_ENABLED_verify], [$gl_gnulib_enabled_verify])
|
||||||
|
AM_CONDITIONAL([gl_GNULIB_ENABLED_wchar], [$gl_gnulib_enabled_wchar])
|
||||||
|
AM_CONDITIONAL([gl_GNULIB_ENABLED_xsize], [$gl_gnulib_enabled_xsize])
|
||||||
# End of code from modules
|
# End of code from modules
|
||||||
m4_ifval(gl_LIBSOURCES_LIST, [
|
m4_ifval(gl_LIBSOURCES_LIST, [
|
||||||
m4_syscmd([test ! -d ]m4_defn([gl_LIBSOURCES_DIR])[ ||
|
m4_syscmd([test ! -d ]m4_defn([gl_LIBSOURCES_DIR])[ ||
|
||||||
|
@ -227,6 +466,7 @@ changequote([, ])dnl
|
||||||
AC_SUBST([gltests_WITNESS])
|
AC_SUBST([gltests_WITNESS])
|
||||||
gl_module_indicator_condition=$gltests_WITNESS
|
gl_module_indicator_condition=$gltests_WITNESS
|
||||||
m4_pushdef([gl_MODULE_INDICATOR_CONDITION], [$gl_module_indicator_condition])
|
m4_pushdef([gl_MODULE_INDICATOR_CONDITION], [$gl_module_indicator_condition])
|
||||||
|
m4_pattern_allow([^gl_GNULIB_ENABLED_])
|
||||||
m4_popdef([gl_MODULE_INDICATOR_CONDITION])
|
m4_popdef([gl_MODULE_INDICATOR_CONDITION])
|
||||||
m4_ifval(gltests_LIBSOURCES_LIST, [
|
m4_ifval(gltests_LIBSOURCES_LIST, [
|
||||||
m4_syscmd([test ! -d ]m4_defn([gltests_LIBSOURCES_DIR])[ ||
|
m4_syscmd([test ! -d ]m4_defn([gltests_LIBSOURCES_DIR])[ ||
|
||||||
|
|
Loading…
Reference in a new issue