On Thu, Sep 12, 2002 at 03:44:53PM +0200, Juergen Vigna wrote: > Well I tried and faild :( > > Do you need some config.log files?
No. The FIXME means what it says. Can you please collaborate with Angus to get a working test here. Basically, you have a system where binaries called "moc" and "moc2" exist. Now, we need to know whether "moc" is from Qt 1 or Qt 3. If Qt 3, then we should use that one, else we should use moc2. if test -n "$ac_moc1" -a -n "$ac_moc2"; then dnl found both. Prefer Qt3's if it exists else moc2 AC_MSG_ERROR([FIXME]) else should look roughly like this : if test -n "$ac_moc1" -a -n "$ac_moc2"; then dnl found both. Prefer Qt3's if it exists else moc2 moc -v | grep "Qt 3" >/dev/null if test "$?" = 0; then ac_moc=$ac_moc1 else ac_moc=$ac_moc2 fi else Please fiddle around with this and tell me what the code should be. Note this will fail if we can find both Qt 2 and Qt 3, but then what should we do anyway ? thanks john -- "To be fair i do look quite like a monkey ..." - Peter Reid