summaryrefslogtreecommitdiff
path: root/modules/float
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2007-05-19 20:21:41 +0000
committerBruno Haible <bruno@clisp.org>2007-05-19 20:21:41 +0000
commit71f9eb575a47dac697e2e161d026da473db6addf (patch)
treead4bc606340072405871decbbbbfe3d2940fc5f3 /modules/float
parent4228bc8a5ec1846f6a12c81a46e3dd864e027196 (diff)
downloadgnulib-71f9eb575a47dac697e2e161d026da473db6addf.tar.gz
New module 'float'.
Diffstat (limited to 'modules/float')
-rw-r--r--modules/float36
1 files changed, 36 insertions, 0 deletions
diff --git a/modules/float b/modules/float
new file mode 100644
index 0000000000..9dce2b4d6f
--- /dev/null
+++ b/modules/float
@@ -0,0 +1,36 @@
+Description:
+A correct <float.h>.
+
+Files:
+lib/float_.h
+m4/float_h.m4
+
+Depends-on:
+absolute-header
+
+configure.ac:
+gl_FLOAT_H
+
+Makefile.am:
+BUILT_SOURCES += $(FLOAT_H)
+
+# We need the following in order to create <float.h> when the system
+# doesn't have one that works with the given compiler.
+float.h: float_.h
+ rm -f $@-t $@
+ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
+ sed -e 's|@''ABSOLUTE_FLOAT_H''@|$(ABSOLUTE_FLOAT_H)|g' \
+ -e 's/@''HAVE_INCLUDE_NEXT''@/$(HAVE_INCLUDE_NEXT)/g' \
+ < $(srcdir)/float_.h; \
+ } > $@-t
+ mv $@-t $@
+MOSTLYCLEANFILES += float.h float.h-t
+
+Include:
+<float.h>
+
+License:
+LGPL
+
+Maintainer:
+all