[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-gnulib] Re: Docs for gnulib-tool --import
From: |
Gary V. Vaughan |
Subject: |
[Bug-gnulib] Re: Docs for gnulib-tool --import |
Date: |
Tue, 12 Oct 2004 15:05:17 +0100 |
User-agent: |
Mozilla Thunderbird 0.8 (X11/20040913) |
Hi Simon,
Simon Josefsson wrote:
> "Gary V. Vaughan" <address@hidden> writes:
>>gl_INIT([strdup dummy ...],
>> [source_base=lgl; m4_base=lgl/m4; lib=liblgl; license=LGPL],
>> [error getopt progname ...],
>> [source_base=gl; m4_base=gl/m4; lib=libgl])
>>
>
> I like this approach better. Perhaps the variables should be slightly
> more official looking though; a'la gl_source_base, gl_m4_base,
> gl_library_name etc.
In the configure code, sure. But it is just noise in the invocation. I
would make the transformation in the implementation of gl_INIT:
m4_patsubsts([$2],
[source_base=], [gl_\&],
[m4_base=], [gl_\&],
...)
(You can do a better job of pattern matching, and substitute all the variables
from a single alternation match expression, but I can't remember the syntax of
the top of my head).
Cheers,
Gary.
--
Gary V. Vaughan ())_. address@hidden,gnu.org}
Research Scientist ( '/ http://tkd.kicks-ass.net
GNU Hacker / )= http://www.gnu.org/software/libtool
Technical Author `(_~)_ http://sources.redhat.com/autobook
signature.asc
Description: OpenPGP digital signature
- Re: [Bug-gnulib] Docs for gnulib-tool --import, Gary V. Vaughan, 2004/10/06
- [Bug-gnulib] Re: Docs for gnulib-tool --import, Simon Josefsson, 2004/10/06
- [Bug-gnulib] Re: Docs for gnulib-tool --import, Gary V. Vaughan, 2004/10/06
- [Bug-gnulib] Re: Docs for gnulib-tool --import, Simon Josefsson, 2004/10/11
- Re: [Bug-gnulib] Re: Docs for gnulib-tool --import, Gary V. Vaughan, 2004/10/12
- [Bug-gnulib] Re: Docs for gnulib-tool --import, Simon Josefsson, 2004/10/12
- [Bug-gnulib] Re: Docs for gnulib-tool --import, Gary V. Vaughan, 2004/10/12
- [Bug-gnulib] Re: Docs for gnulib-tool --import, Simon Josefsson, 2004/10/12
- [Bug-gnulib] Re: Docs for gnulib-tool --import,
Gary V. Vaughan <=