> <span style="color:rgb(34,34,34);font-size:14px">but I'm not convinced my</span><div class="mi oi " dir="ltr" style="color:rgb(34,34,34);font-size:14px">from-source builds will be detectable.<br><div style="clear:both"></div></div><div style="color:rgb(34,34,34);font-size:14px;clear:both"></div><div><br></div><div>Mine are. Also Docker is building several dependencies from source and it doesn't seem to have issues. OTOH, Postgis' defaults are pretty much?tailored just for Linux.</div><div><br></div><div>There is an easy way to check:</div><div>pkg-config --libs proj (or whatever other project)</div><div>pkg-config --cflags proj</div><div><br></div><div>With pkg-config there is a way to pass the flags (env variables PROJ_CFLAGS and PROJ_LDFLAGS) and in that case the default will be ignored. This is both why I don't get why Postgis has its own way to do it and why, if we want to keep having manual as default, it's not worth it to force pkg-config being mandatory ( and simply check pkg-config if it's installed).</div><div><br></div><br>On Friday, February 8, 2019, Paul Ramsey <<a href="mailto:pramsey@cleverelephant.ca">pramsey@cleverelephant.ca</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Completely requiring pkg-config is not something I'm super<br>
enthusiastic about. I'm sure many of my packaged dependencies have<br>
pkg-config entries under MacPorts, but I'm not convinced my<br>
from-source builds will be detectable.<br>
<br>
P<br>
<br>
On Fri, Feb 8, 2019 at 12:48 PM Raúl Marín Rodríguez<br>
<<a href="mailto:rmrodriguez@carto.com">rmrodriguez@carto.com</a>> wrote:<br>
><br>
> Hi,<br>
><br>
> I started doing it in <a href="https://github.com/postgis/postgis/pull/372" target="_blank">https://github.com/postgis/<wbr>postgis/pull/372</a>.<br>
> Then I noticed that `json-c` had the same option (and we weren't<br>
> including its files correctly) and, after that, that the same happens<br>
> with `libpcre` and `cunit`.<br>
><br>
> Wouldn't it make more sense to drop those 4 options (`--with-projdir`,<br>
> `--with-jsondir`, etc) and make pkg-config mandatory instead? My only<br>
> concern is Windows, which I don't really know if it can use it.<br>
><br>
> --<br>
> Raúl Marín Rodríguez<br>
> <a href="http://carto.com" target="_blank">carto.com</a><br>
> ______________________________<wbr>_________________<br>
> postgis-devel mailing list<br>
> <a href="mailto:postgis-devel@lists.osgeo.org">postgis-devel@lists.osgeo.org</a><br>
> <a href="https://lists.osgeo.org/mailman/listinfo/postgis-devel" target="_blank">https://lists.osgeo.org/<wbr>mailman/listinfo/postgis-devel</a><br>
______________________________<wbr>_________________<br>
postgis-devel mailing list<br>
<a href="mailto:postgis-devel@lists.osgeo.org">postgis-devel@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/postgis-devel" target="_blank">https://lists.osgeo.org/<wbr>mailman/listinfo/postgis-devel</a></blockquote><br><br>-- <br><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><b style="font-size:12.8px"><font color="#666666">Raúl Marín Rodríguez <br></font></b><a href="http://carto.com/" style="font-size:12.8px" target="_blank">carto.com</a><div><br></div></div></div></div></div></div><br>