logo       

Re: AC_CHECK_LIB(m, main, LIBM="-lm") broken with C++: msg#00058

gnu.libtool.general

Subject: Re: AC_CHECK_LIB(m, main, LIBM="-lm") broken with C++

On Wed, Feb 05, 2003 at 03:00:39PM -0600, Bob Friesenhahn wrote:
> I posted a detailed message to bugs-libtool@xxxxxxx and
> bugs-autoconf@xxxxxxx but there has been no response at all so I will
> post again.
>
> CVS libtool.m4 contains lines like
>
> AC_CHECK_LIB(m, main, LIBM="-lm")
>
> and
>
> AC_CHECK_LIB(ltdl, main, ... blah

Gross!

> What is the best path forward?

Replace main with a *real* function in one of the libraries.

--
albert chin (china@xxxxxxxxxxxxxxxxxx)


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise