From: Zbyszek Jędrzejewski-Szmek Date: Wed, 18 Jul 2012 08:06:18 +0000 (+0200) Subject: build-sys: fail early in autogen.sh X-Git-Tag: v188~109 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=2fd8b540c939d1dfdea3f42bd04a378035b3e070;p=elogind.git build-sys: fail early in autogen.sh When intltoolize is not installed, autogen.sh runs without error, but configure.ac is borked. ./configure: line 12001: syntax error near unexpected token `0.40.0' ./configure: line 12001: `IT_PROG_INTLTOOL(0.40.0)' --- diff --git a/autogen.sh b/autogen.sh index f9ad5f0a1..bec43fad7 100755 --- a/autogen.sh +++ b/autogen.sh @@ -15,6 +15,8 @@ # You should have received a copy of the GNU Lesser General Public License # along with systemd; If not, see . +set -e + if [ -f .git/hooks/pre-commit.sample -a ! -f .git/hooks/pre-commit ] ; then cp -p .git/hooks/pre-commit.sample .git/hooks/pre-commit && \ chmod +x .git/hooks/pre-commit && \