From 2fd8b540c939d1dfdea3f42bd04a378035b3e070 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Zbyszek=20J=C4=99drzejewski-Szmek?= Date: Wed, 18 Jul 2012 10:06:18 +0200 Subject: [PATCH] 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)' --- autogen.sh | 2 ++ 1 file changed, 2 insertions(+) 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 && \ -- 2.30.2