mirror of
https://https.git.savannah.gnu.org/git/gnulib.git
synced 2026-09-01 02:34:55 +00:00
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.
This commit is contained in:
@@ -1,3 +1,90 @@
|
||||
2012-03-06 Bruno Haible <bruno@clisp.org>
|
||||
|
||||
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.
|
||||
|
||||
2012-03-06 Bruno Haible <bruno@clisp.org>
|
||||
|
||||
math: Update module names in warnings.
|
||||
|
||||
+4
-1
@@ -1,4 +1,4 @@
|
||||
# acosf.m4 serial 1
|
||||
# acosf.m4 serial 2
|
||||
dnl Copyright (C) 2011-2012 Free Software Foundation, Inc.
|
||||
dnl This file is free software; the Free Software Foundation
|
||||
dnl gives unlimited permission to copy and/or distribute it,
|
||||
@@ -9,6 +9,9 @@ AC_DEFUN([gl_FUNC_ACOSF],
|
||||
AC_REQUIRE([gl_MATH_H_DEFAULTS])
|
||||
AC_REQUIRE([gl_FUNC_ACOS])
|
||||
|
||||
dnl Persuade glibc <math.h> to declare acosf().
|
||||
AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
|
||||
|
||||
dnl Test whether acosf() exists. Assume that acosf(), if it exists, is
|
||||
dnl defined in the same library as acos().
|
||||
save_LIBS="$LIBS"
|
||||
|
||||
+4
-1
@@ -1,4 +1,4 @@
|
||||
# asinf.m4 serial 1
|
||||
# asinf.m4 serial 2
|
||||
dnl Copyright (C) 2011-2012 Free Software Foundation, Inc.
|
||||
dnl This file is free software; the Free Software Foundation
|
||||
dnl gives unlimited permission to copy and/or distribute it,
|
||||
@@ -9,6 +9,9 @@ AC_DEFUN([gl_FUNC_ASINF],
|
||||
AC_REQUIRE([gl_MATH_H_DEFAULTS])
|
||||
AC_REQUIRE([gl_FUNC_ASIN])
|
||||
|
||||
dnl Persuade glibc <math.h> to declare asinf().
|
||||
AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
|
||||
|
||||
dnl Test whether asinf() exists. Assume that asinf(), if it exists, is
|
||||
dnl defined in the same library as asin().
|
||||
save_LIBS="$LIBS"
|
||||
|
||||
+4
-1
@@ -1,4 +1,4 @@
|
||||
# atan2f.m4 serial 1
|
||||
# atan2f.m4 serial 2
|
||||
dnl Copyright (C) 2011-2012 Free Software Foundation, Inc.
|
||||
dnl This file is free software; the Free Software Foundation
|
||||
dnl gives unlimited permission to copy and/or distribute it,
|
||||
@@ -9,6 +9,9 @@ AC_DEFUN([gl_FUNC_ATAN2F],
|
||||
AC_REQUIRE([gl_MATH_H_DEFAULTS])
|
||||
AC_REQUIRE([gl_FUNC_ATAN2])
|
||||
|
||||
dnl Persuade glibc <math.h> to declare atan2f().
|
||||
AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
|
||||
|
||||
dnl Test whether atan2f() exists. Assume that atan2f(), if it exists, is
|
||||
dnl defined in the same library as atan2().
|
||||
save_LIBS="$LIBS"
|
||||
|
||||
+4
-1
@@ -1,4 +1,4 @@
|
||||
# atanf.m4 serial 1
|
||||
# atanf.m4 serial 2
|
||||
dnl Copyright (C) 2011-2012 Free Software Foundation, Inc.
|
||||
dnl This file is free software; the Free Software Foundation
|
||||
dnl gives unlimited permission to copy and/or distribute it,
|
||||
@@ -9,6 +9,9 @@ AC_DEFUN([gl_FUNC_ATANF],
|
||||
AC_REQUIRE([gl_MATH_H_DEFAULTS])
|
||||
AC_REQUIRE([gl_FUNC_ATAN])
|
||||
|
||||
dnl Persuade glibc <math.h> to declare atanf().
|
||||
AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
|
||||
|
||||
dnl Test whether atanf() exists. Assume that atanf(), if it exists, is
|
||||
dnl defined in the same library as atan().
|
||||
save_LIBS="$LIBS"
|
||||
|
||||
+4
-1
@@ -1,4 +1,4 @@
|
||||
# cbrt.m4 serial 1
|
||||
# cbrt.m4 serial 2
|
||||
dnl Copyright (C) 2012 Free Software Foundation, Inc.
|
||||
dnl This file is free software; the Free Software Foundation
|
||||
dnl gives unlimited permission to copy and/or distribute it,
|
||||
@@ -8,6 +8,9 @@ AC_DEFUN([gl_FUNC_CBRT],
|
||||
[
|
||||
AC_REQUIRE([gl_MATH_H_DEFAULTS])
|
||||
|
||||
dnl Persuade glibc <math.h> to declare cbrt().
|
||||
AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
|
||||
|
||||
dnl Determine CBRT_LIBM.
|
||||
gl_COMMON_DOUBLE_MATHFUNC([cbrt])
|
||||
|
||||
|
||||
+4
-1
@@ -1,4 +1,4 @@
|
||||
# cbrtf.m4 serial 2
|
||||
# cbrtf.m4 serial 3
|
||||
dnl Copyright (C) 2012 Free Software Foundation, Inc.
|
||||
dnl This file is free software; the Free Software Foundation
|
||||
dnl gives unlimited permission to copy and/or distribute it,
|
||||
@@ -9,6 +9,9 @@ AC_DEFUN([gl_FUNC_CBRTF],
|
||||
AC_REQUIRE([gl_MATH_H_DEFAULTS])
|
||||
AC_REQUIRE([gl_FUNC_CBRT])
|
||||
|
||||
dnl Persuade glibc <math.h> to declare cbrtf().
|
||||
AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
|
||||
|
||||
dnl Test whether cbrtf() exists. Assume that cbrtf(), if it exists, is
|
||||
dnl defined in the same library as cbrt().
|
||||
save_LIBS="$LIBS"
|
||||
|
||||
+4
-1
@@ -1,4 +1,4 @@
|
||||
# cbrtl.m4 serial 2
|
||||
# cbrtl.m4 serial 3
|
||||
dnl Copyright (C) 2012 Free Software Foundation, Inc.
|
||||
dnl This file is free software; the Free Software Foundation
|
||||
dnl gives unlimited permission to copy and/or distribute it,
|
||||
@@ -11,6 +11,9 @@ AC_DEFUN([gl_FUNC_CBRTL],
|
||||
AC_REQUIRE([gl_LONG_DOUBLE_VS_DOUBLE])
|
||||
AC_REQUIRE([gl_FUNC_CBRT])
|
||||
|
||||
dnl Persuade glibc <math.h> to declare cbrtl().
|
||||
AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
|
||||
|
||||
dnl Test whether cbrtl() exists. Assume that cbrtl(), if it exists, is
|
||||
dnl defined in the same library as cbrt().
|
||||
save_LIBS="$LIBS"
|
||||
|
||||
+4
-1
@@ -1,4 +1,4 @@
|
||||
# copysignf.m4 serial 1
|
||||
# copysignf.m4 serial 2
|
||||
dnl Copyright (C) 2011-2012 Free Software Foundation, Inc.
|
||||
dnl This file is free software; the Free Software Foundation
|
||||
dnl gives unlimited permission to copy and/or distribute it,
|
||||
@@ -8,6 +8,9 @@ AC_DEFUN([gl_FUNC_COPYSIGNF],
|
||||
[
|
||||
AC_REQUIRE([gl_MATH_H_DEFAULTS])
|
||||
|
||||
dnl Persuade glibc <math.h> to declare copysignf().
|
||||
AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
|
||||
|
||||
dnl Determine COPYSIGNF_LIBM.
|
||||
gl_MATHFUNC([copysignf], [float], [(float, float)])
|
||||
if test $gl_cv_func_copysignf_no_libm = no \
|
||||
|
||||
+4
-1
@@ -1,4 +1,4 @@
|
||||
# copysignl.m4 serial 2
|
||||
# copysignl.m4 serial 3
|
||||
dnl Copyright (C) 2011-2012 Free Software Foundation, Inc.
|
||||
dnl This file is free software; the Free Software Foundation
|
||||
dnl gives unlimited permission to copy and/or distribute it,
|
||||
@@ -9,6 +9,9 @@ AC_DEFUN([gl_FUNC_COPYSIGNL],
|
||||
AC_REQUIRE([gl_MATH_H_DEFAULTS])
|
||||
AC_REQUIRE([gl_LONG_DOUBLE_VS_DOUBLE])
|
||||
|
||||
dnl Persuade glibc <math.h> to declare copysignl().
|
||||
AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
|
||||
|
||||
dnl Determine COPYSIGNL_LIBM.
|
||||
gl_MATHFUNC([copysignl], [long double], [(long double, long double)])
|
||||
if test $gl_cv_func_copysignl_no_libm = no \
|
||||
|
||||
+4
-1
@@ -1,4 +1,4 @@
|
||||
# cosf.m4 serial 1
|
||||
# cosf.m4 serial 2
|
||||
dnl Copyright (C) 2011-2012 Free Software Foundation, Inc.
|
||||
dnl This file is free software; the Free Software Foundation
|
||||
dnl gives unlimited permission to copy and/or distribute it,
|
||||
@@ -9,6 +9,9 @@ AC_DEFUN([gl_FUNC_COSF],
|
||||
AC_REQUIRE([gl_MATH_H_DEFAULTS])
|
||||
AC_REQUIRE([gl_FUNC_COS])
|
||||
|
||||
dnl Persuade glibc <math.h> to declare cosf().
|
||||
AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
|
||||
|
||||
dnl Test whether cosf() exists. Assume that cosf(), if it exists, is
|
||||
dnl defined in the same library as cos().
|
||||
save_LIBS="$LIBS"
|
||||
|
||||
+4
-1
@@ -1,4 +1,4 @@
|
||||
# coshf.m4 serial 1
|
||||
# coshf.m4 serial 2
|
||||
dnl Copyright (C) 2011-2012 Free Software Foundation, Inc.
|
||||
dnl This file is free software; the Free Software Foundation
|
||||
dnl gives unlimited permission to copy and/or distribute it,
|
||||
@@ -9,6 +9,9 @@ AC_DEFUN([gl_FUNC_COSHF],
|
||||
AC_REQUIRE([gl_MATH_H_DEFAULTS])
|
||||
AC_REQUIRE([gl_FUNC_COSH])
|
||||
|
||||
dnl Persuade glibc <math.h> to declare coshf().
|
||||
AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
|
||||
|
||||
dnl Test whether coshf() exists. Assume that coshf(), if it exists, is
|
||||
dnl defined in the same library as cosh().
|
||||
save_LIBS="$LIBS"
|
||||
|
||||
+4
-1
@@ -1,4 +1,4 @@
|
||||
# expf.m4 serial 1
|
||||
# expf.m4 serial 2
|
||||
dnl Copyright (C) 2011-2012 Free Software Foundation, Inc.
|
||||
dnl This file is free software; the Free Software Foundation
|
||||
dnl gives unlimited permission to copy and/or distribute it,
|
||||
@@ -9,6 +9,9 @@ AC_DEFUN([gl_FUNC_EXPF],
|
||||
AC_REQUIRE([gl_MATH_H_DEFAULTS])
|
||||
AC_REQUIRE([gl_FUNC_EXP])
|
||||
|
||||
dnl Persuade glibc <math.h> to declare expf().
|
||||
AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
|
||||
|
||||
dnl Test whether expf() exists. Assume that expf(), if it exists, is
|
||||
dnl defined in the same library as exp().
|
||||
save_LIBS="$LIBS"
|
||||
|
||||
+4
-1
@@ -1,4 +1,4 @@
|
||||
# fabsf.m4 serial 2
|
||||
# fabsf.m4 serial 3
|
||||
dnl Copyright (C) 2011-2012 Free Software Foundation, Inc.
|
||||
dnl This file is free software; the Free Software Foundation
|
||||
dnl gives unlimited permission to copy and/or distribute it,
|
||||
@@ -9,6 +9,9 @@ AC_DEFUN([gl_FUNC_FABSF],
|
||||
AC_REQUIRE([gl_MATH_H_DEFAULTS])
|
||||
AC_REQUIRE([gl_FUNC_FABS])
|
||||
|
||||
dnl Persuade glibc <math.h> to declare fabsf().
|
||||
AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
|
||||
|
||||
dnl Test whether fabsf() exists. We cannot assume that fabsf(), if it
|
||||
dnl exists, is defined in the same library as fabs(). This is not the case
|
||||
dnl on FreeBSD, NetBSD, OpenBSD.
|
||||
|
||||
+4
-1
@@ -1,4 +1,4 @@
|
||||
# fabsl.m4 serial 1
|
||||
# fabsl.m4 serial 2
|
||||
dnl Copyright (C) 2011-2012 Free Software Foundation, Inc.
|
||||
dnl This file is free software; the Free Software Foundation
|
||||
dnl gives unlimited permission to copy and/or distribute it,
|
||||
@@ -9,6 +9,9 @@ AC_DEFUN([gl_FUNC_FABSL],
|
||||
AC_REQUIRE([gl_MATH_H_DEFAULTS])
|
||||
AC_REQUIRE([gl_LONG_DOUBLE_VS_DOUBLE])
|
||||
|
||||
dnl Persuade glibc <math.h> to declare fabsl().
|
||||
AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
|
||||
|
||||
dnl Determine FABSL_LIBM.
|
||||
gl_MATHFUNC([fabsl], [long double], [(long double)])
|
||||
if test $gl_cv_func_fabsl_no_libm = yes \
|
||||
|
||||
+4
-1
@@ -1,4 +1,4 @@
|
||||
# fmaf.m4 serial 1
|
||||
# fmaf.m4 serial 2
|
||||
dnl Copyright (C) 2011-2012 Free Software Foundation, Inc.
|
||||
dnl This file is free software; the Free Software Foundation
|
||||
dnl gives unlimited permission to copy and/or distribute it,
|
||||
@@ -8,6 +8,9 @@ AC_DEFUN([gl_FUNC_FMAF],
|
||||
[
|
||||
AC_REQUIRE([gl_MATH_H_DEFAULTS])
|
||||
|
||||
dnl Persuade glibc <math.h> to declare fmaf().
|
||||
AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
|
||||
|
||||
dnl Determine FMAF_LIBM.
|
||||
gl_MATHFUNC([fmaf], [float], [(float, float, float)])
|
||||
if test $gl_cv_func_fmaf_no_libm = yes \
|
||||
|
||||
+4
-1
@@ -1,4 +1,4 @@
|
||||
# fmal.m4 serial 1
|
||||
# fmal.m4 serial 2
|
||||
dnl Copyright (C) 2011-2012 Free Software Foundation, Inc.
|
||||
dnl This file is free software; the Free Software Foundation
|
||||
dnl gives unlimited permission to copy and/or distribute it,
|
||||
@@ -9,6 +9,9 @@ AC_DEFUN([gl_FUNC_FMAL],
|
||||
AC_REQUIRE([gl_MATH_H_DEFAULTS])
|
||||
AC_REQUIRE([gl_LONG_DOUBLE_VS_DOUBLE])
|
||||
|
||||
dnl Persuade glibc <math.h> to declare fmal().
|
||||
AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
|
||||
|
||||
dnl Determine FMAL_LIBM.
|
||||
gl_MATHFUNC([fmal], [long double], [(long double, long double, long double)])
|
||||
if test $gl_cv_func_fmal_no_libm = yes \
|
||||
|
||||
+4
-1
@@ -1,4 +1,4 @@
|
||||
# fmodf.m4 serial 2
|
||||
# fmodf.m4 serial 3
|
||||
dnl Copyright (C) 2011-2012 Free Software Foundation, Inc.
|
||||
dnl This file is free software; the Free Software Foundation
|
||||
dnl gives unlimited permission to copy and/or distribute it,
|
||||
@@ -10,6 +10,9 @@ AC_DEFUN([gl_FUNC_FMODF],
|
||||
AC_REQUIRE([gl_MATH_H_DEFAULTS])
|
||||
AC_REQUIRE([gl_FUNC_FMOD])
|
||||
|
||||
dnl Persuade glibc <math.h> to declare fmodf().
|
||||
AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
|
||||
|
||||
dnl Test whether fmodf() exists. Assume that fmodf(), if it exists, is
|
||||
dnl defined in the same library as fmod().
|
||||
save_LIBS="$LIBS"
|
||||
|
||||
+4
-1
@@ -1,4 +1,4 @@
|
||||
# fmodl.m4 serial 3
|
||||
# fmodl.m4 serial 4
|
||||
dnl Copyright (C) 2011-2012 Free Software Foundation, Inc.
|
||||
dnl This file is free software; the Free Software Foundation
|
||||
dnl gives unlimited permission to copy and/or distribute it,
|
||||
@@ -11,6 +11,9 @@ AC_DEFUN([gl_FUNC_FMODL],
|
||||
AC_REQUIRE([gl_LONG_DOUBLE_VS_DOUBLE])
|
||||
AC_REQUIRE([gl_FUNC_FMOD])
|
||||
|
||||
dnl Persuade glibc <math.h> to declare fmodl().
|
||||
AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
|
||||
|
||||
dnl Test whether fmodl() is declared.
|
||||
dnl AIX 5.1 has fmodl() in libc but doesn't declare it in <math.h>, and the
|
||||
dnl function produces NaN results for finite values.
|
||||
|
||||
+4
-1
@@ -1,4 +1,4 @@
|
||||
# frexpf.m4 serial 3
|
||||
# frexpf.m4 serial 4
|
||||
dnl Copyright (C) 2011-2012 Free Software Foundation, Inc.
|
||||
dnl This file is free software; the Free Software Foundation
|
||||
dnl gives unlimited permission to copy and/or distribute it,
|
||||
@@ -9,6 +9,9 @@ AC_DEFUN([gl_FUNC_FREXPF],
|
||||
AC_REQUIRE([gl_MATH_H_DEFAULTS])
|
||||
AC_REQUIRE([gl_FUNC_FREXP])
|
||||
|
||||
dnl Persuade glibc <math.h> to declare frexpf().
|
||||
AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
|
||||
|
||||
dnl Test whether frexpf() exists. We cannot assume that frexpf(), if it
|
||||
dnl exists, is defined in the same library as frexp(). This is not the case
|
||||
dnl on NetBSD, OpenBSD.
|
||||
|
||||
+6
-1
@@ -1,4 +1,4 @@
|
||||
# frexpl.m4 serial 18
|
||||
# frexpl.m4 serial 19
|
||||
dnl Copyright (C) 2007-2012 Free Software Foundation, Inc.
|
||||
dnl This file is free software; the Free Software Foundation
|
||||
dnl gives unlimited permission to copy and/or distribute it,
|
||||
@@ -8,9 +8,14 @@ AC_DEFUN([gl_FUNC_FREXPL],
|
||||
[
|
||||
AC_REQUIRE([gl_MATH_H_DEFAULTS])
|
||||
AC_REQUIRE([gl_LONG_DOUBLE_VS_DOUBLE])
|
||||
|
||||
dnl Persuade glibc <math.h> to declare frexpl().
|
||||
AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
|
||||
|
||||
dnl Check whether it's declared.
|
||||
dnl MacOS X 10.3 has frexpl() in libc but doesn't declare it in <math.h>.
|
||||
AC_CHECK_DECL([frexpl], , [HAVE_DECL_FREXPL=0], [[#include <math.h>]])
|
||||
|
||||
FREXPL_LIBM=
|
||||
if test $HAVE_DECL_FREXPL = 1; then
|
||||
gl_CHECK_FREXPL_NO_LIBM
|
||||
|
||||
+4
-1
@@ -1,4 +1,4 @@
|
||||
# hypot.m4 serial 2
|
||||
# hypot.m4 serial 3
|
||||
dnl Copyright (C) 2012 Free Software Foundation, Inc.
|
||||
dnl This file is free software; the Free Software Foundation
|
||||
dnl gives unlimited permission to copy and/or distribute it,
|
||||
@@ -9,6 +9,9 @@ AC_DEFUN([gl_FUNC_HYPOT],
|
||||
m4_divert_text([DEFAULTS], [gl_hypot_required=plain])
|
||||
AC_REQUIRE([gl_MATH_H_DEFAULTS])
|
||||
|
||||
dnl Persuade glibc <math.h> to declare hypot().
|
||||
AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
|
||||
|
||||
dnl Determine HYPOT_LIBM.
|
||||
gl_COMMON_DOUBLE_MATHFUNC([hypot])
|
||||
|
||||
|
||||
+4
-1
@@ -1,4 +1,4 @@
|
||||
# hypotf.m4 serial 2
|
||||
# hypotf.m4 serial 3
|
||||
dnl Copyright (C) 2012 Free Software Foundation, Inc.
|
||||
dnl This file is free software; the Free Software Foundation
|
||||
dnl gives unlimited permission to copy and/or distribute it,
|
||||
@@ -10,6 +10,9 @@ AC_DEFUN([gl_FUNC_HYPOTF],
|
||||
AC_REQUIRE([gl_MATH_H_DEFAULTS])
|
||||
AC_REQUIRE([gl_FUNC_HYPOT])
|
||||
|
||||
dnl Persuade glibc <math.h> to declare hypotf().
|
||||
AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
|
||||
|
||||
dnl Test whether hypotf() exists. Assume that hypotf(), if it exists, is
|
||||
dnl defined in the same library as hypot().
|
||||
save_LIBS="$LIBS"
|
||||
|
||||
+4
-1
@@ -1,4 +1,4 @@
|
||||
# hypotl.m4 serial 2
|
||||
# hypotl.m4 serial 3
|
||||
dnl Copyright (C) 2012 Free Software Foundation, Inc.
|
||||
dnl This file is free software; the Free Software Foundation
|
||||
dnl gives unlimited permission to copy and/or distribute it,
|
||||
@@ -10,6 +10,9 @@ AC_DEFUN([gl_FUNC_HYPOTL],
|
||||
AC_REQUIRE([gl_MATH_H_DEFAULTS])
|
||||
AC_REQUIRE([gl_FUNC_HYPOT])
|
||||
|
||||
dnl Persuade glibc <math.h> to declare hypotl().
|
||||
AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
|
||||
|
||||
dnl Test whether hypotl() exists. Assume that hypotl(), if it exists, is
|
||||
dnl defined in the same library as hypot().
|
||||
save_LIBS="$LIBS"
|
||||
|
||||
+4
-1
@@ -1,4 +1,4 @@
|
||||
# ldexpf.m4 serial 1
|
||||
# ldexpf.m4 serial 2
|
||||
dnl Copyright (C) 2011-2012 Free Software Foundation, Inc.
|
||||
dnl This file is free software; the Free Software Foundation
|
||||
dnl gives unlimited permission to copy and/or distribute it,
|
||||
@@ -9,6 +9,9 @@ AC_DEFUN([gl_FUNC_LDEXPF],
|
||||
AC_REQUIRE([gl_MATH_H_DEFAULTS])
|
||||
AC_REQUIRE([gl_FUNC_LDEXP])
|
||||
|
||||
dnl Persuade glibc <math.h> to declare ldexpf().
|
||||
AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
|
||||
|
||||
dnl Test whether ldexpf() exists. We cannot assume that ldexpf(), if it
|
||||
dnl exists, is defined in the same library as ldexp(). This is not the case
|
||||
dnl on FreeBSD, NetBSD, OpenBSD.
|
||||
|
||||
+6
-1
@@ -1,4 +1,4 @@
|
||||
# ldexpl.m4 serial 14
|
||||
# ldexpl.m4 serial 15
|
||||
dnl Copyright (C) 2007-2012 Free Software Foundation, Inc.
|
||||
dnl This file is free software; the Free Software Foundation
|
||||
dnl gives unlimited permission to copy and/or distribute it,
|
||||
@@ -9,9 +9,14 @@ AC_DEFUN([gl_FUNC_LDEXPL],
|
||||
AC_REQUIRE([gl_MATH_H_DEFAULTS])
|
||||
AC_REQUIRE([gl_LONG_DOUBLE_VS_DOUBLE])
|
||||
AC_REQUIRE([gl_FUNC_ISNANL]) dnl for ISNANL_LIBM
|
||||
|
||||
dnl Persuade glibc <math.h> to declare ldexpl().
|
||||
AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
|
||||
|
||||
dnl Check whether it's declared.
|
||||
dnl MacOS X 10.3 has ldexpl() in libc but doesn't declare it in <math.h>.
|
||||
AC_CHECK_DECL([ldexpl], , [HAVE_DECL_LDEXPL=0], [[#include <math.h>]])
|
||||
|
||||
LDEXPL_LIBM=
|
||||
if test $HAVE_DECL_LDEXPL = 1; then
|
||||
gl_CHECK_LDEXPL_NO_LIBM
|
||||
|
||||
+4
-1
@@ -1,4 +1,4 @@
|
||||
# log10f.m4 serial 1
|
||||
# log10f.m4 serial 2
|
||||
dnl Copyright (C) 2011-2012 Free Software Foundation, Inc.
|
||||
dnl This file is free software; the Free Software Foundation
|
||||
dnl gives unlimited permission to copy and/or distribute it,
|
||||
@@ -9,6 +9,9 @@ AC_DEFUN([gl_FUNC_LOG10F],
|
||||
AC_REQUIRE([gl_MATH_H_DEFAULTS])
|
||||
AC_REQUIRE([gl_FUNC_LOG10])
|
||||
|
||||
dnl Persuade glibc <math.h> to declare log10f().
|
||||
AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
|
||||
|
||||
dnl Test whether log10f() exists. Assume that log10f(), if it exists, is
|
||||
dnl defined in the same library as log10().
|
||||
save_LIBS="$LIBS"
|
||||
|
||||
+4
-1
@@ -1,4 +1,4 @@
|
||||
# log10l.m4 serial 1
|
||||
# log10l.m4 serial 2
|
||||
dnl Copyright (C) 2011-2012 Free Software Foundation, Inc.
|
||||
dnl This file is free software; the Free Software Foundation
|
||||
dnl gives unlimited permission to copy and/or distribute it,
|
||||
@@ -10,6 +10,9 @@ AC_DEFUN([gl_FUNC_LOG10L],
|
||||
AC_REQUIRE([gl_LONG_DOUBLE_VS_DOUBLE])
|
||||
AC_REQUIRE([gl_FUNC_LOG10])
|
||||
|
||||
dnl Persuade glibc <math.h> to declare log10l().
|
||||
AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
|
||||
|
||||
dnl Test whether log10l() is declared. On AIX 5.1 it is not declared.
|
||||
AC_CHECK_DECL([log10l], , [HAVE_DECL_LOG10L=0], [[#include <math.h>]])
|
||||
|
||||
|
||||
+5
-1
@@ -1,4 +1,4 @@
|
||||
# logb.m4 serial 4
|
||||
# logb.m4 serial 5
|
||||
dnl Copyright (C) 2010-2012 Free Software Foundation, Inc.
|
||||
dnl This file is free software; the Free Software Foundation
|
||||
dnl gives unlimited permission to copy and/or distribute it,
|
||||
@@ -7,6 +7,10 @@ dnl with or without modifications, as long as this notice is preserved.
|
||||
AC_DEFUN([gl_FUNC_LOGB],
|
||||
[
|
||||
AC_REQUIRE([gl_MATH_H_DEFAULTS])
|
||||
|
||||
dnl Persuade glibc <math.h> to declare logb().
|
||||
AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
|
||||
|
||||
dnl Test whether logb() is declared.
|
||||
AC_CHECK_DECLS([logb], , , [[#include <math.h>]])
|
||||
if test "$ac_cv_have_decl_logb" != yes; then
|
||||
|
||||
+4
-1
@@ -1,4 +1,4 @@
|
||||
# logf.m4 serial 1
|
||||
# logf.m4 serial 2
|
||||
dnl Copyright (C) 2011-2012 Free Software Foundation, Inc.
|
||||
dnl This file is free software; the Free Software Foundation
|
||||
dnl gives unlimited permission to copy and/or distribute it,
|
||||
@@ -9,6 +9,9 @@ AC_DEFUN([gl_FUNC_LOGF],
|
||||
AC_REQUIRE([gl_MATH_H_DEFAULTS])
|
||||
AC_REQUIRE([gl_FUNC_LOG])
|
||||
|
||||
dnl Persuade glibc <math.h> to declare logf().
|
||||
AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
|
||||
|
||||
dnl Test whether logf() exists. Assume that logf(), if it exists, is
|
||||
dnl defined in the same library as log().
|
||||
save_LIBS="$LIBS"
|
||||
|
||||
+4
-1
@@ -1,4 +1,4 @@
|
||||
# modff.m4 serial 3
|
||||
# modff.m4 serial 4
|
||||
dnl Copyright (C) 2011-2012 Free Software Foundation, Inc.
|
||||
dnl This file is free software; the Free Software Foundation
|
||||
dnl gives unlimited permission to copy and/or distribute it,
|
||||
@@ -10,6 +10,9 @@ AC_DEFUN([gl_FUNC_MODFF],
|
||||
AC_REQUIRE([gl_MATH_H_DEFAULTS])
|
||||
AC_REQUIRE([gl_FUNC_MODF])
|
||||
|
||||
dnl Persuade glibc <math.h> to declare modff().
|
||||
AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
|
||||
|
||||
dnl Test whether modff() exists. We cannot assume that modff(), if it
|
||||
dnl exists, is defined in the same library as modf(). This is not the case
|
||||
dnl on FreeBSD, NetBSD, OpenBSD.
|
||||
|
||||
+4
-1
@@ -1,4 +1,4 @@
|
||||
# modfl.m4 serial 1
|
||||
# modfl.m4 serial 2
|
||||
dnl Copyright (C) 2011-2012 Free Software Foundation, Inc.
|
||||
dnl This file is free software; the Free Software Foundation
|
||||
dnl gives unlimited permission to copy and/or distribute it,
|
||||
@@ -10,6 +10,9 @@ AC_DEFUN([gl_FUNC_MODFL],
|
||||
AC_REQUIRE([gl_MATH_H_DEFAULTS])
|
||||
AC_REQUIRE([gl_LONG_DOUBLE_VS_DOUBLE])
|
||||
|
||||
dnl Persuade glibc <math.h> to declare modfl().
|
||||
AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
|
||||
|
||||
dnl Test whether modfl() exists. We cannot assume that modfl(), if it
|
||||
dnl exists, is defined in the same library as modf(). This is not the case
|
||||
dnl on FreeBSD, Solaris.
|
||||
|
||||
+4
-1
@@ -1,4 +1,4 @@
|
||||
# powf.m4 serial 1
|
||||
# powf.m4 serial 2
|
||||
dnl Copyright (C) 2011-2012 Free Software Foundation, Inc.
|
||||
dnl This file is free software; the Free Software Foundation
|
||||
dnl gives unlimited permission to copy and/or distribute it,
|
||||
@@ -9,6 +9,9 @@ AC_DEFUN([gl_FUNC_POWF],
|
||||
AC_REQUIRE([gl_MATH_H_DEFAULTS])
|
||||
AC_REQUIRE([gl_FUNC_POW])
|
||||
|
||||
dnl Persuade glibc <math.h> to declare powf().
|
||||
AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
|
||||
|
||||
dnl Test whether powf() exists. Assume that powf(), if it exists, is
|
||||
dnl defined in the same library as pow().
|
||||
save_LIBS="$LIBS"
|
||||
|
||||
+4
-1
@@ -1,4 +1,4 @@
|
||||
# remainderf.m4 serial 3
|
||||
# remainderf.m4 serial 4
|
||||
dnl Copyright (C) 2012 Free Software Foundation, Inc.
|
||||
dnl This file is free software; the Free Software Foundation
|
||||
dnl gives unlimited permission to copy and/or distribute it,
|
||||
@@ -10,6 +10,9 @@ AC_DEFUN([gl_FUNC_REMAINDERF],
|
||||
AC_REQUIRE([gl_MATH_H_DEFAULTS])
|
||||
AC_REQUIRE([gl_FUNC_REMAINDER])
|
||||
|
||||
dnl Persuade glibc <math.h> to declare remainderf().
|
||||
AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
|
||||
|
||||
dnl Test whether remainderf() exists. Assume that remainderf(), if it exists, is
|
||||
dnl defined in the same library as remainder().
|
||||
save_LIBS="$LIBS"
|
||||
|
||||
+4
-1
@@ -1,4 +1,4 @@
|
||||
# remainderl.m4 serial 3
|
||||
# remainderl.m4 serial 4
|
||||
dnl Copyright (C) 2012 Free Software Foundation, Inc.
|
||||
dnl This file is free software; the Free Software Foundation
|
||||
dnl gives unlimited permission to copy and/or distribute it,
|
||||
@@ -11,6 +11,9 @@ AC_DEFUN([gl_FUNC_REMAINDERL],
|
||||
AC_REQUIRE([gl_LONG_DOUBLE_VS_DOUBLE])
|
||||
AC_REQUIRE([gl_FUNC_REMAINDER])
|
||||
|
||||
dnl Persuade glibc <math.h> to declare remainderl().
|
||||
AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
|
||||
|
||||
dnl Test whether remainderl() exists. Assume that remainderl(), if it exists, is
|
||||
dnl defined in the same library as remainder().
|
||||
save_LIBS="$LIBS"
|
||||
|
||||
+4
-1
@@ -1,4 +1,4 @@
|
||||
# rintf.m4 serial 2
|
||||
# rintf.m4 serial 3
|
||||
dnl Copyright (C) 2011-2012 Free Software Foundation, Inc.
|
||||
dnl This file is free software; the Free Software Foundation
|
||||
dnl gives unlimited permission to copy and/or distribute it,
|
||||
@@ -8,6 +8,9 @@ AC_DEFUN([gl_FUNC_RINTF],
|
||||
[
|
||||
AC_REQUIRE([gl_MATH_H_DEFAULTS])
|
||||
|
||||
dnl Persuade glibc <math.h> to declare rintf().
|
||||
AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
|
||||
|
||||
dnl Determine RINTF_LIBM.
|
||||
gl_MATHFUNC([rintf], [float], [(float)])
|
||||
if test $gl_cv_func_rintf_no_libm = no \
|
||||
|
||||
+4
-1
@@ -1,4 +1,4 @@
|
||||
# rintl.m4 serial 3
|
||||
# rintl.m4 serial 4
|
||||
dnl Copyright (C) 2011-2012 Free Software Foundation, Inc.
|
||||
dnl This file is free software; the Free Software Foundation
|
||||
dnl gives unlimited permission to copy and/or distribute it,
|
||||
@@ -9,6 +9,9 @@ AC_DEFUN([gl_FUNC_RINTL],
|
||||
AC_REQUIRE([gl_MATH_H_DEFAULTS])
|
||||
AC_REQUIRE([gl_LONG_DOUBLE_VS_DOUBLE])
|
||||
|
||||
dnl Persuade glibc <math.h> to declare rintl().
|
||||
AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
|
||||
|
||||
dnl Determine RINTL_LIBM.
|
||||
gl_MATHFUNC([rintl], [long double], [(long double)])
|
||||
if test $gl_cv_func_rintl_no_libm = no \
|
||||
|
||||
+4
-1
@@ -1,4 +1,4 @@
|
||||
# sinf.m4 serial 1
|
||||
# sinf.m4 serial 2
|
||||
dnl Copyright (C) 2011-2012 Free Software Foundation, Inc.
|
||||
dnl This file is free software; the Free Software Foundation
|
||||
dnl gives unlimited permission to copy and/or distribute it,
|
||||
@@ -9,6 +9,9 @@ AC_DEFUN([gl_FUNC_SINF],
|
||||
AC_REQUIRE([gl_MATH_H_DEFAULTS])
|
||||
AC_REQUIRE([gl_FUNC_SIN])
|
||||
|
||||
dnl Persuade glibc <math.h> to declare sinf().
|
||||
AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
|
||||
|
||||
dnl Test whether sinf() exists. Assume that sinf(), if it exists, is
|
||||
dnl defined in the same library as sin().
|
||||
save_LIBS="$LIBS"
|
||||
|
||||
+4
-1
@@ -1,4 +1,4 @@
|
||||
# sinhf.m4 serial 1
|
||||
# sinhf.m4 serial 2
|
||||
dnl Copyright (C) 2011-2012 Free Software Foundation, Inc.
|
||||
dnl This file is free software; the Free Software Foundation
|
||||
dnl gives unlimited permission to copy and/or distribute it,
|
||||
@@ -9,6 +9,9 @@ AC_DEFUN([gl_FUNC_SINHF],
|
||||
AC_REQUIRE([gl_MATH_H_DEFAULTS])
|
||||
AC_REQUIRE([gl_FUNC_SINH])
|
||||
|
||||
dnl Persuade glibc <math.h> to declare sinhf().
|
||||
AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
|
||||
|
||||
dnl Test whether sinhf() exists. Assume that sinhf(), if it exists, is
|
||||
dnl defined in the same library as sinh().
|
||||
save_LIBS="$LIBS"
|
||||
|
||||
+4
-1
@@ -1,4 +1,4 @@
|
||||
# sqrtf.m4 serial 1
|
||||
# sqrtf.m4 serial 2
|
||||
dnl Copyright (C) 2011-2012 Free Software Foundation, Inc.
|
||||
dnl This file is free software; the Free Software Foundation
|
||||
dnl gives unlimited permission to copy and/or distribute it,
|
||||
@@ -9,6 +9,9 @@ AC_DEFUN([gl_FUNC_SQRTF],
|
||||
AC_REQUIRE([gl_MATH_H_DEFAULTS])
|
||||
AC_REQUIRE([gl_FUNC_SQRT])
|
||||
|
||||
dnl Persuade glibc <math.h> to declare sqrtf().
|
||||
AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
|
||||
|
||||
dnl Test whether sqrtf() exists. Assume that sqrtf(), if it exists, is
|
||||
dnl defined in the same library as sqrt().
|
||||
save_LIBS="$LIBS"
|
||||
|
||||
+4
-1
@@ -1,4 +1,4 @@
|
||||
# tanf.m4 serial 1
|
||||
# tanf.m4 serial 2
|
||||
dnl Copyright (C) 2011-2012 Free Software Foundation, Inc.
|
||||
dnl This file is free software; the Free Software Foundation
|
||||
dnl gives unlimited permission to copy and/or distribute it,
|
||||
@@ -9,6 +9,9 @@ AC_DEFUN([gl_FUNC_TANF],
|
||||
AC_REQUIRE([gl_MATH_H_DEFAULTS])
|
||||
AC_REQUIRE([gl_FUNC_TAN])
|
||||
|
||||
dnl Persuade glibc <math.h> to declare tanf().
|
||||
AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
|
||||
|
||||
dnl Test whether tanf() exists. Assume that tanf(), if it exists, is
|
||||
dnl defined in the same library as tan().
|
||||
save_LIBS="$LIBS"
|
||||
|
||||
+4
-1
@@ -1,4 +1,4 @@
|
||||
# tanhf.m4 serial 1
|
||||
# tanhf.m4 serial 2
|
||||
dnl Copyright (C) 2011-2012 Free Software Foundation, Inc.
|
||||
dnl This file is free software; the Free Software Foundation
|
||||
dnl gives unlimited permission to copy and/or distribute it,
|
||||
@@ -9,6 +9,9 @@ AC_DEFUN([gl_FUNC_TANHF],
|
||||
AC_REQUIRE([gl_MATH_H_DEFAULTS])
|
||||
AC_REQUIRE([gl_FUNC_TANH])
|
||||
|
||||
dnl Persuade glibc <math.h> to declare tanhf().
|
||||
AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
|
||||
|
||||
dnl Test whether tanhf() exists. Assume that tanhf(), if it exists, is
|
||||
dnl defined in the same library as tanh().
|
||||
save_LIBS="$LIBS"
|
||||
|
||||
@@ -7,6 +7,7 @@ m4/acosf.m4
|
||||
|
||||
Depends-on:
|
||||
math
|
||||
extensions
|
||||
acos [test $HAVE_ACOSF = 0]
|
||||
|
||||
configure.ac:
|
||||
|
||||
@@ -7,6 +7,7 @@ m4/asinf.m4
|
||||
|
||||
Depends-on:
|
||||
math
|
||||
extensions
|
||||
asin [test $HAVE_ASINF = 0]
|
||||
|
||||
configure.ac:
|
||||
|
||||
@@ -7,6 +7,7 @@ m4/atan2f.m4
|
||||
|
||||
Depends-on:
|
||||
math
|
||||
extensions
|
||||
atan2 [test $HAVE_ATAN2F = 0]
|
||||
|
||||
configure.ac:
|
||||
|
||||
@@ -7,6 +7,7 @@ m4/atanf.m4
|
||||
|
||||
Depends-on:
|
||||
math
|
||||
extensions
|
||||
atan [test $HAVE_ATANF = 0]
|
||||
|
||||
configure.ac:
|
||||
|
||||
@@ -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]
|
||||
|
||||
@@ -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]
|
||||
|
||||
@@ -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]
|
||||
|
||||
@@ -8,6 +8,7 @@ m4/mathfunc.m4
|
||||
|
||||
Depends-on:
|
||||
math
|
||||
extensions
|
||||
signbit [test $HAVE_COPYSIGNF = 0]
|
||||
|
||||
configure.ac:
|
||||
|
||||
@@ -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]
|
||||
|
||||
|
||||
@@ -7,6 +7,7 @@ m4/cosf.m4
|
||||
|
||||
Depends-on:
|
||||
math
|
||||
extensions
|
||||
cos [test $HAVE_COSF = 0]
|
||||
|
||||
configure.ac:
|
||||
|
||||
@@ -7,6 +7,7 @@ m4/coshf.m4
|
||||
|
||||
Depends-on:
|
||||
math
|
||||
extensions
|
||||
cosh [test $HAVE_COSHF = 0]
|
||||
|
||||
configure.ac:
|
||||
|
||||
@@ -7,6 +7,7 @@ m4/expf.m4
|
||||
|
||||
Depends-on:
|
||||
math
|
||||
extensions
|
||||
exp [test $HAVE_EXPF = 0]
|
||||
|
||||
configure.ac:
|
||||
|
||||
@@ -8,6 +8,7 @@ m4/mathfunc.m4
|
||||
|
||||
Depends-on:
|
||||
math
|
||||
extensions
|
||||
fabs [test $HAVE_FABSF = 0]
|
||||
|
||||
configure.ac:
|
||||
|
||||
@@ -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]
|
||||
|
||||
|
||||
@@ -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]
|
||||
|
||||
@@ -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]
|
||||
|
||||
@@ -7,6 +7,7 @@ m4/fmodf.m4
|
||||
|
||||
Depends-on:
|
||||
math
|
||||
extensions
|
||||
fmod [test $HAVE_FMODF = 0 || test $REPLACE_FMODF = 1]
|
||||
|
||||
configure.ac:
|
||||
|
||||
@@ -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]
|
||||
|
||||
@@ -8,6 +8,7 @@ m4/mathfunc.m4
|
||||
|
||||
Depends-on:
|
||||
math
|
||||
extensions
|
||||
frexp [test $HAVE_FREXPF = 0 || test $REPLACE_FREXPF = 1]
|
||||
|
||||
configure.ac:
|
||||
|
||||
@@ -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]
|
||||
|
||||
@@ -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]
|
||||
|
||||
@@ -8,6 +8,7 @@ m4/mathfunc.m4
|
||||
|
||||
Depends-on:
|
||||
math
|
||||
extensions
|
||||
hypot [test $HAVE_HYPOTF = 0 || test $REPLACE_HYPOTF = 1]
|
||||
|
||||
configure.ac:
|
||||
|
||||
@@ -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]
|
||||
|
||||
@@ -8,6 +8,7 @@ m4/mathfunc.m4
|
||||
|
||||
Depends-on:
|
||||
math
|
||||
extensions
|
||||
ldexp [test $HAVE_LDEXPF = 0]
|
||||
|
||||
configure.ac:
|
||||
|
||||
@@ -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]
|
||||
|
||||
@@ -7,6 +7,7 @@ m4/log10f.m4
|
||||
|
||||
Depends-on:
|
||||
math
|
||||
extensions
|
||||
log10 [test $HAVE_LOG10F = 0]
|
||||
|
||||
configure.ac:
|
||||
|
||||
@@ -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]
|
||||
|
||||
|
||||
@@ -5,6 +5,7 @@ Files:
|
||||
m4/mathfunc.m4
|
||||
|
||||
Depends-on:
|
||||
extensions
|
||||
|
||||
configure.ac:
|
||||
gl_COMMON_DOUBLE_MATHFUNC([log1p])
|
||||
|
||||
@@ -7,6 +7,7 @@ m4/mathfunc.m4
|
||||
|
||||
Depends-on:
|
||||
math
|
||||
extensions
|
||||
|
||||
configure.ac:
|
||||
gl_FUNC_LOGB
|
||||
|
||||
@@ -7,6 +7,7 @@ m4/logf.m4
|
||||
|
||||
Depends-on:
|
||||
math
|
||||
extensions
|
||||
log [test $HAVE_LOGF = 0]
|
||||
|
||||
configure.ac:
|
||||
|
||||
@@ -8,6 +8,7 @@ m4/mathfunc.m4
|
||||
|
||||
Depends-on:
|
||||
math
|
||||
extensions
|
||||
modf [test $HAVE_MODFF = 0 || test $REPLACE_MODFF = 1]
|
||||
|
||||
configure.ac:
|
||||
|
||||
@@ -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]
|
||||
|
||||
@@ -7,6 +7,7 @@ m4/powf.m4
|
||||
|
||||
Depends-on:
|
||||
math
|
||||
extensions
|
||||
pow [test $HAVE_POWF = 0]
|
||||
|
||||
configure.ac:
|
||||
|
||||
@@ -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]
|
||||
|
||||
@@ -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]
|
||||
|
||||
@@ -9,6 +9,7 @@ m4/mathfunc.m4
|
||||
|
||||
Depends-on:
|
||||
math
|
||||
extensions
|
||||
|
||||
configure.ac:
|
||||
gl_FUNC_RINTF
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -7,6 +7,7 @@ m4/sinf.m4
|
||||
|
||||
Depends-on:
|
||||
math
|
||||
extensions
|
||||
sin [test $HAVE_SINF = 0]
|
||||
|
||||
configure.ac:
|
||||
|
||||
@@ -7,6 +7,7 @@ m4/sinhf.m4
|
||||
|
||||
Depends-on:
|
||||
math
|
||||
extensions
|
||||
sinh [test $HAVE_SINHF = 0]
|
||||
|
||||
configure.ac:
|
||||
|
||||
@@ -7,6 +7,7 @@ m4/sqrtf.m4
|
||||
|
||||
Depends-on:
|
||||
math
|
||||
extensions
|
||||
sqrt [test $HAVE_SQRTF = 0]
|
||||
|
||||
configure.ac:
|
||||
|
||||
@@ -7,6 +7,7 @@ m4/tanf.m4
|
||||
|
||||
Depends-on:
|
||||
math
|
||||
extensions
|
||||
tan [test $HAVE_TANF = 0]
|
||||
|
||||
configure.ac:
|
||||
|
||||
@@ -7,6 +7,7 @@ m4/tanhf.m4
|
||||
|
||||
Depends-on:
|
||||
math
|
||||
extensions
|
||||
tanh [test $HAVE_TANHF = 0]
|
||||
|
||||
configure.ac:
|
||||
|
||||
Reference in New Issue
Block a user