]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
Fix out-of-tree build
authorPaul Barker <paul@paulbarker.me.uk>
Thu, 16 Jan 2014 15:16:31 +0000 (15:16 +0000)
committerTim Kientzle <kientzle@gmail.com>
Fri, 17 Jan 2014 02:51:26 +0000 (18:51 -0800)
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 <paul@paulbarker.me.uk>
configure.ac

index 73944d3e0754b70d73c4bc757a72f91ef84bbae2..e92ea252d6f7ecf753673418504da1750df2bc02 100644 (file)
@@ -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