The non-recursive-gnulib-prefix-hack module interacts poorly with out-of-tree builds: if configure is run with --disable-dependency-tracking, then nothing creates the out-of-tree lib directory before running targets such as lib/alloca.h, and the prefix hack isn't smart enough to insert a mkdir. The simplest workaround is to create the directory in configure.
* configure.ac: Create lib directory if needed. --- ChangeLog | 13 +++++++++++++ configure.ac | 8 ++++++++ 2 files changed, 21 insertions(+) diff --git a/ChangeLog b/ChangeLog index 94eaebc..6f996f1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,18 @@ 2018-03-09 Colin Watson <cjwat...@debian.org> + build: fix out-of-tree builds without dependency tracking + + The non-recursive-gnulib-prefix-hack module interacts poorly with + out-of-tree builds: if configure is run with + --disable-dependency-tracking, then nothing creates the out-of-tree + lib directory before running targets such as lib/alloca.h, and the + prefix hack isn't smart enough to insert a mkdir. The simplest + workaround is to create the directory in configure. + + * configure.ac: Create lib directory if needed. + +2018-03-09 Colin Watson <cjwat...@debian.org> + man pages: fix incorrect cross-referenced section * man/roff.7.man (FILE NAME EXTENSIONS): Correct reference to diff --git a/configure.ac b/configure.ac index f3c4dd0..84953a3 100644 --- a/configure.ac +++ b/configure.ac @@ -198,6 +198,14 @@ AM_CONDITIONAL([BUILD_OTHERDOC], [test -n "$make_otherdoc"]) AM_CONDITIONAL([BUILD_EXAMPLES], [test -n "$make_examples"]) AM_CONDITIONAL([INSTALL_SHIPPED_HTML], [test -n "$make_install_shipped_htmldoc"]) +# The non-recursive-gnulib-prefix-hack module interacts poorly with +# out-of-tree builds: if configure is run with +# --disable-dependency-tracking, then nothing creates the out-of-tree lib +# directory before running targets such as lib/alloca.h, and the prefix hack +# isn't smart enough to insert a mkdir. The simplest workaround is to +# create the directory here. +AS_MKDIR_P([lib]) + AC_CONFIG_FILES([Makefile]) AC_CONFIG_FILES([test-groff], [chmod +x test-groff]) AC_OUTPUT -- 2.7.4