Skip to content
Snippets Groups Projects
Commit dc8f018d authored by Simon McVittie's avatar Simon McVittie
Browse files

capsule-init-project: Output log if preconfigure fails

parent dbdc41db
No related branches found
No related tags found
1 merge request!311Build capsule-capture-libs from a bundled copy of libcapsule
......@@ -183,9 +183,13 @@ echo Bootstrapping autoconf templates for $target;
############################################################################
# this stage generates the capsule-shim.mk from a template, which
# we need to be in place before we generate the _real_ Makefile.in:
(autoreconf -if;
if ! (autoreconf -if;
./configure;
sed -i -re 's@##(include .*)##@\1@' Makefile.am) > preconfigure.log 2>&1
sed -i -re 's@##(include .*)##@\1@' Makefile.am) > preconfigure.log 2>&1;
then
cat preconfigure.log
exit 1
fi
############################################################################
echo Running initial configuration;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment