Add support for 'long double' number output.
[gnulib.git] / modules / alloca-opt
index 2e051d3..d6318c9 100644 (file)
@@ -14,13 +14,14 @@ gl_FUNC_ALLOCA
 
 Makefile.am:
 BUILT_SOURCES += $(ALLOCA_H)
-EXTRA_DIST += alloca_.h
 
 # We need the following in order to create <alloca.h> when the system
 # doesn't have one that works with the given compiler.
 alloca.h: alloca_.h
-       cp $(srcdir)/alloca_.h $@-t
-       mv $@-t $@
+       { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
+         cat $(srcdir)/alloca_.h; \
+       } > $@-t
+       mv -f $@-t $@
 MOSTLYCLEANFILES += alloca.h alloca.h-t
 
 Include: