Print the log if configure fails
This commit is contained in:
parent
de43073145
commit
892a6f61a2
1 changed files with 5 additions and 3 deletions
|
@ -29,9 +29,11 @@ function autogen() {
|
|||
function configure() {
|
||||
if [[ ! -f Makefile || ! -f .previous_build || configure -nt Makefile ]]; then
|
||||
export CXXFLAGS="${CFLAGS} ${CXXONLY}"
|
||||
set -x
|
||||
./configure --enable-core-inline ${configure_additions[*]}
|
||||
set +x
|
||||
if ! ./configure --enable-core-inline ${configure_additions[*]}; then
|
||||
echo "Failed to configure.. dumping the log:"
|
||||
cat config.log
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue