[PATCH] configure: support arbitrary versions via a shell script

Michael Hope michael.hope@linaro.org
Mon Nov 14 20:37:00 GMT 2011

On Mon, Nov 14, 2011 at 8:20 PM, Yann E. MORIN
<yann.morin.1998@anciens.enib.fr> wrote:
> Michael,  All,
> On Monday 14 November 2011 001022 Michael Hope wrote:
>> # HG changeset patch
>> # User Michael Hope <michael.hope@linaro.org>
>> # Date 1321225775 -46800
>> # Branch any-version
>> # Node ID 02572d8009f6a872ccd28d2e020b19772d7e8906
>> # Parent  3cd375ecdd7213104577bbd70863fa35f387bb93
>> configure: support arbitrary versions via a shell script
> I already pushed a similar change this WE:
>  http://crosstool-ng.org/hg/crosstool-ng/rev/d77d04661cd9
> I named the script 'version.sh', without a leading dot.

That sounds good.  There's a minor bug in your version:  ./configure
--help uses the version from .version instead of version.sh as
do_help() is called before version.sh is updated.

Then again, it had a similar problem before the patch: ./configure
--help would report crosstool-NG-hg instead of the full

Let me know if it's important and I can make a patch,

-- Michael

For unsubscribe information see http://sourceware.org/lists.html#faq

More information about the crossgcc mailing list