[postgis-devel] liblwgeom.h.in

Paul Ramsey pramsey at cleverelephant.ca
Tue Sep 27 07:29:54 PDT 2011


I change it a lot more often than configure.ac, and now I have to run configure a lot more often in development. I pine for the old days.

P.

On 2011-09-27, at 3:00 AM, Sandro Santilli <strk at keybit.net> wrote:

> On Mon, Sep 26, 2011 at 12:21:31PM -0700, Paul Ramsey wrote:
>> Is there any reason this has to be a .in? Having liblwgeom.h generated
>> is a bit of a PITA, can't we just include postgis_config.h?
> 
> Including postgis_config.h would require installing that file as well,
> and that's mostly system-dependent defines, useful more for building than
> for using as a library. If every library installed its own config.h there
> would be a huge duplication of HAVE_VASPRINTF, HAVE_INTTYPES_H and the like
> headers with the consequent CPP warnings or errors about overridden symbols.
> 
> Generating it serves the purpose of having the version controlled from a 
> single location (configure.ac). What's a PITA about generating it ?
> 
> --strk;
> 
>  ()   Free GIS & Flash consultant/developer
>  /\   http://strk.keybit.net/services.html
> _______________________________________________
> postgis-devel mailing list
> postgis-devel at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-devel



More information about the postgis-devel mailing list