aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2019-10-24 06:46:43 +0200
committerTristan Gingold <tgingold@free.fr>2019-10-24 06:46:43 +0200
commit0674a3535c8861ab608ad0bc57506b83cda8a158 (patch)
treed9271f3bba3fa86f9ddc84ca813e9f1fac673c51 /configure
parent420bcb45b110172ced81830fedcb72cee46c038a (diff)
downloadghdl-0674a3535c8861ab608ad0bc57506b83cda8a158.tar.gz
ghdl-0674a3535c8861ab608ad0bc57506b83cda8a158.tar.bz2
ghdl-0674a3535c8861ab608ad0bc57506b83cda8a158.zip
configure: fails if 'make' failed.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure5
1 files changed, 4 insertions, 1 deletions
diff --git a/configure b/configure
index c6e64b88e..65b010b49 100755
--- a/configure
+++ b/configure
@@ -360,7 +360,10 @@ if ! sh ./config.status; then
fi
# Create dirs
-$MAKE create-dirs
+if ! $MAKE create-dirs; then
+ echo "$progname: cannot execute $MAKE create-dirs"
+ exit 1
+fi
# Generate ortho_code-x86-flags
if test $backend = mcode; then