* Bernhard Voelker <[email protected]>: | okay, I think the problem isn't the VPATH build, but the detection | of whether you're cross-compiling or not.
| In 'man/local.mk':
| ## Use the distributed man pages if cross compiling or lack perl
| if CROSS_COMPILING
| run_help2man = $(SHELL) $(srcdir)/man/dummy-man
| else
| ## Graceful degradation for systems lacking perl.
| if HAVE_PERL
| run_help2man = $(PERL) -- $(srcdir)/man/help2man
| else
| run_help2man = $(SHELL) $(srcdir)/man/dummy-man
| endif
| endif
| and CROSS_COMPILING is set in 'configure.ac':
| AM_CONDITIONAL([CROSS_COMPILING], [test "$cross_compiling" = yes])
| but it seems automake doesn't provide the right value for "$cross_compiling"
| for you when cross-compiling from x86_64 to i686.
| BTW: CROSS_COMPILING is also used to determine whether to use
| the just-built 'src/ginstall' or 'install' of the build host,
| so I'm wondering if you'd fall into the same trap later on?
Wasn't able to test it yet. :-)
| If yes, then I suggest - with my limited autotool foo - to enhance
| the configure-time check with:
| ----8<----
| diff --git a/configure.ac b/configure.ac
[...]
The inline attachment messed up tabulators, but I applied the patch by
hand.
Seems like something wrong around this line:
| - && export SOURCE_DATE_EPOCH && $(run_help2man) \
| + && export SOURCE_DATE_EPOCH && $${run_help2man} \
see the attached log.
build-1534502528.log
Description: Binary data
