3 dnl Include file for "configure.in" for the YaST2 Qt UI
4 dnl See file COPYING for license
6 dnl Author: Stefan Hundhammer <sh@suse.de>
7 dnl Updated: 2001-12-14
11 dnl AC_MIN_QT_VERSION(numeric-qt-version, text_qt_version)
12 dnl Checks for Qt version as specified or higher
14 AC_DEFUN([AC_MIN_QT_VERSION],
16 AC_MSG_CHECKING([for Qt $2 or higher])
18 CFLAGS="$CFLAGS -I$QTDIR/include"
25 #error Qt $2 or higher required!
28 [AC_MSG_RESULT([yes])],
29 [AC_MSG_ERROR([Qt $2 or higher required!
31 Check whether the Qt base packages and the Qt development packages
32 are installed and QTDIR is set correctly.