This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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
crosstool-NG-hg-revno-foo.

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

-- Michael

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]