autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [autoconf] 32/64-bit systems


From: mpsuzuki
Subject: Re: [autoconf] 32/64-bit systems
Date: Tue, 15 Jul 2008 00:46:53 +0900

Hi,

On Mon, 14 Jul 2008 08:32:44 -0400
"Ben Taylor" <address@hidden> wrote:
>so i have something like prefix/lib and prefix/lib/sparcv9 for sparc
>and prefix/lib and prefix/lib/amd64 for x64.

This naming convention is standard among Solaris developers?

>To be quite honest, I cannot fathom why configure itself
>generates a full path to the library, instead of "-liconv"
>which would work because I'm passing the right
>include and ldflags to configure.  Seems like a bug to
>me.

Hmm, autoconf's AC_CHECK_LIB([NAME], [FUNC], [...]) provides
the feature what you want, I guess. It would not search the
pathname of libNAME, but it would execute
        ${CC} ${CFLAGS} ${LDFLAGS} conftest.c -lNAME
conftest.c refers FUNC. Do you think you found the bug of
autoconf?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]