bug-gnulib
[Top][All Lists]
Advanced

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

Re: [PATCH] version-etc: extend for packagers


From: Bruno Haible
Subject: Re: [PATCH] version-etc: extend for packagers
Date: Sun, 31 May 2009 10:44:17 +0200
User-agent: KMail/1.9.9

Mike Frysinger wrote:
> > +# ifndef PACKAGE_PACKAGER_VERSION
> > +#  define PACKAGE_PACKAGER_VERSION ""
> > +# endif
> 
> i think it makes sense for this line to read:
> > +#  define PACKAGE_PACKAGER_VERSION _("no version info")

If there is no version info, why not simply display nothing?

#ifdef PACKAGE_PACKAGER
# ifdef PACKAGE_PACKAGER_VERSION
  fprintf (stream, _("Packaged by %s (%s)\n"), PACKAGE_PACKAGER,
          PACKAGE_PACKAGER_VERSION);
# else
  fprintf (stream, _("Packaged by %s\n"), PACKAGE_PACKAGER);
# endif
#endif

> > [PACKAGE_]m4_translit([$1],[abcdefghijklmnopqrstuvwxyz./-],[ABCDEFGHIJKLMNO
> >PQRSTUVWXYZ___]),
> >+              ["$withval"], [$2]);;
> > +      esac
> 
> is there an m4/gnulib/something helper i could use in place of this 
> m4_translit() ?

There is AS_TR_CPP.

Bruno




reply via email to

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