From af77429c918514a625284e20a22843742508348f Mon Sep 17 00:00:00 2001 From: Paul Barker Date: Thu, 16 Jan 2014 15:16:31 +0000 Subject: [PATCH] Fix out-of-tree build When building outside the source tree, the directories 'libarchive/test', 'tar/test' and 'cpio/test' need to be created before the commands in Makefile.am are executed which create list.h files in these directories. Signed-off-by: Paul Barker --- configure.ac | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/configure.ac b/configure.ac index 73944d3e0..e92ea252d 100644 --- a/configure.ac +++ b/configure.ac @@ -785,4 +785,8 @@ case "$host_os" in ;; esac +# Ensure test directories are present if building out-of-tree +AC_CONFIG_COMMANDS([mkdirs], + [mkdir -p {libarchive,tar,cpio}/test]) + AC_OUTPUT -- 2.47.2