From ad68a128df9d41784ad7bf774f2aa1c4b8b89eb8 Mon Sep 17 00:00:00 2001 From: Assaf Gordon Date: Sat, 7 Jan 2017 00:14:06 -0500 Subject: [PATCH] build: fix out-of-tree builds without dep-tracking Create sed,lib,doc,testsuite subdirectories at the end of 'configure', preventing build problems when building out of tree with --disable-dependency-tracking. Reported by Juan M. Guerrero in https://bugs.gnu.org/25371 . * configure.ac: Call AS_MKDIR_P() to create subdirectories. --- configure.ac | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/configure.ac b/configure.ac index 9fcc62b..9974e53 100644 --- a/configure.ac +++ b/configure.ac @@ -294,6 +294,13 @@ if test "$gl_gcc_warnings" = yes; then AC_SUBST([GNULIB_TEST_WARN_CFLAGS]) fi +# This is needed when building outside the source dir +# with --disable-dependency-tracking, see https://bugs.gnu.org/25371 +AS_MKDIR_P([lib]) +AS_MKDIR_P([sed]) +AS_MKDIR_P([doc]) +AS_MKDIR_P([testsuite]) + AC_CONFIG_FILES([ Makefile po/Makefile.in