On Fri, Mar 29, 2013 at 9:42 AM, Jon <[email protected]> wrote:
>> > I'm toying with lzo on Windows 7 32-bit (mingwbuilds 4.8.0 and rubenvb
>> > 4.7.2) and want to create a solid patch for configure.ac, but my autoconf
>> > fu hovers around the nano-fu level. While the failure is not a mingw-w64
>> > bug, you guys likely have a better battle-tested solution than my
>> > throw-sed-at-it impulse.
>> >
>> > This section of configure.ac
>> >
>> >   http://paste.ubuntu.com/5657059/
>> >
>> > generates this false conftest failure
>> >
>> >   configure:12982: gcc -g -O2 -c conftest.S 1>&5
>> >   conftest.S:1:80: fatal error:
>> > /c/Users/Jon/Downloads/temp/lzo/lzo-2.06/asm/i386/src_gas/lzo1x_f1.S: No
>> > such file or directory
>> >    #include
>> > "/c/Users/Jon/Downloads/temp/lzo/lzo-2.06/asm/i386/src_gas/lzo1x_f1.S"
>> >
>> > do to line 12 of configure.ac expanding into a MSYS style path style.
>> > Changing from "/c/Users/..." to "c:/Users/..." fixes the issue.
>> >
>> > Any solid mingw/mingw-w64 friendly tweaks you're just sure the upstream
>> > maintainer would be happy with?
>> >
>> >
>> Try to use $srcdir instead $ac_abs_top_srcdir
>
> On my system while running configure from the top level dir, $srcdir, 
> $top_srcdir, and $ac_abs_top_srcdir all expand to an absolute MSYS style path.
>

I've never seen a problem with paths like this.  If you execute
configure in a separate build directory, using relative paths to the
source, does it help?  Some packages are designed to not configure
properly in the source directory.

-- 
Earnie
-- https://sites.google.com/site/earnieboyd

------------------------------------------------------------------------------
Own the Future-Intel(R) Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest. Compete 
for recognition, cash, and the chance to get your game on Steam. 
$5K grand prize plus 10 genre and skill prizes. Submit your demo 
by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to