What is the recommended way of doing it as I am adding a module which requires library checks and I don't know always what function is best to check on ?

Thank you
Markus

"Kinkie" <gkin...@gmail.com> wrote in message news:aanlktikfyn1ibt7hjof1j0znzyofhywmgcigfqcaf...@mail.gmail.com... On Thu, Jun 3, 2010 at 8:36 PM, Markus Moeller <hua...@moeller.plus.com> wrote:
Hi,

I have a problem with

CC=cc CXX=CC ./configure;

because any check like AC_CHECK_LIB(malloc, main) fails. Is there a known
workaround ?


Interesting..
Those kinds of checks ae being phased out of the configure.in script,
unless they are hidden by other macros. In general using main to test
for lib existence is IIRC not recommended by autoconf docs..
I find it fascinating that those bugs are not caught on OpenSolaris
(we have build-hosts running SunStudio cc)



--
   /kinkie


Reply via email to