bug-hurd
[Top][All Lists]
Advanced

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

Re: [PATCH] gnumach: configure: add --with-version-suffix=STRING


From: Pino Toscano
Subject: Re: [PATCH] gnumach: configure: add --with-version-suffix=STRING
Date: Mon, 24 Sep 2012 00:30:39 +0200
User-agent: KMail/1.13.7 (Linux/3.2.0-3-amd64; KDE/4.8.4; x86_64; ; )

Hi,

Alle lunedì 24 settembre 2012, Thomas Schwinge ha scritto:
> Generally OK, but two comments:
> 
> On Mon, 24 Sep 2012 00:04:20 +0200, Pino Toscano 
<toscano.pino@tiscali.it> wrote:
> > Subject: [PATCH] configure: add --with-version-suffix=STRING
> > 
> > Add the possibility to append a custom string to the gnumach
> > version string. (Useful to distinguish different flavours of
> > kernel.)
> > 
> > * configure.ac (--with-version-suffix): New option.
> > (PACKAGE_VERSION_SUFFIX): New variable, set with the value of
> > --with-version-suffix.
> > * version.c.in (version): Append PACKAGE_VERSION_SUFFIX.
> > ---
> > 
> >  configure.ac |    8 ++++++++
> >  version.c.in |    2 +-
> >  2 files changed, 9 insertions(+), 1 deletion(-)
> > 
> > diff --git a/configure.ac b/configure.ac
> > index 3a7d3be..da5e09e 100644
> > --- a/configure.ac
> > +++ b/configure.ac
> > @@ -101,6 +101,14 @@ AC_CHECK_PROG([PATCH], [patch], [patch],
> > [patch-not-found])
> > 
> >  # configure fragments.
> >  #
> > 
> > +# An optional suffix for the version string.
> > +AC_MSG_CHECKING([for the suffix for the version string])
> > +AC_ARG_WITH(version-suffix,
> > AC_HELP_STRING([--with-version-suffix=STRING], +           
> > [append STRING to the version string]),
> > +            [PACKAGE_VERSION_SUFFIX=$withval])
> > +AC_MSG_RESULT([$PACKAGE_VERSION_SUFFIX])
> > +AC_SUBST([PACKAGE_VERSION_SUFFIX])
> 
> Does the AC_MSG_CHECKING and AC_MSG_RESULT add any useful information
> to the build log?  (You should know which option you're configuring
> with.)

IMHO it makes the log sligtly more useful, since that option somehow 
modifies gnumach so it could be useful to know which options affected 
its build; also a log could be provided by other people, so the more 
information about its build it provides, the better.
That said, I'm not overly advocating it, so if it is not deemed worth, 
no problem.

> Is --with-version-suffix the standard name for this option?

No idea, to be honest :)

-- 
Pino Toscano

Attachment: signature.asc
Description: This is a digitally signed message part.


reply via email to

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