Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes:

| >>>>> "Jean-Marc" == Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes:
| 
| >>>>> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes:
| Jean-Marc> | 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.
| 
| Jean-Marc> What the patch does is to pass info from --with-qt4-dir to
| Jean-Marc> pkg-config. 
| 
| Here is another version that cleans up more code:
| 
|       * config/qt4.m4 
|       (QT4_FIND_PATH, QT_FIND_UIC4, QT_FIND_MOC4): remove,
|       AC_PATH_PROGS does this very well. 
|       (QT4_DO_PKG_CONFIG): add $QT4DIR/lib to pkg-config search path;
|       do not run QT4_DO_MANUAL_CONFIG on failure. 
|       (QT4_DO_MANUAL_CONFIG): remove some code.
|       (QT4_DO_IT_ALL): move code to handle --with-foo here; move
|       code to search for moc/uic here; call QT4_DO_PKG_CONFIG first,
|       and QT4_DO_MANUAL_CONFIG on failure.
| 
| It is possible to do more cleanup, but I'd rather commit this first. 
| 
| Lars, OK?

Yes, why not.

-- 
        Lgb

Reply via email to