<html>
<head>
        <title></title>
        
<meta name="GENERATOR" content="MSHTML 8.00.6001.18854"></meta>
        
<meta name="SKYPE_FRAMEID" content="UKSDOXEVME"></meta>
        
<meta id="skype_v3_tb_marker_id" name="SKYPE_PARSING_HAS_FINISHED" content="metacontent"></meta>
</head>

<body>Hallo Mark
        
<div align="left"> </div>
        
<div align="left"> </div>
        
<div align="left">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. </div>
        
<div align="left"> </div>
        
<div align="left">But I have learnt a lot about what configure.ac is doing :-), but I don't understand how it works.</div>
        
<div align="left"> </div>
        
<div align="left">A need more clues...</div>
        
<div align="left"> </div>
        
<div align="left">/Nicklas<br />
                <br />
                2010-01-15 Mark Cave-Ayland wrote:<br />
                <br />
                Nicklas Avén wrote:<br />
                ><br />
                >> you were rith agin Mark<br />
                >> <br />
                >> editing regress/postgis didn't work though because it was overwritten at <br />
                >> the next run<br />
                >> <br />
                >> nut I hardcoded in regress/makefile like this<br />
                >> <br />
                >> <br />
                >> # Where we put our regression installation<br />
                >> #srcdir=$(shell pwd)<br />
                >> #REGRESS_INSTALLDIR=$(srcdir)/00-regress-install<br />
                >> REGRESS_INSTALLDIR= C:/utv/src/pg15/regress/00-regress-install<br />
                >> then it seems to work.<br />
                >> <br />
                >> I still have the usual problem with windoes newline. But it looks normal <br />
                >> exept for that.<br />
                >> <br />
                >> /Nicklas<br />
                ><br />
                >Excellent. So what you need to do is make 2 changes: firstly in <br />
                >regress/Makefile.in:<br />
                ><br />
                >REGRESS_INSTALLDIR=`pushd $(srcdir) > /dev/null; $(PWD); popd > <br />
                >/dev/null`"/00-regress-install"<br />
                ><br />
                >Then all you need to do is alter configure.ac so that PWD is set to "pwd <br />
                >-W" for Windows users and "pwd" for everyone else. If you come up with a <br />
                >suitable patch, I'm happy to review it.<br />
                ><br />
                ><br />
                >ATB,<br />
                ><br />
                >Mark.<br />
                ><br />
                >-- <br />
                >Mark Cave-Ayland - Senior Technical Architect<br />
                >PostgreSQL - PostGIS<br />
                >Sirius Corporation plc - control through freedom<br />
                >http://www.siriusit.co.uk<br />
                >t: +44 870 608 0063<br />
                ><br />
                >Sirius Labs: http://www.siriusit.co.uk/labs<br />
                >_______________________________________________<br />
                >postgis-devel mailing list<br />
                >postgis-devel@postgis.refractions.net<br />
                >http://postgis.refractions.net/mailman/listinfo/postgis-devel<br />
                ><br />
                ></div>
</body>
</html>