dev  

Re: dbd pgsql autotools patch

Bob Rossi
Fri, 16 May 2008 17:34:23 -0700

On Sat, May 17, 2008 at 10:23:59AM +1000, Bojan Smojver wrote:
> On Fri, 2008-05-16 at 06:26 -0400, Bob Rossi wrote:
> 
> >   configure:40279: gcc -o conftest -g -Wall -pthread  -DLINUX=2 
> > -D_REENTRANT -D_GNU_SOURCE  conftest.c -lcrypt   >&5
> >   configure:40285: $? = 0
> >   configure:40313: result: -lcrypt
> 
> So, the test for crypt actually succeeds. Maybe the whole thing is
> caused by the fact that we check for crypt after we did DBD stuff. Can
> you tell me if the attached patch works for you?
> 
> PS. The patch is against 1.3.x, but it should apply against 1.2.x as
> well, with some fuzz.

Yes, that worked! I suggest putting a comment in the patch that says 
that crypt must be done before postgresql, otherwise it will fail to
test link.

Do you think this will get into the 1.3 snapshot?

Thanks,
Bob Rossi