Allow multiple gnulib generated include files to be combined.
[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 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 if GL_GENERATE_FLOAT_H
20 float.h: float.in.h $(top_builddir)/config.status
21         $(AM_V_GEN)rm -f $@-t $@ && \
22         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
23           sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
24               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
25               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
26               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
27               -e 's|@''NEXT_FLOAT_H''@|$(NEXT_FLOAT_H)|g' \
28               < $(srcdir)/float.in.h; \
29         } > $@-t && \
30         mv $@-t $@
31 else
32 float.h: $(top_builddir)/config.status
33         rm -f $@
34 endif
35 MOSTLYCLEANFILES += float.h float.h-t
36
37 Include:
38 <float.h>
39
40 License:
41 LGPLv2+
42
43 Maintainer:
44 all