diff options
author | Bruno Haible <bruno@clisp.org> | 2012-03-06 16:24:16 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2012-03-06 16:24:16 +0100 |
commit | bf6909e5ca400414ed0730b7f64e48d04993936e (patch) | |
tree | a21cf2de7e2facf594fb86c517bdff80e41f64a8 /modules | |
parent | 1a4bcf1fcb2eff583c89821846bfa4e212d9963c (diff) | |
download | gnulib-bf6909e5ca400414ed0730b7f64e48d04993936e.tar.gz |
math: Ensure declarations of math functions.
* modules/acosf (Depends-on): Add 'extensions'.
* modules/asinf (Depends-on): Likewise.
* modules/atan2f (Depends-on): Likewise.
* modules/atanf (Depends-on): Likewise.
* modules/cbrt (Depends-on): Likewise.
* modules/cbrtf (Depends-on): Likewise.
* modules/cbrtl (Depends-on): Likewise.
* modules/copysignf (Depends-on): Likewise.
* modules/copysignl (Depends-on): Likewise.
* modules/cosf (Depends-on): Likewise.
* modules/coshf (Depends-on): Likewise.
* modules/expf (Depends-on): Likewise.
* modules/fabsf (Depends-on): Likewise.
* modules/fabsl (Depends-on): Likewise.
* modules/fmaf (Depends-on): Likewise.
* modules/fmal (Depends-on): Likewise.
* modules/fmodf (Depends-on): Likewise.
* modules/fmodl (Depends-on): Likewise.
* modules/frexpf (Depends-on): Likewise.
* modules/frexpl (Depends-on): Likewise.
* modules/hypot (Depends-on): Likewise.
* modules/hypotf (Depends-on): Likewise.
* modules/hypotl (Depends-on): Likewise.
* modules/ldexpf (Depends-on): Likewise.
* modules/ldexpl (Depends-on): Likewise.
* modules/log10f (Depends-on): Likewise.
* modules/log10l (Depends-on): Likewise.
* modules/log1p (Depends-on): Likewise.
* modules/logb (Depends-on): Likewise.
* modules/logf (Depends-on): Likewise.
* modules/modff (Depends-on): Likewise.
* modules/modfl (Depends-on): Likewise.
* modules/powf (Depends-on): Likewise.
* modules/remainderf (Depends-on): Likewise.
* modules/remainderl (Depends-on): Likewise.
* modules/rintf (Depends-on): Likewise.
* modules/rintl (Depends-on): Likewise.
* modules/sinf (Depends-on): Likewise.
* modules/sinhf (Depends-on): Likewise.
* modules/sqrtf (Depends-on): Likewise.
* modules/tanf (Depends-on): Likewise.
* modules/tanhf (Depends-on): Likewise.
* m4/acosf.m4 (gl_FUNC_ACOSF): Require gl_USE_SYSTEM_EXTENSIONS.
* m4/asinf.m4 (gl_FUNC_ASINF): Likewise.
* m4/atan2f.m4 (gl_FUNC_ATAN2F): Likewise.
* m4/atanf.m4 (gl_FUNC_ATANF): Likewise.
* m4/cbrt.m4 (gl_FUNC_CBRT): Likewise.
* m4/cbrtf.m4 (gl_FUNC_CBRTF): Likewise.
* m4/cbrtl.m4 (gl_FUNC_CBRTL): Likewise.
* m4/copysignf.m4 (gl_FUNC_COPYSIGNF): Likewise.
* m4/copysignl.m4 (gl_FUNC_COPYSIGNL): Likewise.
* m4/cosf.m4 (gl_FUNC_COSF): Likewise.
* m4/coshf.m4 (gl_FUNC_COSHF): Likewise.
* m4/expf.m4 (gl_FUNC_EXPF): Likewise.
* m4/fabsf.m4 (gl_FUNC_FABSF): Likewise.
* m4/fabsl.m4 (gl_FUNC_FABSL): Likewise.
* m4/fmaf.m4 (gl_FUNC_FMAF): Likewise.
* m4/fmal.m4 (gl_FUNC_FMAL): Likewise.
* m4/fmodf.m4 (gl_FUNC_FMODF): Likewise.
* m4/fmodl.m4 (gl_FUNC_FMODL): Likewise.
* m4/frexpf.m4 (gl_FUNC_FREXPF): Likewise.
* m4/frexpl.m4 (gl_FUNC_FREXPL): Likewise.
* m4/hypot.m4 (gl_FUNC_HYPOT): Likewise.
* m4/hypotf.m4 (gl_FUNC_HYPOTF): Likewise.
* m4/hypotl.m4 (gl_FUNC_HYPOTL): Likewise.
* m4/ldexpf.m4 (gl_FUNC_LDEXPF): Likewise.
* m4/ldexpl.m4 (gl_FUNC_LDEXPL): Likewise.
* m4/log10f.m4 (gl_FUNC_LOG10F): Likewise.
* m4/log10l.m4 (gl_FUNC_LOF10L): Likewise.
* m4/logb.m4 (gl_FUNC_LOGB): Likewise.
* m4/logf.m4 (gl_FUNC_LOGF): Likewise.
* m4/modff.m4 (gl_FUNC_MODFF): Likewise.
* m4/modfl.m4 (gl_FUNC_MODFL): Likewise.
* m4/powf.m4 (gl_FUNC_POWF): Likewise.
* m4/remainderf.m4 (gl_FUNC_REMAINDERF): Likewise.
* m4/remainderl.m4 (gl_FUNC_REMAINDERL): Likewise.
* m4/rintf.m4 (gl_FUNC_RINTF): Likewise.
* m4/rintl.m4 (gl_FUNC_RINTL): Likewise.
* m4/sinf.m4 (gl_FUNC_SINF): Likewise.
* m4/sinhf.m4 (gl_FUNC_SINHF): Likewise.
* m4/sqrtf.m4 (gl_FUNC_SQRTF): Likewise.
* m4/tanf.m4 (gl_FUNC_TANF): Likewise.
* m4/tanhf.m4 (gl_FUNC_TANHF): Likewise.
Diffstat (limited to 'modules')
42 files changed, 42 insertions, 0 deletions
diff --git a/modules/acosf b/modules/acosf index aa61b03653..d91a2e23eb 100644 --- a/modules/acosf +++ b/modules/acosf @@ -7,6 +7,7 @@ m4/acosf.m4 Depends-on: math +extensions acos [test $HAVE_ACOSF = 0] configure.ac: diff --git a/modules/asinf b/modules/asinf index 395ff2c271..4fae74fe0f 100644 --- a/modules/asinf +++ b/modules/asinf @@ -7,6 +7,7 @@ m4/asinf.m4 Depends-on: math +extensions asin [test $HAVE_ASINF = 0] configure.ac: diff --git a/modules/atan2f b/modules/atan2f index f2d7dc65ed..73b52bad2b 100644 --- a/modules/atan2f +++ b/modules/atan2f @@ -7,6 +7,7 @@ m4/atan2f.m4 Depends-on: math +extensions atan2 [test $HAVE_ATAN2F = 0] configure.ac: diff --git a/modules/atanf b/modules/atanf index b17a4e621f..1ff77684a0 100644 --- a/modules/atanf +++ b/modules/atanf @@ -7,6 +7,7 @@ m4/atanf.m4 Depends-on: math +extensions atan [test $HAVE_ATANF = 0] configure.ac: diff --git a/modules/cbrt b/modules/cbrt index 3cb47118d8..7b5109a121 100644 --- a/modules/cbrt +++ b/modules/cbrt @@ -8,6 +8,7 @@ m4/mathfunc.m4 Depends-on: math +extensions isfinite [test $HAVE_CBRT = 0] fabs [test $HAVE_CBRT = 0] frexp [test $HAVE_CBRT = 0] diff --git a/modules/cbrtf b/modules/cbrtf index 06d2b7662f..c07e8ecc0c 100644 --- a/modules/cbrtf +++ b/modules/cbrtf @@ -9,6 +9,7 @@ m4/mathfunc.m4 Depends-on: math +extensions isfinite [test $HAVE_CBRTF = 0 || test $REPLACE_CBRTF = 1] fabsf [test $HAVE_CBRTF = 0 || test $REPLACE_CBRTF = 1] frexpf [test $HAVE_CBRTF = 0 || test $REPLACE_CBRTF = 1] diff --git a/modules/cbrtl b/modules/cbrtl index aec1cd7327..83c074c37c 100644 --- a/modules/cbrtl +++ b/modules/cbrtl @@ -9,6 +9,7 @@ m4/mathfunc.m4 Depends-on: math +extensions cbrt [{ test $HAVE_CBRTL = 0 || test $REPLACE_CBRTL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 1] isfinite [{ test $HAVE_CBRTL = 0 || test $REPLACE_CBRTL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0] frexpl [{ test $HAVE_CBRTL = 0 || test $REPLACE_CBRTL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0] diff --git a/modules/copysignf b/modules/copysignf index a446046ca1..f1bbdec03d 100644 --- a/modules/copysignf +++ b/modules/copysignf @@ -8,6 +8,7 @@ m4/mathfunc.m4 Depends-on: math +extensions signbit [test $HAVE_COPYSIGNF = 0] configure.ac: diff --git a/modules/copysignl b/modules/copysignl index f3d1fd3ef5..4691cdba97 100644 --- a/modules/copysignl +++ b/modules/copysignl @@ -8,6 +8,7 @@ m4/mathfunc.m4 Depends-on: math +extensions copysign [test $HAVE_COPYSIGNL = 0 && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 1] signbit [test $HAVE_COPYSIGNL = 0 && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0] diff --git a/modules/cosf b/modules/cosf index b9b9860c9d..1deb1abd7f 100644 --- a/modules/cosf +++ b/modules/cosf @@ -7,6 +7,7 @@ m4/cosf.m4 Depends-on: math +extensions cos [test $HAVE_COSF = 0] configure.ac: diff --git a/modules/coshf b/modules/coshf index d8a1e4be04..1eea140545 100644 --- a/modules/coshf +++ b/modules/coshf @@ -7,6 +7,7 @@ m4/coshf.m4 Depends-on: math +extensions cosh [test $HAVE_COSHF = 0] configure.ac: diff --git a/modules/expf b/modules/expf index 857fa25d45..48502083a1 100644 --- a/modules/expf +++ b/modules/expf @@ -7,6 +7,7 @@ m4/expf.m4 Depends-on: math +extensions exp [test $HAVE_EXPF = 0] configure.ac: diff --git a/modules/fabsf b/modules/fabsf index 2b203d1547..2d8088a272 100644 --- a/modules/fabsf +++ b/modules/fabsf @@ -8,6 +8,7 @@ m4/mathfunc.m4 Depends-on: math +extensions fabs [test $HAVE_FABSF = 0] configure.ac: diff --git a/modules/fabsl b/modules/fabsl index 686ddaa31f..cf43a20e8b 100644 --- a/modules/fabsl +++ b/modules/fabsl @@ -8,6 +8,7 @@ m4/mathfunc.m4 Depends-on: math +extensions fabs [{ test $HAVE_FABSL = 0 || test $REPLACE_FABSL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 1] signbit [{ test $HAVE_FABSL = 0 || test $REPLACE_FABSL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0] diff --git a/modules/fmaf b/modules/fmaf index fe80913e4c..172f389684 100644 --- a/modules/fmaf +++ b/modules/fmaf @@ -11,6 +11,7 @@ m4/mathfunc.m4 Depends-on: math +extensions float [test $HAVE_FMAF = 0 || test $REPLACE_FMAF = 1] stdbool [test $HAVE_FMAF = 0 || test $REPLACE_FMAF = 1] verify [test $HAVE_FMAF = 0 || test $REPLACE_FMAF = 1] diff --git a/modules/fmal b/modules/fmal index 962632baa5..8ec896ae18 100644 --- a/modules/fmal +++ b/modules/fmal @@ -11,6 +11,7 @@ m4/mathfunc.m4 Depends-on: math +extensions fma [{ test $HAVE_FMAL = 0 || test $REPLACE_FMAL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 1] float [{ test $HAVE_FMAL = 0 || test $REPLACE_FMAL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0] stdbool [{ test $HAVE_FMAL = 0 || test $REPLACE_FMAL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0] diff --git a/modules/fmodf b/modules/fmodf index fa49437a64..83f29bc537 100644 --- a/modules/fmodf +++ b/modules/fmodf @@ -7,6 +7,7 @@ m4/fmodf.m4 Depends-on: math +extensions fmod [test $HAVE_FMODF = 0 || test $REPLACE_FMODF = 1] configure.ac: diff --git a/modules/fmodl b/modules/fmodl index 2a4a3c9592..b8446f74fd 100644 --- a/modules/fmodl +++ b/modules/fmodl @@ -9,6 +9,7 @@ m4/mathfunc.m4 Depends-on: math +extensions fmod [{ test $HAVE_FMODL = 0 || test $REPLACE_FMODL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 1] float [{ test $HAVE_FMODL = 0 || test $REPLACE_FMODL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0] isfinite [{ test $HAVE_FMODL = 0 || test $REPLACE_FMODL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0] diff --git a/modules/frexpf b/modules/frexpf index efb2db72ec..b4ecd88c1b 100644 --- a/modules/frexpf +++ b/modules/frexpf @@ -8,6 +8,7 @@ m4/mathfunc.m4 Depends-on: math +extensions frexp [test $HAVE_FREXPF = 0 || test $REPLACE_FREXPF = 1] configure.ac: diff --git a/modules/frexpl b/modules/frexpl index a06edc5661..5e89907bd2 100644 --- a/modules/frexpl +++ b/modules/frexpl @@ -8,6 +8,7 @@ m4/frexpl.m4 Depends-on: math +extensions frexp [{ test $HAVE_DECL_FREXPL = 0 || test $gl_func_frexpl = no; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 1] isnanl-nolibm [{ test $HAVE_DECL_FREXPL = 0 || test $gl_func_frexpl = no; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0] fpucw [{ test $HAVE_DECL_FREXPL = 0 || test $gl_func_frexpl = no; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0] diff --git a/modules/hypot b/modules/hypot index 5d1414ee78..c67ee23f07 100644 --- a/modules/hypot +++ b/modules/hypot @@ -8,6 +8,7 @@ m4/mathfunc.m4 Depends-on: math +extensions isfinite [test $REPLACE_HYPOT = 1] fabs [test $REPLACE_HYPOT = 1] frexp [test $REPLACE_HYPOT = 1] diff --git a/modules/hypotf b/modules/hypotf index 82e09aa8a9..f9328e2e60 100644 --- a/modules/hypotf +++ b/modules/hypotf @@ -8,6 +8,7 @@ m4/mathfunc.m4 Depends-on: math +extensions hypot [test $HAVE_HYPOTF = 0 || test $REPLACE_HYPOTF = 1] configure.ac: diff --git a/modules/hypotl b/modules/hypotl index e8ba6e5372..7962cb1b74 100644 --- a/modules/hypotl +++ b/modules/hypotl @@ -8,6 +8,7 @@ m4/mathfunc.m4 Depends-on: math +extensions hypot [{ test $HAVE_HYPOTL = 0 || test $REPLACE_HYPOTL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 1] isfinite [{ test $HAVE_HYPOTL = 0 || test $REPLACE_HYPOTL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0] fabsl [{ test $HAVE_HYPOTL = 0 || test $REPLACE_HYPOTL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0] diff --git a/modules/ldexpf b/modules/ldexpf index 3c1f15c694..f2a9f37c17 100644 --- a/modules/ldexpf +++ b/modules/ldexpf @@ -8,6 +8,7 @@ m4/mathfunc.m4 Depends-on: math +extensions ldexp [test $HAVE_LDEXPF = 0] configure.ac: diff --git a/modules/ldexpl b/modules/ldexpl index 35e52ab0ce..69b2228331 100644 --- a/modules/ldexpl +++ b/modules/ldexpl @@ -7,6 +7,7 @@ m4/ldexpl.m4 Depends-on: math +extensions ldexp [{ test $HAVE_DECL_LDEXPL = 0 || test $gl_func_ldexpl = no; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 1] isnanl [{ test $HAVE_DECL_LDEXPL = 0 || test $gl_func_ldexpl = no; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0] fpucw [{ test $HAVE_DECL_LDEXPL = 0 || test $gl_func_ldexpl = no; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0] diff --git a/modules/log10f b/modules/log10f index d6c5b8b1ce..abcbaa64aa 100644 --- a/modules/log10f +++ b/modules/log10f @@ -7,6 +7,7 @@ m4/log10f.m4 Depends-on: math +extensions log10 [test $HAVE_LOG10F = 0] configure.ac: diff --git a/modules/log10l b/modules/log10l index 6e40021417..16b49cd683 100644 --- a/modules/log10l +++ b/modules/log10l @@ -7,6 +7,7 @@ m4/log10l.m4 Depends-on: math +extensions log10 [test $HAVE_LOG10L = 0 && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 1] logl [test $HAVE_LOG10L = 0 && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0] diff --git a/modules/log1p b/modules/log1p index 955893b73e..3470e87302 100644 --- a/modules/log1p +++ b/modules/log1p @@ -5,6 +5,7 @@ Files: m4/mathfunc.m4 Depends-on: +extensions configure.ac: gl_COMMON_DOUBLE_MATHFUNC([log1p]) diff --git a/modules/logb b/modules/logb index 7c93afbb08..9747473aa1 100644 --- a/modules/logb +++ b/modules/logb @@ -7,6 +7,7 @@ m4/mathfunc.m4 Depends-on: math +extensions configure.ac: gl_FUNC_LOGB diff --git a/modules/logf b/modules/logf index a2e3f256b5..7811af22f5 100644 --- a/modules/logf +++ b/modules/logf @@ -7,6 +7,7 @@ m4/logf.m4 Depends-on: math +extensions log [test $HAVE_LOGF = 0] configure.ac: diff --git a/modules/modff b/modules/modff index 894bf67dc0..9c510eb37a 100644 --- a/modules/modff +++ b/modules/modff @@ -8,6 +8,7 @@ m4/mathfunc.m4 Depends-on: math +extensions modf [test $HAVE_MODFF = 0 || test $REPLACE_MODFF = 1] configure.ac: diff --git a/modules/modfl b/modules/modfl index c2f414b8af..4b0e941120 100644 --- a/modules/modfl +++ b/modules/modfl @@ -8,6 +8,7 @@ m4/mathfunc.m4 Depends-on: math +extensions modf [{ test $HAVE_MODFL = 0 || test $REPLACE_MODFL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 1] isfinite [{ test $HAVE_MODFL = 0 || test $REPLACE_MODFL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0] truncl [{ test $HAVE_MODFL = 0 || test $REPLACE_MODFL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0] diff --git a/modules/powf b/modules/powf index 0f31ce2cf2..d58be430db 100644 --- a/modules/powf +++ b/modules/powf @@ -7,6 +7,7 @@ m4/powf.m4 Depends-on: math +extensions pow [test $HAVE_POWF = 0] configure.ac: diff --git a/modules/remainderf b/modules/remainderf index e4f0600d7b..98e64e86be 100644 --- a/modules/remainderf +++ b/modules/remainderf @@ -9,6 +9,7 @@ m4/mathfunc.m4 Depends-on: math +extensions remainder [test $HAVE_REMAINDERF = 0 || test $REPLACE_REMAINDERF = 1] isfinite [test $HAVE_REMAINDERF = 0 || test $REPLACE_REMAINDERF = 1] signbit [test $HAVE_REMAINDERF = 0 || test $REPLACE_REMAINDERF = 1] diff --git a/modules/remainderl b/modules/remainderl index 4eb1c91bbd..40272caf8c 100644 --- a/modules/remainderl +++ b/modules/remainderl @@ -9,6 +9,7 @@ m4/mathfunc.m4 Depends-on: math +extensions remainder [{ test $HAVE_REMAINDERL = 0 || test $REPLACE_REMAINDERL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 1] float [{ test $HAVE_REMAINDERL = 0 || test $REPLACE_REMAINDERL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0] isfinite [{ test $HAVE_REMAINDERL = 0 || test $REPLACE_REMAINDERL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0] diff --git a/modules/rintf b/modules/rintf index 92b93a399a..78e4edf370 100644 --- a/modules/rintf +++ b/modules/rintf @@ -9,6 +9,7 @@ m4/mathfunc.m4 Depends-on: math +extensions configure.ac: gl_FUNC_RINTF diff --git a/modules/rintl b/modules/rintl index dac26185f2..325f6a619c 100644 --- a/modules/rintl +++ b/modules/rintl @@ -9,6 +9,7 @@ m4/mathfunc.m4 Depends-on: math +extensions rint [test $HAVE_RINTL = 0 && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 1] configure.ac: diff --git a/modules/sinf b/modules/sinf index f3496871da..f79be4658c 100644 --- a/modules/sinf +++ b/modules/sinf @@ -7,6 +7,7 @@ m4/sinf.m4 Depends-on: math +extensions sin [test $HAVE_SINF = 0] configure.ac: diff --git a/modules/sinhf b/modules/sinhf index f45bbe3199..820882a75c 100644 --- a/modules/sinhf +++ b/modules/sinhf @@ -7,6 +7,7 @@ m4/sinhf.m4 Depends-on: math +extensions sinh [test $HAVE_SINHF = 0] configure.ac: diff --git a/modules/sqrtf b/modules/sqrtf index 412364956d..2517c0c5cc 100644 --- a/modules/sqrtf +++ b/modules/sqrtf @@ -7,6 +7,7 @@ m4/sqrtf.m4 Depends-on: math +extensions sqrt [test $HAVE_SQRTF = 0] configure.ac: diff --git a/modules/tanf b/modules/tanf index 943f7c7865..c5bde4b3ce 100644 --- a/modules/tanf +++ b/modules/tanf @@ -7,6 +7,7 @@ m4/tanf.m4 Depends-on: math +extensions tan [test $HAVE_TANF = 0] configure.ac: diff --git a/modules/tanhf b/modules/tanhf index 44f606e753..c844649f71 100644 --- a/modules/tanhf +++ b/modules/tanhf @@ -7,6 +7,7 @@ m4/tanhf.m4 Depends-on: math +extensions tanh [test $HAVE_TANHF = 0] configure.ac: |