summaryrefslogtreecommitdiff
path: root/modules/scratch_buffer
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2021-06-08 02:32:41 +0200
committerBruno Haible <bruno@clisp.org>2021-06-08 02:32:41 +0200
commit51657ac870c1b49b625aa2216d36290c905f555b (patch)
treed4549fff911b7297261f23db7bcf8ad08edadf4a /modules/scratch_buffer
parentb352d773bd52eac1d486b68bfd5b0545b0857073 (diff)
downloadgnulib-51657ac870c1b49b625aa2216d36290c905f555b.tar.gz
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.
Diffstat (limited to 'modules/scratch_buffer')
-rw-r--r--modules/scratch_buffer2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/scratch_buffer b/modules/scratch_buffer
index ede77a9924..184f0b6bf1 100644
--- a/modules/scratch_buffer
+++ b/modules/scratch_buffer
@@ -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' \