mingw-cross-env-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Mingw-cross-env-list] Preparation of Release 2.11


From: Volker Grabsch
Subject: Re: [Mingw-cross-env-list] Preparation of Release 2.11
Date: Fri, 19 Feb 2010 20:12:29 +0100
User-agent: Mutt/1.5.13 (2006-08-11)

Tony Theodore <address@hidden> schrieb:

[ build problem with package xerces ]

> The replacement of "_A" seems to also depend on the preceding
> whitespace. Either a space or newline causes it to be replaced with
> "d", and both allow it to succeed.
[...]
>    sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
> -## Running $as_me. ##
> +## Running $as_me. ##
> +
>  _ASBOX

So the problem is caused by a bug in /bin/sh of OpenSolaris?
That's really scary.

> The other approach that works is using bash to run configure:
> 
> $(SED) -i 's,/bin/sh,/usr/bin/env bash,' '$(1)/configure'
> 
> Neither of these seem particularly clean to me,

Your second approach can be implemented in a clean way.
Just call the configure script explicitly with Bash, which
is provided by mingw-cross-env as $(SHELL).

http://hg.savannah.gnu.org/hgweb/mingw-cross-env/rev/12f093ca5c0d

Does this solve the issue?


Greets,

    Volker

-- 
Volker Grabsch
---<<(())>>---
Administrator
NotJustHosting GbR




reply via email to

[Prev in Thread] Current Thread [Next in Thread]