On Sat, 2005-11-05 at 00:51 +0900, Stephen J. Turnbull wrote:
I have PostgreSQL v8 installed from DarwinPorts on Mac OS X 10.3.9.
libpq is linked with SSL and libcrypto. I've gotten configure to
detect, and the PostgreSQL modules to build with the following patch
to configure.ac. But I don't much like it:
- there's got to be a cleaner way to defeat the autocrock cache
- I suspect there are platforms that don't need libcrypto
- if other platforms work differently, the code is tedious to
generalize
Suggestions welcome!
This is not going to help with the problem at hand [1], but I wonder why
configure.ac is not using pg_config(1) for querying the location of
these headers and libraries, but relies on guesswork instead? pg_config
is available in PostgreSQL 7.1 and later.
[1] pg_config lacks the --libs or similar option :(