annotate automake snippets with $(AM_V_GEN) and $(AM_V_at)
[pspp] / modules / stdlib
index 38cc2be632e524ee38240d0ba06f02420390e88d..dea611f257000d0ede69e69a0c5dbfcc0dcbb6c9 100644 (file)
@@ -9,6 +9,8 @@ Depends-on:
 include_next
 link-warning
 unistd
+stddef
+stdint
 
 configure.ac:
 gl_STDLIB_H
@@ -19,7 +21,7 @@ BUILT_SOURCES += stdlib.h
 # We need the following in order to create <stdlib.h> when the system
 # doesn't have one that works with the given compiler.
 stdlib.h: stdlib.in.h
-       rm -f $@-t $@
+       $(AM_V_GEN)rm -f $@-t $@ && \
        { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
          sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
              -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
@@ -63,7 +65,7 @@ stdlib.h: stdlib.in.h
              -e 's|@''VOID_UNSETENV''@|$(VOID_UNSETENV)|g' \
              -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
              < $(srcdir)/stdlib.in.h; \
-       } > $@-t
+       } > $@-t && \
        mv $@-t $@
 MOSTLYCLEANFILES += stdlib.h stdlib.h-t