14 if test $REPLACE_FLOAT_LDBL = 1; then
19 BUILT_SOURCES += $(FLOAT_H)
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; \
36 float.h: $(top_builddir)/config.status
39 MOSTLYCLEANFILES += float.h float.h-t