bug-gnulib
[Top][All Lists]
Advanced

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

[Bug-gnulib] Re: Docs for gnulib-tool --import


From: Simon Josefsson
Subject: [Bug-gnulib] Re: Docs for gnulib-tool --import
Date: Mon, 11 Oct 2004 17:02:10 +0200
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux)

"Gary V. Vaughan" <address@hidden> writes:

>> gl_INIT([getopt progname strdup dummy ...], [gl], [gl/m4], [libgl], [LGPL])
>> 
>> Or possibly something like:
>> 
>> gl_INIT([[strdup dummy ...], [lgl], [lgl/m4], [liblgl], [LGPL]],
>>         [[error getopt progname ...], [gl], [gl/m4], [libgl]])
>
> Yes please!  That would be cool :-)

Before implementing this, could someone more familiar with M4 say if
the latter is a good idea or not?  I have not yet understood M4 enough
to understand all the differences between various quoting mechanisms.
I can't recall seeing similar code before, that's why I hesitate, but
I'm only familiar with M4 from sendmail and autoconf.

Perhaps the first version is simpler to parse in gnulib-tool though,
which is an advantage.

On the other hand, there is an advantage of having only one entry
point, otherwise gnulib-tool have to remember state between each call
to gl_INIT.  This is probably needed to, for example, generate
gl_EARLY properly, as a superset of all gl_EARLY contents generated by
each gl_INIT.





reply via email to

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