004d2bf42ae799a55f7a99af0bef5ea29b189fab
[gnulib.git] / modules / float
1 Description:
2 A correct <float.h>.
3
4 Files:
5 lib/float.in.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 nodist_pkginclude_HEADERS += $(FLOAT_H)
16 EXTRA_HEADERS += float.h
17
18 BUILT_SOURCES += $(FLOAT_H)
19
20 # We need the following in order to create <float.h> when the system
21 # doesn't have one that works with the given compiler.
22 float.h: float.in.h
23         $(AM_V_GEN)rm -f $@-t $@ && \
24         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
25           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
26               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
27               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
28               -e 's|@''NEXT_FLOAT_H''@|$(NEXT_FLOAT_H)|g' \
29               < $(srcdir)/float.in.h; \
30         } > $@-t && \
31         mv $@-t $@
32 MOSTLYCLEANFILES += float.h float.h-t
33
34 Include:
35 <float.h>
36
37 License:
38 LGPLv2+
39
40 Maintainer:
41 all