* m4/include_next.m4 (gl_INCLUDE_NEXT): Define and AC_SUBST
[gnulib.git] / modules / float
1 Description:
2 A correct <float.h>.
3
4 Files:
5 lib/float_.h
6 m4/float_h.m4
7
8 Depends-on:
9 include_next
10
11 configure.ac:
12 gl_FLOAT_H
13
14 Makefile.am:
15 BUILT_SOURCES += $(FLOAT_H)
16
17 # We need the following in order to create <float.h> when the system
18 # doesn't have one that works with the given compiler.
19 float.h: float_.h
20         rm -f $@-t $@
21         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
22           sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
23               -e 's|@''NEXT_FLOAT_H''@|$(NEXT_FLOAT_H)|g' \
24               < $(srcdir)/float_.h; \
25         } > $@-t
26         mv $@-t $@
27 MOSTLYCLEANFILES += float.h float.h-t
28
29 Include:
30 <float.h>
31
32 License:
33 LGPL
34
35 Maintainer:
36 all