Skip to content

Commit

Permalink
Throw an error in configure if Qt 4.1 is not detected.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk@4493 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
gsherman committed Jan 7, 2006
1 parent ef715a8 commit f174784
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions acinclude.m4
Expand Up @@ -175,7 +175,7 @@ fi
AC_MSG_CHECKING([Qt version])
QT_VER=`grep 'define.*QT_VERSION_STR\W' $QTVERTEST/qglobal.h | perl -p -e 's/\D//g'`
case "${QT_VER}" in
41*|40*)
41*)
QT_MAJOR="4"
case "${host}" in
*-darwin*)
Expand Down Expand Up @@ -210,7 +210,7 @@ case "${QT_VER}" in
# QT_MAJOR="3"
# ;;
*)
AC_MSG_ERROR([*** Qt version 4.0.1 or higher is required])
AC_MSG_ERROR([*** Qt version 4.1 or higher is required])
;;
esac
AC_MSG_RESULT([$QT_VER ($QT_MAJOR)])
Expand Down

0 comments on commit f174784

Please sign in to comment.