>>>>> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes:
| Lars, does this patch look correct?
Lars> I have no idea... what is wrong with the existing way?
Lars> Perhaps a switch to force non-use of pkg-config.
What the patch does is to pass info from --with-qt4-dir to pkg-config.
The relevant part is:
save_PKG_CONFIG_PATH=$PKG_CONFIG_PATH
if test -n "$qt4_cv_dir" ; then
PKG_CONFIG_PATH=$qt4_cv_dir/lib:$PKG_CONFIG_PATH
export PKG_CONFIG_PATH
fi
PKG_CHECK_MODULES(QT4_FRONTEND, QtCore QtGui)
Also, it uses qt4_dir/bin to search for moc:
AC_PATH_PROGS(MOC4, [moc-qt4 moc],[],$qt4_cv_dir/bin:$PATH)
AC_PATH_PROGS(UIC4, [uic-qt4 uic],[],$qt4_cv_dir/bin:$PATH)
Note the use of AC_PATH_PROGS which ensures that we have a full path
to moc/uic.
JMarc