diff options
author | don bright <hugh.m.bright@gmail.com> | 2012-12-20 21:01:30 (GMT) |
---|---|---|
committer | don bright <hugh.m.bright@gmail.com> | 2012-12-20 21:01:30 (GMT) |
commit | 2a612b549b90ecdedcb7763fa13404b3c76e4114 (patch) | |
tree | 476439c3a24c39ca41f1df99f91f854fbe7eec32 /scripts/check-dependencies.sh | |
parent | f95fa0d607e9cac8344fc8e9a9daf60ca7f78b07 (diff) |
improve qt version detection
Diffstat (limited to 'scripts/check-dependencies.sh')
-rwxr-xr-x | scripts/check-dependencies.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/check-dependencies.sh b/scripts/check-dependencies.sh index 2032412..0c69124 100755 --- a/scripts/check-dependencies.sh +++ b/scripts/check-dependencies.sh @@ -104,6 +104,9 @@ gmp_sysver() qt4_sysver() { qt4path=$1/include/qt4/QtCore/qglobal.h + if [ ! -e $qt4path ]; then + qt4path=$1/include/QtCore/qglobal.h + fi if [ ! -e $qt4path ]; then return; fi qt4ver=`grep 'define *QT_VERSION_STR *' $qt4path | awk '{print $3}'` qt4ver=`echo $qt4ver | sed s/'"'//g` |