Re: [PATCH] bootstrap: AC_INIT may have up to five fields

2013-05-09 Thread Eric Blake
On 05/09/2013 10:01 AM, Thien-Thi Nguyen wrote: > () Sami Kerola > () Wed, 8 May 2013 20:33:03 +0100 > >[sed script] > > Instead of trying to mimic autoconf, why not ask it directly for the > ‘AC_INIT’ field values, formatted in some convenient way? For example: IIUC, Gary Vaughan's attem

Re: [PATCH] bootstrap: AC_INIT may have up to five fields

2013-05-09 Thread Thien-Thi Nguyen
() Sami Kerola () Wed, 8 May 2013 20:33:03 +0100 [sed script] Instead of trying to mimic autoconf, why not ask it directly for the ‘AC_INIT’ field values, formatted in some convenient way? For example: unravel-ac-init Description: Bourne shell script -- Thien-Thi Nguyen GPG key: 4C8075

Re: [PATCH] bootstrap: AC_INIT may have up to five fields

2013-05-08 Thread Sami Kerola
On 8 May 2013 21:34, Eric Blake wrote: > On 05/08/2013 01:33 PM, Sami Kerola wrote: >> + /.*,.*,.*,.*,.*,.*/{ > > The new regex tries to pick out any script that passes 6 or more > arguments, which won't exist in practice, so you end up doing the > fallback to the package name (and the _rest_

Re: [PATCH] bootstrap: AC_INIT may have up to five fields

2013-05-08 Thread Eric Blake
On 05/08/2013 01:33 PM, Sami Kerola wrote: > * bootstrap: Fix determination of project name when AC_INIT has more than > three field. The autoconf has allowed optional URL parameter since commit > d7cc80491def26037c9e8b91d3f3aa9afd85492a (Jan, 2009). > --- > build-aux/bootstrap | 2 +- > 1 file ch

[PATCH] bootstrap: AC_INIT may have up to five fields

2013-05-08 Thread Sami Kerola
* bootstrap: Fix determination of project name when AC_INIT has more than three field. The autoconf has allowed optional URL parameter since commit d7cc80491def26037c9e8b91d3f3aa9afd85492a (Jan, 2009). --- build-aux/bootstrap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buil