Mercurial > hg > octave-shane > gnulib-hg
diff modules/float @ 8843:dd750f34c273
New module 'float'.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Sat, 19 May 2007 20:21:41 +0000 (2007-05-19) |
parents | |
children | 1025663f7658 |
line wrap: on
line diff
new file mode 100644 --- /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