From 457ef49c7ab54ae6b104d5a97a0dac64fc710629 Mon Sep 17 00:00:00 2001 From: nirvanazc Date: Tue, 12 Jul 2011 19:00:30 -0700 Subject: Fix autogen failure when unable to find supported command. Closing issue 190 --- autogen.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/autogen.sh b/autogen.sh index 9f372b4..c735394 100755 --- a/autogen.sh +++ b/autogen.sh @@ -3,6 +3,11 @@ # Get the initial version. perl version.pl +die() { + echo "$@" + exit 1 +} + # Try to locate a program by using which, and verify that the file is an # executable locate_binary() { -- cgit v1.2.1