From 5bafd943f9b7486d653567f04cff909432221bc0 Mon Sep 17 00:00:00 2001 From: John Toman Date: Sun, 22 Nov 2009 22:01:57 +0000 Subject: [PATCH] config script now exits on error git-svn-id: svn://svn.code.sf.net/p/qjoypad/code/trunk@118 c05e91a0-76c8-4ec0-b377-ef19ce7cc080 --- src/config | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/config b/src/config index 08766ef..a3bffcb 100755 --- a/src/config +++ b/src/config @@ -3,14 +3,17 @@ if( ! pkg-config --exists xtst ); then echo "Error: you will need libxtst to compile this program"; + exit 1; fi; if( ! pkg-config --atleast-version=4.2 QtCore ); then echo "Error: you need at least Qt version 4.2 to use this program"; + exit 1; fi; if ( ! qmake ); then echo "Error: you need qmake!"; + exit 1; fi; if( ! ( qmake --version | grep -qi 'Qt version 4' ) ); then