On Wed, Jul 6, 2011 at 10:37, Basile Starynkevitch
<bas...@starynkevitch.net> wrote:
> On Wed, Jul 06, 2011 at 04:02:48PM +0200, Richard Guenther wrote:
>> On Wed, Jul 6, 2011 at 3:46 PM, Basile Starynkevitch
>> <bas...@starynkevitch.net> wrote:
>> > On Wed, Jul 06, 2011 at 03:21:47PM +0200, Richard Guenther wrote:
>> >> On Wed, Jul 6, 2011 at 2:50 PM, Basile Starynkevitch
>> >> <bas...@starynkevitch.net> wrote:
>> >> >
>> >> > I beleive it can help to make plugin code more robust.
>>
>> I'm not sure using cut is portable enough - for bversion.h generation
>> we use sed instead (see Makefile.in), so I suppose copying that
>> would be better.
>>
>> I can't approve the configury changes but the change itself looks
>> reasonable to me
>
> I am attaching an improved patch to trunk rev 175920
>
> #### gcc/ChangeLog entry #####
>
> 2011-07-06  Basile Starynkevitch  <bas...@starynkevitch.net>
>
>        * configure.ac (plugin-version.h): Generate
>        GCCPLUGIN_VERSION_MAJOR, GCCPLUGIN_VERSION_MINOR,
>        GCCPLUGIN_VERSION_PATCHLEVEL, GCCPLUGIN_VERSION constant integer
>        macros.
>
>        * configure: Regenerate.
>
>        * doc/plugins.texi (Building GCC plugins): Mention
>        GCCPLUGIN_VERSION ... constant macros in plugin-version.h.

OK.


Diego.

Reply via email to