bug-gnu-utils
[Top][All Lists]
Advanced

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

Re: Program prefix shouldn't be applied to autopoint


From: Bruno Haible
Subject: Re: Program prefix shouldn't be applied to autopoint
Date: Mon, 4 Apr 2005 18:28:03 +0200
User-agent: KMail/1.5

Joel Reicher wrote:
> Subject says it all, really. Things like autoreconf expect to find
> "autopoint", and yet prefixing programs with a `g' is a good idea
> on many systems, as the README says.
> 
> Maybe there are other programs that shouldn't get the prefix.

Actually, on systems like Solaris, only 'gettext', 'msgfmt' and 'xgettext'
need to take a prefix.

However, it would not be good to change the way --program-prefix works;
this would cause bad surprises for other users.

Therefore the solution is to use
   --program-transform-name='/^\(gettext\|msgfmt\|xgettext\)$/ s/^/g/'
instead of
   --program-prefix=g

> Perhaps a note in
> the README recommending that what might now be "gautopoint" should be
> renamed or linked to "autopoint"?

Yes, I'm changing the README to recomment the use of --program-transform-name
instead of --program-prefix.

Thanks for the report.

Bruno





reply via email to

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