MSYS2-packages/subversion/01-make-build-directories.patch
2020-05-30 09:02:52 +03:00

26 lines
687 B
Diff

Create directories in build tree.
From: David Rothenberger <d.rothenberger@entomo.com>
---
configure.ac | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/configure.ac b/configure.ac
index 4a3683c..a758b73 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1652,6 +1652,11 @@ AC_DEFINE_UNQUOTED([SVN_BUILD_TARGET], "${target}",
[Defined to the config.guess name of the build target])
AC_OUTPUT
+if test "$abs_srcdir" != "$abs_builddir"
+then
+ AC_MSG_NOTICE([Creating build directories])
+ (cd "$abs_srcdir"; find subversion tools contrib -type d) | xargs $MKDIR
+fi
# ==== Print final messages to user ==========================================