Re: squid3-ipv6 squid3 configure.in,1.63.2.36,1.63.2.37

From: Amos Jeffries <squid3@dont-contact.us>
Date: Fri, 17 Aug 2007 14:23:46 +1200 (NZST)

> On tor, 2007-08-16 at 23:51 +1200, Amos Jeffries wrote:
>> Is anyone able to help me with this configure problem?
>>
>> The goal is to have it test for a functions existence and if present
>> define HAVE_function and add lib/function.$obj to the compile options.
>>
>> As far as I understand autoconf; I thought these checks as written below
>> would do exactly that but its failing for me.
>>
>> >
>> > dnl Search for OS support of IP Next Generation functions
>> > AC_CHECK_FUNC(getaddrinfo,[ AC_MSG_RESULT([yes]) ],[
>> AC_LIBOBJ(getaddrinfo) ])
>> > + AC_SUBST(HAVE_GETADDRINFO)
>> > AC_CHECK_FUNC(getnameinfo,[ AC_MSG_RESULT([yes]) ],[
>> AC_LIBOBJ(getnameinfo) ])
>> > + AC_SUBST(HAVE_GETNAMEINFO)
>> >
>>
>> Any ideas/help?
>
> Add it to the AC_REPLACE_FUNCS list already existing in configure.in for
> this purpose?
>

Thanks Henrik.
 I couldn't find the AC_REPLACE_FUNCS outside a special library test
(there is a long list for header file checks).
But thats even better that the other one I found.

Amos
Received on Thu Aug 16 2007 - 20:23:49 MDT

This archive was generated by hypermail pre-2.1.9 : Fri Aug 31 2007 - 12:00:05 MDT