ansi-c++-opt: Provide option --enable-c++/--disable-c++ when possible.
[gnulib.git] / modules / argz
index 19d884b..5f9c749 100644 (file)
@@ -7,10 +7,12 @@ lib/argz.c
 m4/argz.m4
 
 Depends-on:
+memmove
 mempcpy
 stpcpy
 strndup
 strnlen
+strstr
 
 configure.ac:
 gl_FUNC_ARGZ
@@ -21,9 +23,10 @@ BUILT_SOURCES += $(ARGZ_H)
 # We need the following in order to create <argz.h> when the system
 # doesn't have one that works with the given compiler.
 argz.h: argz.in.h
+       $(AM_V_GEN)rm -f $@-t $@ && \
        { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
          cat $(srcdir)/argz.in.h; \
-       } > $@-t
+       } > $@-t && \
        mv -f $@-t $@
 MOSTLYCLEANFILES += argz.h argz.h-t