Re: Testing for a library with $CXX (instead of $CC)

2000-04-09 Thread Peter Eisentraut
Alexandre Oliva writes: > This is an `autoconf', not `automake', question. This is what they send you when you subscribe to [EMAIL PROTECTED]: "... The list can be used to discusse automake, autoconf, and related tools (eg libtool). The discussion can range from simple "how-to" questions up to

Re: Testing for a library with a function different from main() (Was: Testing for a library with $CXX (instead of $CC))

2000-04-06 Thread Morten Eriksen
Tom Tromey <[EMAIL PROTECTED]> writes: > > "Morten" == Morten Eriksen <[EMAIL PROTECTED]> writes: > > Morten> BTW, I've already written a pretty extensive Qt-check macro. Feel free > Morten> to check it out, its part of our SoQt distribution at > Morten> http://www.sim.no/coin.html>, or just

Re: Testing for a library with a function different from main() (Was: Testing for a library with $CXX (instead of $CC))

2000-04-06 Thread Tom Tromey
> "Morten" == Morten Eriksen <[EMAIL PROTECTED]> writes: Morten> BTW, I've already written a pretty extensive Qt-check macro. Feel free Morten> to check it out, its part of our SoQt distribution at Morten> http://www.sim.no/coin.html>, or just do: Why not submit it to the autoconf macro arch

Re: Testing for a library with a function different from main() (Was: Testing for a library with $CXX (instead of $CC))

2000-04-06 Thread Morten Eriksen
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 chec

Testing for a library with a function different from main() (Was: Testing for a library with $CXX (instead of $CC))

2000-04-06 Thread F Labrosse
Alexandre Oliva writes: > On Apr 5, 2000, F Labrosse <[EMAIL PROTECTED]> wrote: > > > Is it possible to test for a library using $CXX instead of $CC? > > This is an `autoconf', not `automake', question. See the `Language > Choice' node in the autoconf manual. > Seen it. Thanks. No I

Re: Testing for a library with $CXX (instead of $CC)

2000-04-05 Thread Tom Tromey
> "Fred" == F Labrosse <[EMAIL PROTECTED]> writes: Fred> Is it possible to test for a library using $CXX instead of $CC? Fred> My problem is that on a Solaris box, some libraries won't link Fred> with cc while they do with CC (e.g. qt). Can't you set the language to C++ and then test? Seems

Re: Testing for a library with $CXX (instead of $CC)

2000-04-05 Thread Alexandre Oliva
On Apr 5, 2000, F Labrosse <[EMAIL PROTECTED]> wrote: > Is it possible to test for a library using $CXX instead of $CC? This is an `autoconf', not `automake', question. See the `Language Choice' node in the autoconf manual. -- Alexandre OlivaEnjoy GuaranĂ¡, see http://www.ic.unicamp.br/~o

Testing for a library with $CXX (instead of $CC)

2000-04-05 Thread F Labrosse
Hi all, Is it possible to test for a library using $CXX instead of $CC? My problem is that on a Solaris box, some libraries won't link with cc while they do with CC (e.g. qt). Or is it better to set $CC to CC (instead of having $CC=cc and $CXX=CC). TIA, Fred