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.
This commit is contained in:
Assaf Gordon committed 2017-01-08 21:36:25 -05:00
1 parent 2a6eccb7ee
commit ad68a128df
1 file changed
+7
+7
View File
@@ -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