Re: C++ shared libraries

2000-08-16 Thread Morten Eriksen

Simon Richter <[EMAIL PROTECTED]> writes:

> probably this is a FAQ, [...]

I don't think there's a decent FAQ for any of the trio of
configure/build tools, so you should be on safe ground. :^)

> but i couldn't find an answer: How can I tell automake to check for
> a C++ library (i.e. that contains no C symbols)?

(That should be "autoconf", not "automake".)

We've been using AC_TRY_LINK with a minimal test program utilizing at
least one of the functions in the library. Works like a charm. Feel
free to check out the macros we've written for the Coin project,
sourcecode available from http://www.coin3d.org>.

Regards,
Morten




Re: C++ shared libraries

2000-08-16 Thread Alexandre Oliva

On Aug 15, 2000, Simon Richter <[EMAIL PROTECTED]> 
wrote:

> probably this is a FAQ, but i couldn't find an answer: How can I tell
> automake to check for a C++ library (i.e. that contains no C symbols)?

automake doesn't check for libraries at all.  Maybe you meant
autoconf?

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicampoliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist*Please* write to mailing lists, not to me