[postgis-devel] Using pkg-config for PROJ

Sandro Santilli strk at kbt.io
Sat Feb 9 11:06:28 PST 2019


On Fri, Feb 08, 2019 at 08:47:49PM +0100, Raúl Marín Rodríguez wrote:
> Hi,
> 
> I started doing it in https://github.com/postgis/postgis/pull/372.
> Then I noticed that `json-c` had the same option (and we weren't
> including its files correctly) and, after that, that the same happens
> with `libpcre` and `cunit`.
> 
> Wouldn't it make more sense to drop those 4 options (`--with-projdir`,
> `--with-jsondir`, etc) and make pkg-config mandatory instead? My only
> concern is Windows, which I don't really know if it can use it.

-1 from me. It's more flexible to have the ability to force other
dirs, could be used for cross compiling (I've heard) and for user-only
builds (when you don't have control of system directories).

--strk;


More information about the postgis-devel mailing list