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)'
This commit is contained in:
Zbyszek Jędrzejewski-Szmek 2012-07-18 10:06:18 +02:00 committed by Zbigniew Jędrzejewski-Szmek
parent a804b788a8
commit 2fd8b540c9

View File

@ -15,6 +15,8 @@
# You should have received a copy of the GNU Lesser General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
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 && \