getcwd: fix test failures on mingw
[gnulib.git] / modules / float
1 Description:
2 A correct <float.h>.
3
4 Files:
5 lib/float.in.h
6 lib/float.c
7 m4/float_h.m4
8
9 Depends-on:
10 include_next
11
12 configure.ac:
13 gl_FLOAT_H
14 if test $REPLACE_FLOAT_LDBL = 1; then
15   AC_LIBOBJ([float])
16 fi
17
18 Makefile.am:
19 BUILT_SOURCES += $(FLOAT_H)
20
21 # We need the following in order to create <float.h> when the system
22 # doesn't have one that works with the given compiler.
23 if GL_GENERATE_FLOAT_H
24 float.h: float.in.h $(top_builddir)/config.status
25         $(AM_V_GEN)rm -f $@-t $@ && \
26         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
27           sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
28               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
29               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
30               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
31               -e 's|@''NEXT_FLOAT_H''@|$(NEXT_FLOAT_H)|g' \
32               < $(srcdir)/float.in.h; \
33         } > $@-t && \
34         mv $@-t $@
35 else
36 float.h: $(top_builddir)/config.status
37         rm -f $@
38 endif
39 MOSTLYCLEANFILES += float.h float.h-t
40
41 Include:
42 <float.h>
43
44 License:
45 LGPLv2+
46
47 Maintainer:
48 all