<div dir="ltr">Hello All,<div><br></div><div>While building 2.3.1 sources, I noticed that the compiler options used while building PostgreSQL are not honoured by PostGIS. I tested with the latest HEAD of the 2.3 branch and the problem seems to occur there too. Though the svn-trunk branch seems to handle it correctly.</div><div><br></div><div>It causes problem while building against Postgres-XL. We use couple of special #defines to build XL and when those flags are not correctly passed to PostGIS, some headers appear differently to PostGIS, leading to various problems. In my experience, extensions typically use the information from "pg_config" to use compatible flags, but PostGIS seems to be not doing so.</div><div><br></div><div>FWIW I tried putting postgis under contrib directory and also tried building with USE_PGSX. But none of that helps.<br clear="all"><div><br></div><div><span style="font-size:small;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">Is this a known issue?<span> Or am I missing something?</span></span><br></div><div><span style="font-size:small;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><span><br></span></span></div><div><span style="font-size:small;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><span>Thanks,</span></span></div><div><span style="font-size:small;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><span>Pavan</span></span></div><div><br></div>-- <br><div class="m_-7031231802037560771gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"> Pavan Deolasee                   <a href="http://www.2ndQuadrant.com/" target="_blank">http://www.2ndQuadrant.com/</a><br> PostgreSQL Development, 24x7 Support, Training & Services</div></div></div></div>
</div></div>