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

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

Re: --program-suffix


From: Andreas Schwab
Subject: Re: --program-suffix
Date: 05 Nov 2001 21:07:40 +0100
User-agent: Gnus/5.090003 (Oort Gnus v0.03) Emacs/21.1

Per Starback <starback@ling.uu.se> writes:

|> In GNU Emacs 21.1:
|> 
|>      ./configure --help
|> 
|> mentions
|> 
|>   --program-prefix=PREFIX prepend PREFIX to installed program names
|>   --program-suffix=SUFFIX append SUFFIX to installed program names
|>   --program-transform-name=PROGRAM
|>                           run sed PROGRAM on installed program names
|> 
|> even though these actually aren't supported by the emacs installation.
|> It would be nice if that wasn't part of the --help output (especially
|> now when emacs 21 is new, so people might try --program-suffix=21
|> before they are ready to leave emacs 20).
|> 
|> Is this an autoconf issue?

Yes.  More exactly, it is a feature of autoconf 2.13.

|> I have never used autoconf, so I don't
|> really know what I'm talking about, but the autoconf documentation
|> says
|> 
|> > In order to use these transformations, `configure.ac' must call
|> > the macro `AC_ARG_PROGRAM'.
|> 
|> and it's AC_ARG_PROGRAM that adds these lines to HELP_BEGIN which
|> makes it a part of the help message.  But I don't find AC_ARG_PROGRAM
|> used explicitly anywhere in the emacs files.  Is it not possible to
|> avoid calling this and getting the misleading help?

This feature is only available in autoconf 2.50 and later.  Autoconf 2.13
didn't have this fancy help system, and generic options like the ones
above are always included in the --help output.  Note that all the generic
options are still always accepted even if ignored later.

Andreas.

-- 
Andreas Schwab                                  "And now for something
Andreas.Schwab@suse.de                          completely different."
SuSE Labs, SuSE GmbH, Schanzäckerstr. 10, D-90443 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5



reply via email to

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