apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bojan Smojver <bo...@rexursive.com>
Subject Re: dbd pgsql autotools patch
Date Sat, 17 May 2008 00:45:43 GMT
On Fri, 2008-05-16 at 19:42 -0500, William A. Rowe, Jr. wrote:

> Actually that's half-assed.  We have to back out the changes that the DBD
> detection causes for LDFLAGS and LIBS, etc, in order to ensure that later
> tests aren't bogus.

We already did that, no?

We do it like this in build/dbd.m4:

old_cppflags="$CPPFLAGS"
old_ldflags="$LDFLAGS"

[...other stuff...]

CPPFLAGS="$old_cppflags"
LDFLAGS="$old_ldflags"

This crypt business is not part of build/dbd.m4 - it is in configure.in
and can potentially affect other things.

-- 
Bojan


Mime
View raw message