autotools.bbclass: When configure fails, dump the config.log files the logs
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 2 Jul 2012 15:35:22 +0000 (16:35 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 3 Jul 2012 13:54:59 +0000 (14:54 +0100)
commitf864b9535f24c6cdddbd6235d9eec6f3c7ca524a
tree8ecf2132765a1b67821bd7b69793809ce447205b
parentfac2a793e0a06ea41cb3a22eb68a27f747e38f0a
autotools.bbclass: When configure fails, dump the config.log files the logs

When configure fails, it usually says "see config.log" yet nobody ever shares
the config.log file meaning the person trying to help invariably has to ask
for more information.

This patch dumps all the config.log files into the main bitbake log files when
configure fails, meaning all the information is present to help someone debug
such failures. It does make the log rather larger but this is preferable to
not having enough information in most cases.

[YOCTO #2463]

(From OE-Core rev: 7ad08f5b73aa949a877adc5641b4bb1d007de750)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/autotools.bbclass