13
0

fix logic error in jack version check that caused it to not detect newer jack versions

git-svn-id: svn://localhost/ardour2/branches/3.0@14082 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Todd Naugle 2013-02-21 21:47:12 +00:00
parent 0efedf3b85
commit 9c4a4e8374

View File

@ -551,13 +551,37 @@ then
if [ "jackd" = ${JACK_NAME} ]; if [ "jackd" = ${JACK_NAME} ];
then then
if [ 0 -le ${JACK_VERSION_MAJOR} -a 121 -le ${JACK_VERSION_MIDDLE} -a 3 -le ${JACK_VERSION_MINOR} ]; if [ ${JACK_VERSION_MAJOR} -eq 0 ];
then
if [ ${JACK_VERSION_MIDDLE} -eq 121 ];
then
if [ ${JACK_VERSION_MINOR} -ge 3 ];
then
JACK_VERSION_OK="t"
fi
elif [ ${JACK_VERSION_MIDDLE} -gt 121 ];
then
JACK_VERSION_OK="t"
fi
elif [ ${JACK_VERSION_MAJOR} -gt 0 ];
then then
JACK_VERSION_OK="t" JACK_VERSION_OK="t"
fi fi
elif [ "jackdmp" = ${JACK_NAME} ]; elif [ "jackdmp" = ${JACK_NAME} ];
then then
if [ 1 -le ${JACK_VERSION_MAJOR} -a 9 -le ${JACK_VERSION_MIDDLE} -a 8 -le ${JACK_VERSION_MINOR} ]; if [ ${JACK_VERSION_MAJOR} -eq 1 ];
then
if [ ${JACK_VERSION_MIDDLE} -eq 9 ];
then
if [ ${JACK_VERSION_MINOR} -ge 8 ];
then
JACK_VERSION_OK="t"
fi
elif [ ${JACK_VERSION_MIDDLE} -gt 9 ];
then
JACK_VERSION_OK="t"
fi
elif [ ${JACK_VERSION_MAJOR} -gt 1 ];
then then
JACK_VERSION_OK="t" JACK_VERSION_OK="t"
fi fi