I believe this to be the relevant code from [1]. I am unclear as to where $PKG_CONFIG comes from. It's not an environment variable and not set by configure. [2] is the AutoQt macro for Qt 1-3. dnl Check for AWT related Qt4 if test "x${COMPILE_QT_PEER}" = xyes; then PKG_CHECK_MODULES(QT, QtGui >= 4.0.1) dnl Check needed because in some cases the QtGui includedir dnl doesn't contain the subsystem dir. QT_INCLUDE_DIR=$($PKG_CONFIG --variable=includedir QtGui) EXTRA_QT_INCLUDE_DIR="$QT_INCLUDE_DIR/Qt" AC_CHECK_FILE([$QT_INCLUDE_DIR/QWidget], AC_MSG_NOTICE([No extra QT_INCLUDE_DIR needed]), AC_CHECK_FILE([$EXTRA_QT_INCLUDE_DIR/QWidget], QT_CFLAGS="$QT_CFLAGS -I$EXTRA_QT_INCLUDE_DIR", AC_MSG_WARN([QWidget not found]))) AC_MSG_NOTICE([Set QT_CFLAGS... $QT_CFLAGS]) AC_CHECK_PROG(MOC, [moc], [moc]) AC_SUBST(QT_CFLAGS) AC_SUBST(QT_LIBS) fi [1] http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/classpath/classpath/configure.ac?rev=HEAD&content-type=text/plain [2] http://cvs.sourceforge.net/viewcvs.py/*checkout*/autoqt/autoqt/gwqt.m4 On 8/27/05, Dalibor Topic <robilad@xxxxxxxxx> wrote: > > Tommy Nordgren wrote: > > Do anyone have an autoconf macro to check for Qt 4.0.0 or later from > > TrollTech, > > and link aginst the Qt libraries. There is a macro BNV_HAVE_QT at the > > autoconf macro > > archive site, but it is completly broken, since it have no support for > > Mac OS X Frameworks, > > You can use pkg-config for 4.0. See GNU Classpath CVS head for how to do > it. > > cheers, > dalibor topic > > > _______________________________________________ > Autoconf mailing list > Autoconf@xxxxxxx > http://lists.gnu.org/mailman/listinfo/autoconf > _______________________________________________ Autoconf mailing list Autoconf@xxxxxxx http://lists.gnu.org/mailman/listinfo/autoconf