F Labrosse <[EMAIL PROTECTED]> writes:

[snip]
> No I have the following problem.  When I check for qt with:
> 
>     AC_CHECK_LIB(qt, main,
[snip]

I had the exact same problem. Solved it by using AC_TRY_LINK instead.

BTW, I've already written a pretty extensive Qt-check macro. Feel free
to check it out, its part of our SoQt distribution at
<URL:http://www.sim.no/coin.html>, or just do:

cvs -d :pserver:[EMAIL PROTECTED]:/export/cvsroot login
(password "cvs")
cvs -d :pserver:[EMAIL PROTECTED]:/export/cvsroot co SoQt

..to get a copy of the sourcecode. The macro is within
SoQt/conf-macros/check_qt.m4, look at SoQt/configure.in for an example
of how to use it.

Regards,
Morten

Reply via email to