libposix: Revert the unreviewed part of yesterday's big merge.
[gnulib.git] / modules / float
index c565f7f..c98853b 100644 (file)
@@ -2,7 +2,7 @@ Description:
 A correct <float.h>.
 
 Files:
-lib/float_.h
+lib/float.in.h
 m4/float_h.m4
 
 Depends-on:
@@ -16,13 +16,15 @@ 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 $@
+float.h: float.in.h
+       $(AM_V_GEN)rm -f $@-t $@ && \
        { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
-         sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
+         sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
+             -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
+             -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
              -e 's|@''NEXT_FLOAT_H''@|$(NEXT_FLOAT_H)|g' \
-             < $(srcdir)/float_.h; \
-       } > $@-t
+             < $(srcdir)/float.in.h; \
+       } > $@-t && \
        mv $@-t $@
 MOSTLYCLEANFILES += float.h float.h-t
 
@@ -30,7 +32,7 @@ Include:
 <float.h>
 
 License:
-LGPL
+LGPLv2+
 
 Maintainer:
 all