-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Right, in that case I'll stick to my current method. I have set it to look for moc-qt4 first, and then moc if it can't find it, and this works fine. Thanks for the suggestion though Enrico. Chris. Rex Dieter wrote: | Enrico Scholz wrote: | |> Use |> |> | PKG_CHECK_MODULES(QT, Qt) |> | QT4_BINDIR=`$PKG_CONFIG Qt --variable bindir` |> | AC_CHECK_TOOLS(MOC, [moc],, [$QT4_BINDIR:$PATH]) |> |> This gives most flexibility by using proper defaults while allowing |> users to override detected tool by setting $MOC environment/autoconf |> variable. | | Be warned, however, that the Qt.pc file as distributed in fedora, is not yet | upstreamed and is fedora-specific. Hope to rectify that soonish. | | -- Rex | | -- | Fedora-packaging mailing list | Fedora-packaging@xxxxxxxxxx | https://www.redhat.com/mailman/listinfo/fedora-packaging -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkhjwHcACgkQ6iqRtkAADZi+gACg+jZ1ZqlFhWSx+f4V9K9XE1WO Y1MAnjMDeTbTQ9kOutJ6KeIjHRUIB0Bh =XNux -----END PGP SIGNATURE----- -- Fedora-packaging mailing list Fedora-packaging@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-packaging