gnulib-tool.py: Handle module dependencies that cannot be found.
[gnulib.git] / modules / float
blob600de5ebee873ca918f5ea0fd33b4bd3b7427737
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], [test $REPLACE_FLOAT_LDBL = 1])
19 gl_CONDITIONAL([GL_COND_OBJ_ITOLD], [test $REPLACE_ITOLD = 1])
21 Makefile.am:
22 BUILT_SOURCES += $(FLOAT_H)
24 # We need the following in order to create <float.h> when the system
25 # doesn't have one that works with the given compiler.
26 if GL_GENERATE_FLOAT_H
27 float.h: float.in.h $(top_builddir)/config.status
28 @NMD@   $(AM_V_GEN)$(MKDIR_P) '%reldir%'
29         $(gl_V_at)$(SED_HEADER_STDOUT) \
30               -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
31               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
32               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
33               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
34               -e 's|@''NEXT_FLOAT_H''@|$(NEXT_FLOAT_H)|g' \
35               -e 's|@''REPLACE_ITOLD''@|$(REPLACE_ITOLD)|g' \
36               $(srcdir)/float.in.h > $@-t
37         $(AM_V_at)mv $@-t $@
38 else
39 float.h: $(top_builddir)/config.status
40         rm -f $@
41 endif
42 MOSTLYCLEANFILES += float.h float.h-t
44 if GL_COND_OBJ_FLOAT
45 lib_SOURCES += float.c
46 endif
47 if GL_COND_OBJ_ITOLD
48 lib_SOURCES += itold.c
49 endif
51 Include:
52 <float.h>
54 License:
55 LGPLv2+
57 Maintainer:
58 all