summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2015-05-21 15:09:16 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2015-05-21 15:09:16 +0000
commit23a0eb39809df6e8cc8ccc152daf913c13ae4461 (patch)
tree6a75d606ea13e8719bb1cbca4f96f19365165fc8
parent826f0b1934a707175205766c075fd8443a8446bb (diff)
downloadmpfr-23a0eb39809df6e8cc8ccc152daf913c13ae4461.tar.gz
[autogen.sh] Exit with the exit status of autoreconf. Thus a failure
will be noticed more easily. (merged changeset r9445 from the trunk) git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@9446 280ebfd0-de03-0410-8827-d642c229c3f4
-rwxr-xr-xautogen.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh
index 90c840a10..5d2a116aa 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -6,8 +6,11 @@
mv -f INSTALL INSTALL.$$.tmp
autoreconf -v -f -i -W all
+status=$?
rm -f INSTALL
mv -f INSTALL.$$.tmp INSTALL
rm -rf autom4te.cache
+
+exit $status