utimens: port to NetBSD-10.99.12/amd64
[gnulib.git] / modules / float
blob85c0571f18c4eb83b0844a37d0577b8dde8c6ebe
1 Description:
2 A correct <float.h>.
4 Files:
5 lib/float.in.h
6 lib/float.c
7 lib/itold.c
8 m4/float_h.m4
10 Depends-on:
11 gen-header
12 include_next
14 configure.ac:
15 gl_FLOAT_H
16 gl_CONDITIONAL_HEADER([float.h])
17 AC_PROG_MKDIR_P
18 gl_CONDITIONAL([GL_COND_OBJ_FLOAT],
19                [test $REPLACE_FLOAT_LDBL = 1 || test $REPLACE_FLOAT_SNAN = 1])
20 gl_CONDITIONAL([GL_COND_OBJ_ITOLD], [test $REPLACE_ITOLD = 1])
21 dnl Prerequisites of lib/float.c.
22 AC_REQUIRE([gl_BIGENDIAN])
24 Makefile.am:
25 BUILT_SOURCES += $(FLOAT_H)
27 # We need the following in order to create <float.h> when the system
28 # doesn't have one that works with the given compiler.
29 if GL_GENERATE_FLOAT_H
30 float.h: float.in.h $(top_builddir)/config.status
31 @NMD@   $(AM_V_GEN)$(MKDIR_P) '%reldir%'
32         $(gl_V_at)$(SED_HEADER_STDOUT) \
33               -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
34               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
35               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
36               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
37               -e 's|@''NEXT_FLOAT_H''@|$(NEXT_FLOAT_H)|g' \
38               -e 's|@''REPLACE_ITOLD''@|$(REPLACE_ITOLD)|g' \
39               $(srcdir)/float.in.h > $@-t
40         $(AM_V_at)mv $@-t $@
41 else
42 float.h: $(top_builddir)/config.status
43         rm -f $@
44 endif
45 MOSTLYCLEANFILES += float.h float.h-t
47 if GL_COND_OBJ_FLOAT
48 lib_SOURCES += float.c
49 endif
50 if GL_COND_OBJ_ITOLD
51 lib_SOURCES += itold.c
52 endif
54 Include:
55 <float.h>
57 License:
58 LGPLv2+
60 Maintainer:
61 all