apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bojan Smojver <bo...@rexursive.com>
Subject [PATCH]: Test for presence of PQprepare
Date Sun, 09 Apr 2006 23:52:55 GMT
I'm not overly familiar with test specifics in APU, but it would seem  
that LIBS doesn't gets set at all, which then causes AC_CHECK_FUNCS to  
return false even if the function is actually available. So, the test  
is a bit more "manual": check for the function inside the library  
using AC_CHECK_LIB and through explicit use of -lpq (once we know we  
have PGSQL). Then define HAVE_PQPREPARE explicitly as well.

I'm not sure if there is a better way to do this. Anyhow, once we  
settle on the way of determining how to figure out if the function is  
there, I can rework apr_dbd_pgsql.c to actually use it if detected.


View raw message