summaryrefslogtreecommitdiff
path: root/modules
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
parent4228bc8a5ec1846f6a12c81a46e3dd864e027196 (diff)
downloadgnulib-71f9eb575a47dac697e2e161d026da473db6addf.tar.gz
New module 'float'.
Diffstat (limited to 'modules')
-rw-r--r--modules/float36
-rw-r--r--modules/isnanl1
-rw-r--r--modules/isnanl-nolibm1
-rw-r--r--modules/mathl1
-rw-r--r--modules/printf-frexpl1
-rw-r--r--modules/signbit1
-rw-r--r--modules/vasnprintf1
7 files changed, 42 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
diff --git a/modules/isnanl b/modules/isnanl
index 86907afd83..026981f274 100644
--- a/modules/isnanl
+++ b/modules/isnanl
@@ -9,6 +9,7 @@ lib/float+.h
m4/isnanl.m4
Depends-on:
+float
fpieee
configure.ac:
diff --git a/modules/isnanl-nolibm b/modules/isnanl-nolibm
index 1b753a567d..9250fef0ea 100644
--- a/modules/isnanl-nolibm
+++ b/modules/isnanl-nolibm
@@ -9,6 +9,7 @@ lib/float+.h
m4/isnanl.m4
Depends-on:
+float
fpieee
configure.ac:
diff --git a/modules/mathl b/modules/mathl
index d9c1b13b3b..892eea4417 100644
--- a/modules/mathl
+++ b/modules/mathl
@@ -19,6 +19,7 @@ lib/trigl.h
m4/mathl.m4
Depends-on:
+float
math
frexpl
isnanl
diff --git a/modules/printf-frexpl b/modules/printf-frexpl
index c50c4c7578..c23550e1b6 100644
--- a/modules/printf-frexpl
+++ b/modules/printf-frexpl
@@ -11,6 +11,7 @@ m4/frexpl.m4
m4/ldexpl.m4
Depends-on:
+float
math
fpucw
diff --git a/modules/signbit b/modules/signbit
index 10c1840b0a..57ba154563 100644
--- a/modules/signbit
+++ b/modules/signbit
@@ -9,6 +9,7 @@ lib/float+.h
m4/signbit.m4
Depends-on:
+float
math
isnanf-nolibm
isnan-nolibm
diff --git a/modules/vasnprintf b/modules/vasnprintf
index ce40449a84..0a5aabc3af 100644
--- a/modules/vasnprintf
+++ b/modules/vasnprintf
@@ -21,6 +21,7 @@ m4/vasnprintf.m4
Depends-on:
alloca-opt
+float
stdint
xsize