tools/build/bootstrap-m4: regenerate after d37f81e35bReviewed by: jkim(cherry picked from commit f8e57f89f3f550501c54ce839213a08981ff9250)
Add necessary Makefile.inc1 infrastructure for building on non-FreeBSDThe most awkward bit in this patch is the bootstrapping of m4:We can't simply use the host version of m4 since that is not com
Add necessary Makefile.inc1 infrastructure for building on non-FreeBSDThe most awkward bit in this patch is the bootstrapping of m4:We can't simply use the host version of m4 since that is not compatiblewith the flags passed by lex (at least on macOS, possibly also on Linux).Therefore we need to bootstrap m4, but lex needs m4 to build and m4 alsodepends on lex (which needs m4 to generate any files). To work around thiscyclic dependency we can build a bootstrap version of m4 (with pre-generatedfiles) then use that to build the real m4.This patch also changes the xz/unxz/dd tools to always use the host versionsince the version in the source tree cannot easily be bootstrapped on macOSor Linux.Reviewed By: brooks, imp (earlier version)Differential Revision: https://reviews.freebsd.org/D25992
show more ...