annotate m4/math_h.m4 @ 8652:9aabfa2b3200

New module 'signbit'.
author Bruno Haible <bruno@clisp.org>
date Fri, 06 Apr 2007 20:55:44 +0000
parents 84d2dbfe5855
children 1025663f7658
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
8588
84d2dbfe5855 New module 'ldexpl'.
Bruno Haible <bruno@clisp.org>
parents: 8547
diff changeset
1 # math_h.m4 serial 4
8186
c115624bf99a New module 'math'. <math.h> replaces mathl.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
2 dnl Copyright (C) 2007 Free Software Foundation, Inc.
c115624bf99a New module 'math'. <math.h> replaces mathl.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
3 dnl This file is free software; the Free Software Foundation
c115624bf99a New module 'math'. <math.h> replaces mathl.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
4 dnl gives unlimited permission to copy and/or distribute it,
c115624bf99a New module 'math'. <math.h> replaces mathl.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
5 dnl with or without modifications, as long as this notice is preserved.
c115624bf99a New module 'math'. <math.h> replaces mathl.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
6
c115624bf99a New module 'math'. <math.h> replaces mathl.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
7 AC_DEFUN([gl_MATH_H],
c115624bf99a New module 'math'. <math.h> replaces mathl.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
8 [
c115624bf99a New module 'math'. <math.h> replaces mathl.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
9 AC_REQUIRE([gl_MATH_H_DEFAULTS])
c115624bf99a New module 'math'. <math.h> replaces mathl.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
10 gl_ABSOLUTE_HEADER([math.h])
c115624bf99a New module 'math'. <math.h> replaces mathl.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
11 ABSOLUTE_MATH_H=\"$gl_cv_absolute_math_h\"
c115624bf99a New module 'math'. <math.h> replaces mathl.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
12 AC_SUBST([ABSOLUTE_MATH_H])
c115624bf99a New module 'math'. <math.h> replaces mathl.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
13 ])
c115624bf99a New module 'math'. <math.h> replaces mathl.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
14
c115624bf99a New module 'math'. <math.h> replaces mathl.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
15 AC_DEFUN([gl_MATH_MODULE_INDICATOR],
c115624bf99a New module 'math'. <math.h> replaces mathl.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
16 [
c115624bf99a New module 'math'. <math.h> replaces mathl.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
17 dnl Use AC_REQUIRE here, so that the default settings are expanded once only.
c115624bf99a New module 'math'. <math.h> replaces mathl.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
18 AC_REQUIRE([gl_MATH_H_DEFAULTS])
c115624bf99a New module 'math'. <math.h> replaces mathl.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
19 GNULIB_[]m4_translit([$1],[abcdefghijklmnopqrstuvwxyz./-],[ABCDEFGHIJKLMNOPQRSTUVWXYZ___])=1
c115624bf99a New module 'math'. <math.h> replaces mathl.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
20 ])
c115624bf99a New module 'math'. <math.h> replaces mathl.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
21
c115624bf99a New module 'math'. <math.h> replaces mathl.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
22 AC_DEFUN([gl_MATH_H_DEFAULTS],
c115624bf99a New module 'math'. <math.h> replaces mathl.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
23 [
8652
9aabfa2b3200 New module 'signbit'.
Bruno Haible <bruno@clisp.org>
parents: 8588
diff changeset
24 GNULIB_FREXP=0; AC_SUBST([GNULIB_FREXP])
9aabfa2b3200 New module 'signbit'.
Bruno Haible <bruno@clisp.org>
parents: 8588
diff changeset
25 GNULIB_FREXPL=0; AC_SUBST([GNULIB_FREXPL])
9aabfa2b3200 New module 'signbit'.
Bruno Haible <bruno@clisp.org>
parents: 8588
diff changeset
26 GNULIB_LDEXPL=0; AC_SUBST([GNULIB_LDEXPL])
9aabfa2b3200 New module 'signbit'.
Bruno Haible <bruno@clisp.org>
parents: 8588
diff changeset
27 GNULIB_MATHL=0; AC_SUBST([GNULIB_MATHL])
9aabfa2b3200 New module 'signbit'.
Bruno Haible <bruno@clisp.org>
parents: 8588
diff changeset
28 GNULIB_SIGNBIT=0; AC_SUBST([GNULIB_SIGNBIT])
8359
d8d194025f40 Provide the option to declare the mathl functions also when the 'mathl'
Bruno Haible <bruno@clisp.org>
parents: 8186
diff changeset
29 dnl Assume proper GNU behavior unless another module says otherwise.
d8d194025f40 Provide the option to declare the mathl functions also when the 'mathl'
Bruno Haible <bruno@clisp.org>
parents: 8186
diff changeset
30 HAVE_DECL_ACOSL=1; AC_SUBST([HAVE_DECL_ACOSL])
d8d194025f40 Provide the option to declare the mathl functions also when the 'mathl'
Bruno Haible <bruno@clisp.org>
parents: 8186
diff changeset
31 HAVE_DECL_ASINL=1; AC_SUBST([HAVE_DECL_ASINL])
d8d194025f40 Provide the option to declare the mathl functions also when the 'mathl'
Bruno Haible <bruno@clisp.org>
parents: 8186
diff changeset
32 HAVE_DECL_ATANL=1; AC_SUBST([HAVE_DECL_ATANL])
d8d194025f40 Provide the option to declare the mathl functions also when the 'mathl'
Bruno Haible <bruno@clisp.org>
parents: 8186
diff changeset
33 HAVE_DECL_CEILL=1; AC_SUBST([HAVE_DECL_CEILL])
d8d194025f40 Provide the option to declare the mathl functions also when the 'mathl'
Bruno Haible <bruno@clisp.org>
parents: 8186
diff changeset
34 HAVE_DECL_COSL=1; AC_SUBST([HAVE_DECL_COSL])
d8d194025f40 Provide the option to declare the mathl functions also when the 'mathl'
Bruno Haible <bruno@clisp.org>
parents: 8186
diff changeset
35 HAVE_DECL_EXPL=1; AC_SUBST([HAVE_DECL_EXPL])
d8d194025f40 Provide the option to declare the mathl functions also when the 'mathl'
Bruno Haible <bruno@clisp.org>
parents: 8186
diff changeset
36 HAVE_DECL_FLOORL=1; AC_SUBST([HAVE_DECL_FLOORL])
d8d194025f40 Provide the option to declare the mathl functions also when the 'mathl'
Bruno Haible <bruno@clisp.org>
parents: 8186
diff changeset
37 HAVE_DECL_FREXPL=1; AC_SUBST([HAVE_DECL_FREXPL])
d8d194025f40 Provide the option to declare the mathl functions also when the 'mathl'
Bruno Haible <bruno@clisp.org>
parents: 8186
diff changeset
38 HAVE_DECL_LDEXPL=1; AC_SUBST([HAVE_DECL_LDEXPL])
d8d194025f40 Provide the option to declare the mathl functions also when the 'mathl'
Bruno Haible <bruno@clisp.org>
parents: 8186
diff changeset
39 HAVE_DECL_LOGL=1; AC_SUBST([HAVE_DECL_LOGL])
d8d194025f40 Provide the option to declare the mathl functions also when the 'mathl'
Bruno Haible <bruno@clisp.org>
parents: 8186
diff changeset
40 HAVE_DECL_SINL=1; AC_SUBST([HAVE_DECL_SINL])
d8d194025f40 Provide the option to declare the mathl functions also when the 'mathl'
Bruno Haible <bruno@clisp.org>
parents: 8186
diff changeset
41 HAVE_DECL_SQRTL=1; AC_SUBST([HAVE_DECL_SQRTL])
d8d194025f40 Provide the option to declare the mathl functions also when the 'mathl'
Bruno Haible <bruno@clisp.org>
parents: 8186
diff changeset
42 HAVE_DECL_TANL=1; AC_SUBST([HAVE_DECL_TANL])
8491
af98e0b44387 New module 'frexp'.
Bruno Haible <bruno@clisp.org>
parents: 8359
diff changeset
43 REPLACE_FREXP=0; AC_SUBST([REPLACE_FREXP])
8547
658be4e4521a Provide a replacement for frexpl() if the system has it but it doesn't work.
Bruno Haible <bruno@clisp.org>
parents: 8497
diff changeset
44 REPLACE_FREXPL=0; AC_SUBST([REPLACE_FREXPL])
8588
84d2dbfe5855 New module 'ldexpl'.
Bruno Haible <bruno@clisp.org>
parents: 8547
diff changeset
45 REPLACE_LDEXPL=0; AC_SUBST([REPLACE_LDEXPL])
8652
9aabfa2b3200 New module 'signbit'.
Bruno Haible <bruno@clisp.org>
parents: 8588
diff changeset
46 REPLACE_SIGNBIT=0; AC_SUBST([REPLACE_SIGNBIT])
8186
c115624bf99a New module 'math'. <math.h> replaces mathl.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
47 ])