Re: CC configure (AC_CHECK_LIB macro) problem on Solaris

From: Kinkie <gkinkie_at_gmail.com>
Date: Fri, 4 Jun 2010 01:03:28 +0200

On Thu, Jun 3, 2010 at 8:36 PM, Markus Moeller <huaraz_at_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
Received on Thu Jun 03 2010 - 23:03:37 MDT

This archive was generated by hypermail 2.2.0 : Fri Jun 04 2010 - 12:00:08 MDT