]> Savannah Git Hosting - gnulib.git/commitdiff
dynarray, scratch_buffer: Fix VPATH builds (regression from yesterday).
authorBruno Haible <bruno@clisp.org>
Tue, 8 Jun 2021 00:32:41 +0000 (02:32 +0200)
committerBruno Haible <bruno@clisp.org>
Tue, 8 Jun 2021 00:32:41 +0000 (02:32 +0200)
* modules/dynarray (configure.ac): Invoke AC_PROG_MKDIR_P.
(Makefile.am): Create malloc/ directory before creating
malloc/dynarray.gl.h and malloc/dynarray-skeleton.gl.h.
* modules/scratch_buffer (configure.ac): Invoke AC_PROG_MKDIR_P.
(Makefile.am): Create malloc/ directory before creating
malloc/scratch_buffer.gl.h.

ChangeLog
modules/dynarray
modules/scratch_buffer

index 6ca3a6c1ae57fbbcaf17412eda4853f39d1b915b..661e289b5fa97c9fd1b75dd1f9ea64b026e7a22d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2021-06-07  Bruno Haible  <bruno@clisp.org>
+
+       dynarray, scratch_buffer: Fix VPATH builds (regression from yesterday).
+       * modules/dynarray (configure.ac): Invoke AC_PROG_MKDIR_P.
+       (Makefile.am): Create malloc/ directory before creating
+       malloc/dynarray.gl.h and malloc/dynarray-skeleton.gl.h.
+       * modules/scratch_buffer (configure.ac): Invoke AC_PROG_MKDIR_P.
+       (Makefile.am): Create malloc/ directory before creating
+       malloc/scratch_buffer.gl.h.
+
 2021-06-07  Bruno Haible  <bruno@clisp.org>
 
        ptsname_r: Add support for DragonFly BSD 6.0.
index 7fd444f5225f3fb35b5bb5f99a7161253a763f7f..fa608ded0e3822c8c99973054bbd155ed2aada0a 100644 (file)
@@ -20,11 +20,13 @@ stddef
 intprops
 
 configure.ac:
+AC_PROG_MKDIR_P
 
 Makefile.am:
 BUILT_SOURCES += malloc/dynarray.gl.h malloc/dynarray-skeleton.gl.h
 
 malloc/dynarray.gl.h: malloc/dynarray.h
+       $(AM_V_at)$(MKDIR_P) malloc
        $(AM_V_GEN)rm -f $@-t $@ && \
        { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
          sed -e '/libc_hidden_proto/d' < $(srcdir)/malloc/dynarray.h; \
@@ -33,6 +35,7 @@ malloc/dynarray.gl.h: malloc/dynarray.h
 MOSTLYCLEANFILES += malloc/dynarray.gl.h malloc/dynarray.gl.h-t
 
 malloc/dynarray-skeleton.gl.h: malloc/dynarray-skeleton.c
+       $(AM_V_at)$(MKDIR_P) malloc
        $(AM_V_GEN)rm -f $@-t $@ && \
        { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
          sed -e 's|<malloc/dynarray\.h>|<malloc/dynarray.gl.h>|g' \
index ede77a992419facbe73cdb67ece62b246858a035..184f0b6bf12bbb9a352149113dbcbb82ad2f40d9 100644 (file)
@@ -20,11 +20,13 @@ realloc-posix
 free-posix
 
 configure.ac:
+AC_PROG_MKDIR_P
 
 Makefile.am:
 BUILT_SOURCES += malloc/scratch_buffer.gl.h
 
 malloc/scratch_buffer.gl.h: malloc/scratch_buffer.h
+       $(AM_V_at)$(MKDIR_P) malloc
        $(AM_V_GEN)rm -f $@-t $@ && \
        { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
          sed -e 's|__always_inline|inline _GL_ATTRIBUTE_ALWAYS_INLINE|g' \