<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>Ok, it seems to work :-)
        
<div align="left"> </div>
        
<div align="left"> </div>
        
<div align="left">new patch attached</div>
        
<div align="left"> </div>
        
<div align="left">But it didn't work at first, and I don't know what I changed ( I downloaded fresh config.ac and regress/makefile.in)</div>
        
<div align="left"> </div>
        
<div align="left">But it works to me now</div>
        
<div align="left"> </div>
        
<div align="left">/Nicklas</div>
        
<div align="left"><br />
                <br />
                2010-01-20 Mark Cave-Ayland wrote:<br />
                <br />
                Nicklas Avén wrote:<br />
                ><br />
                >> Mark<br />
                >> <br />
                >> After a lot of trial and error I have a patch that works for me in MingW :-)<br />
                >> <br />
                >> first I tried to pass "pwd -W" as is, to makefile.in and let it make <br />
                >> the path from there. I thought that was what you meant. But I didn't <br />
                >> success so in the patch the path is made earlier so PWDREGRESS holds the <br />
                >> path in itself instead of pwd-W<br />
                >> Is that ok?<br />
                >> <br />
                >> If someone wants to try it:<br />
                >> you have to run autogen.sh after applying the patch.<br />
                >> <br />
                >> <br />
                >> /Nicklas<br />
                ><br />
                >I don't think we should make use of $(pwd) in this way, since as <br />
                >implemented by your patch then PWDREGRESS is evaluated to the current <br />
                >path at configure time, rather than at runtime which I suspect will <br />
                >cause some confusion further down the line.<br />
                ><br />
                >The configure.ac part is mostly correct, but I would expect it to look <br />
                >like this, as per the original version:<br />
                ><br />
                >dnl<br />
                >dnl MingW requires use of pwd -W to give proper Windows (not MingW) paths<br />
                >dnl for in-place regression tests<br />
                >dnl<br />
                ><br />
                >case $host_os in<br />
                > *mingw*)<br />
                > PWDREGRESS="pwd -W"<br />
                > ;;<br />
                > *)<br />
                > PWDREGRESS="pwd"<br />
                > ;;<br />
                >esac<br />
                ><br />
                ><br />
                >AC_DEFINE_UNQUOTED([PWDREGRESS])<br />
                >AC_SUBST([PWDREGRESS])<br />
                ><br />
                >After this, the changes to regress/Makefile.in should then be reasonably <br />
                >simple, e.g.:<br />
                ><br />
                ># Where we put our regression installation<br />
                >srcdir=$(shell @PWDREGRESS@)<br />
                >REGRESS_INSTALLDIR=$(srcdir)/00-regress-install<br />
                ><br />
                ><br />
                >HTH,<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>