New module 'math'. <math.h> replaces mathl.h.
[gnulib.git] / modules / math
1 Description:
2 A GNU-like <math.h>.
3
4 Files:
5 lib/math_.h
6 m4/math_h.m4
7
8 Depends-on:
9 absolute-header
10 link-warning
11
12 configure.ac:
13 gl_MATH_H
14
15 Makefile.am:
16 BUILT_SOURCES += math.h
17
18 # We need the following in order to create <math.h> when the system
19 # doesn't have one that works with the given compiler.
20 math.h: math_.h
21         rm -f $@-t $@
22         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
23           sed -e 's|@''ABSOLUTE_MATH_H''@|$(ABSOLUTE_MATH_H)|g' \
24               -e 's|@''GNULIB_MATHL''@|$(GNULIB_MATHL)|g' \
25               -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
26               < $(srcdir)/math_.h; \
27         } > $@-t
28         mv $@-t $@
29 MOSTLYCLEANFILES += math.h math.h-t
30
31 Include:
32 <math.h>
33
34 License:
35 LGPL
36
37 Maintainer:
38 all