[postgis-devel] FW: [Mingw-msys] RE: Bug with backticks behaviour in mSYS?
strk at refractions.net
strk at refractions.net
Thu Jan 5 07:01:57 PST 2006
On Tue, Jan 03, 2006 at 12:51:35PM -0000, Mark Cave-Ayland wrote:
> Hi strk/developers,
>
> Happy New Year! :) I've had a response from the MingW people about the
> quoting with backticks problem we are seeing which causes PostGIS 1.1.0
> builds to fail under Win32. From their point of view, the quoting we are
> using is wrong and from the mail below their suggestions would be equivalent
> to making the following changes in configure.in:
>
>
> Line 86/87 change to:
>
> PGFELIBS=-L`${PGCONFIG} --libdir`" -lpq"
> PGBELIBS=-L`${PGCONFIG} --libdir`" -lpostgres"
>
> Line 455 change to:
>
> PGFELIBS=`${PGCONFIG} --libdir`"/libpq.dll"
>
>
> These changes work for me after a quick ./autogen.sh, and allow the build to
> complete without error. Does anyone else have any comments/experience about
> quoting in this manner, and how it would work on various platforms?
Sounds familiar to me, that's probably a good solution.
I committed a stricter version, for example:
PGFELIBS="-L"`${PGCONFIG} --libdir`" -lpq"
Could you test on MingW and Solaris ?
Thanks
--strk;
More information about the postgis-devel
mailing list