diff options
author | iovar <iovar@f606c939-3180-4ac9-a4b8-4b8779d57d0a> | 2007-04-27 03:16:38 +0000 |
---|---|---|
committer | iovar <iovar@f606c939-3180-4ac9-a4b8-4b8779d57d0a> | 2007-04-27 03:16:38 +0000 |
commit | f91af7f00a0738fa73a5eb88ae82248be5accdb0 (patch) | |
tree | 5f5f7bae1d308bf8519d3458e1833a4f0a860d69 | |
parent | babee5fe38026e5b6210fa381aace3a19a89785f (diff) |
fixed check for PYQT4 in configure.ac
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@315 f606c939-3180-4ac9-a4b8-4b8779d57d0a
-rw-r--r-- | qt-recordmydesktop/configure.ac | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/qt-recordmydesktop/configure.ac b/qt-recordmydesktop/configure.ac index ca0bcb7..90afa58 100644 --- a/qt-recordmydesktop/configure.ac +++ b/qt-recordmydesktop/configure.ac @@ -38,21 +38,21 @@ AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE", [The gettext package name AM_GLIB_GNU_GETTEXT dnl check for pyqt -PKG_CHECK_MODULES(PYQT4, QtCore>= $QT4_REQ,,AC_MSG_ERROR(You need libQt4 >=4.2 and the appropriate development headers to proceed)) - +PKG_CHECK_MODULES(QtCore, [QtCore >= $QT4_REQ],,AC_MSG_ERROR(You need libQt4 >=4.2 and the appropriate development headers to proceed)) +PKG_CHECK_MODULES(QtGui, [QtGui >= $QT4_REQ],,AC_MSG_ERROR(You need libQt4 >=4.2 and the appropriate development headers to proceed)) export PYTHONPATH=$PYTHONPATH export PYQT4_VERSION=`python -c 'import PyQt4; from PyQt4 import QtCore; print QtCore.PYQT_VERSION_STR' 2>>/dev/null ` - if test x$PYQT4_VERSION == x; then AC_MSG_ERROR(You need PyQt4>=4.1 installed to procceed); fi - b=$(echo "$PYQT4_VERSION" | awk 'BEGIN{ FS="." } { print $1 "\n" $2 "\n" $3 }') c=($b) -PYQT4_MAJOR=${c[0]} -PYQT4_MINOR=${c[1]} + + +export PYQT4_MAJOR=${c[[0]]} +export PYQT4_MINOR=${c[[1]]} if test $PYQT4_MAJOR != 4; then AC_MSG_ERROR(PyQt4 Major version number not 4!!!); |