]> code.ossystems Code Review - openembedded-core.git/commit
autotools: don't output the full config.log on configure failure
authorRoss Burton <ross.burton@intel.com>
Tue, 12 Jan 2016 20:45:45 +0000 (20:45 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 22 Jan 2016 17:21:05 +0000 (17:21 +0000)
commit55e263c559098cce99d8c3ef57ccc39f1d4a6848
tree4252a3b93357ef66441e41e393d240946dcc2496
parentf37af830448794d3941aca9ab4b2bfa9d8358694
autotools: don't output the full config.log on configure failure

The config.log written by autoconf includes many pages of useless output,
followed by an obfuscated error message, and then more pages of every variable
that's been set.  It's only understandable if you're well versed in how autoconf
behaves, and often in simple failure modes doesn't actually make it clear what
the problem was.

Instead of outputting the whole config.log to the console when do_configure()
fails, use bbfatal_log so the human-readable configure output (not the
config.log) is shown to the user, and tell the user where config.log can be
found if they need it.

[ YOCTO #8856 ]

Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/classes/autotools.bbclass