config script now exits on error
git-svn-id: svn://svn.code.sf.net/p/qjoypad/code/trunk@118 c05e91a0-76c8-4ec0-b377-ef19ce7cc080
This commit is contained in:
committed by
virtuoussin13
parent
9a03e0c480
commit
5bafd943f9
@ -3,14 +3,17 @@
|
|||||||
|
|
||||||
if( ! pkg-config --exists xtst ); then
|
if( ! pkg-config --exists xtst ); then
|
||||||
echo "Error: you will need libxtst to compile this program";
|
echo "Error: you will need libxtst to compile this program";
|
||||||
|
exit 1;
|
||||||
fi;
|
fi;
|
||||||
|
|
||||||
if( ! pkg-config --atleast-version=4.2 QtCore ); then
|
if( ! pkg-config --atleast-version=4.2 QtCore ); then
|
||||||
echo "Error: you need at least Qt version 4.2 to use this program";
|
echo "Error: you need at least Qt version 4.2 to use this program";
|
||||||
|
exit 1;
|
||||||
fi;
|
fi;
|
||||||
|
|
||||||
if ( ! qmake ); then
|
if ( ! qmake ); then
|
||||||
echo "Error: you need qmake!";
|
echo "Error: you need qmake!";
|
||||||
|
exit 1;
|
||||||
fi;
|
fi;
|
||||||
|
|
||||||
if( ! ( qmake --version | grep -qi 'Qt version 4' ) ); then
|
if( ! ( qmake --version | grep -qi 'Qt version 4' ) ); then
|
||||||
|
Reference in New Issue
Block a user