summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAssaf Gordon <assafgordon@gmail.com>2017-01-10 20:58:07 (GMT)
committerAssaf Gordon <assafgordon@gmail.com>2017-01-10 20:58:07 (GMT)
commitd0c73402074243bfa0e83b61e2ede3d30db4d78b (patch)
tree63036b2651c37881c53d56dca514928816d0a346
parentcf1b431bebcfe4fb1e01b5faf5c435a2713c26ab (diff)
downloaddatamash-update2017.zip
datamash-update2017.tar.gz
datamash-update2017.tar.bz2
build: fix out-of-tree builds without dep-trackingupdate2017
Create src,lib,doc,tests subdirectories at the end of 'configure', preventing build problems when building out of tree with --disable-dependency-tracking. Inspired by sed's https://bugs.gnu.org/25371 . * configure.ac: Call AS_MKDIR_P() to create subdirectories.
-rw-r--r--configure.ac9
1 files changed, 9 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 729db2f..0e405cf 100644
--- a/configure.ac
+++ b/configure.ac
@@ -140,6 +140,15 @@ AC_CONFIG_FILES([Makefile
po/Makefile.in
])
+
+# This is needed when building outside the source dir
+# with --disable-dependency-tracking.
+# Inspired by sed's https://bugs.gnu.org/25371
+AS_MKDIR_P([lib])
+AS_MKDIR_P([src])
+AS_MKDIR_P([doc])
+AS_MKDIR_P([tests])
+
AC_OUTPUT
dnl