[postgis-devel] PostGIS 1.5 beta2

Nicklas Avén nicklas.aven at jordogskog.no
Sat Jan 16 17:21:36 PST 2010


Hallo Mark  I've tried for some hours to make it working as you decribe abovr, but I haven't sucessed. If I use $(shell pwd -W) in makefile it produces the right path, but I don't understand how to do it in configure.ac. I don't sucess in affecting PWD so it makes any difference in makefile.  But I have learnt a lot about what configure.ac is doing :-), but I don't understand how it works. A need more clues... /Nicklas

2010-01-15 Mark Cave-Ayland wrote:

Nicklas Avén wrote:
>
>> you were rith agin Mark
>> 
>> editing regress/postgis didn't work though because it was overwritten at 
>> the next run
>> 
>> nut I hardcoded in regress/makefile like this
>> 
>> 
>> # Where we put our regression installation
>> #srcdir=$(shell pwd)
>> #REGRESS_INSTALLDIR=$(srcdir)/00-regress-install
>> REGRESS_INSTALLDIR= C:/utv/src/pg15/regress/00-regress-install
>> then it seems to work.
>> 
>> I still have the usual problem with windoes newline. But it looks normal 
>> exept for that.
>> 
>> /Nicklas
>
>Excellent. So what you need to do is make 2 changes: firstly in 
>regress/Makefile.in:
>
>REGRESS_INSTALLDIR=`pushd $(srcdir) > /dev/null; $(PWD); popd > 
>/dev/null`"/00-regress-install"
>
>Then all you need to do is alter configure.ac so that PWD is set to "pwd 
>-W" for Windows users and "pwd" for everyone else. If you come up with a 
>suitable patch, I'm happy to review it.
>
>
>ATB,
>
>Mark.
>
>-- 
>Mark Cave-Ayland - Senior Technical Architect
>PostgreSQL - PostGIS
>Sirius Corporation plc - control through freedom
>http://www.siriusit.co.uk
>t: +44 870 608 0063
>
>Sirius Labs: http://www.siriusit.co.uk/labs
>_______________________________________________
>postgis-devel mailing list
>postgis-devel at postgis.refractions.net
>http://postgis.refractions.net/mailman/listinfo/postgis-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-devel/attachments/20100117/91cca363/attachment.html>


More information about the postgis-devel mailing list