From: Paul Barker Date: Thu, 16 Jan 2014 15:16:31 +0000 (+0000) Subject: Fix out-of-tree build X-Git-Tag: v3.1.900a~326 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=af77429c918514a625284e20a22843742508348f;p=thirdparty%2Flibarchive.git 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 --- 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