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

2007-08-19 Thread Amos Jeffries
Henrik Nordstrom wrote: On fre, 2007-08-17 at 14:23 +1200, Amos Jeffries wrote: Thanks Henrik. I couldn't find the AC_REPLACE_FUNCS outside a special library test (there is a long list for header file checks). ??? my configure.in reads AC_SUBST(LIBREGEX) AC_REPLACE_FUNCS(\ drand48

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

2007-08-16 Thread Henrik Nordstrom
On fre, 2007-08-17 at 14:23 +1200, Amos Jeffries wrote: > > Thanks Henrik. > I couldn't find the AC_REPLACE_FUNCS outside a special library test > (there is a long list for header file checks). ??? my configure.in reads AC_SUBST(LIBREGEX) AC_REPLACE_FUNCS(\ drand48 \ tempnam

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

2007-08-16 Thread Amos Jeffries
> 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 autoc

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

2007-08-16 Thread Henrik Nordstrom
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;

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

2007-08-16 Thread Amos Jeffries
Never mind. 5 mins more thought found a working solution. Amos

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

2007-08-16 Thread Amos Jeffries
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 bu