16 gl_CONDITIONAL_HEADER([float.h])
18 gl_CONDITIONAL([GL_COND_OBJ_FLOAT], [test $REPLACE_FLOAT_LDBL = 1])
19 gl_CONDITIONAL([GL_COND_OBJ_ITOLD], [test $REPLACE_ITOLD = 1])
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
39 float.h: $(top_builddir)/config.status
42 MOSTLYCLEANFILES += float.h float.h-t
45 lib_SOURCES += float.c
48 lib_SOURCES += itold.c