Re-document --with argument.

This commit is contained in:
David MacKenzie 1994-03-31 13:22:49 +00:00
parent 21fc558d52
commit 5462e0b43f
2 changed files with 44 additions and 24 deletions

View File

@ -1721,15 +1721,16 @@ feature behave differently or cause one feature to replace another.
They should only cause parts of the program to be built rather than left They should only cause parts of the program to be built rather than left
out. out.
The user can give a value by following the feature name with @samp{=} The user can give an argument by following the feature name with
and the value. Giving a value of @samp{no} specifies that the feature @samp{=} and the argument. Giving an argument of @samp{no} indicates
is @emph{not} available. A feature with a value looks like that the feature is @emph{not} available. A feature with an argument
@samp{--enable-debug=stabs}. looks like @samp{--enable-debug=stabs}.
The value given is available to the shell commands @var{action-if-true} The argument is available to the shell commands @var{action-if-true} in
in the shell variable @code{enableval}. If no value was given, the shell variable @code{enableval}. If no argument was given to
@code{enableval} is @samp{yes}. @samp{--disable-@var{feature}} is @samp{--enable-@var{feature}}, @code{enableval} is @samp{yes}.
equivalent to @samp{--enable-@var{feature}=no}. @samp{--disable-@var{feature}} is equivalent to
@samp{--enable-@var{feature}=no}.
@end defmac @end defmac
@defmac AC_PREFIX (@var{program}) @defmac AC_PREFIX (@var{program})
@ -1757,10 +1758,19 @@ should work with. For example, @samp{--with-gnu-ld} means work with the
GNU linker instead of some other linker. @samp{--with-x11} means work GNU linker instead of some other linker. @samp{--with-x11} means work
with X11. with X11.
@samp{--without} is for packages that are used by default. Which option The user can give an argument by following the package name with
was given is available to the shell commands @var{action-if-true} in the @samp{=} and the argument. Giving an argument of @samp{no} is for
shell variable @code{withval}. For @samp{--with}, @code{withval} is packages that would be used by default; it says to @emph{not} use the
@samp{yes}; for @samp{--without}, @code{withval} is @samp{no}. package. An argument that is neither @samp{yes} nor @samp{no} could
include a name or number of a version of the other package, to specify
more precisely which other package this program is supposed to work
with.
The argument is available to the shell commands @var{action-if-true} in
the shell variable @code{withval}. If no argument was given to
@samp{--with-@var{package}}, @code{withval} is @samp{yes}.
@samp{--without-@var{package}} is equivalent to
@samp{--with-@var{package}=no}.
@end defmac @end defmac
@node Setting Variables, Printing Messages, Command Line, General Purpose Macros @node Setting Variables, Printing Messages, Command Line, General Purpose Macros

View File

@ -1721,15 +1721,16 @@ feature behave differently or cause one feature to replace another.
They should only cause parts of the program to be built rather than left They should only cause parts of the program to be built rather than left
out. out.
The user can give a value by following the feature name with @samp{=} The user can give an argument by following the feature name with
and the value. Giving a value of @samp{no} specifies that the feature @samp{=} and the argument. Giving an argument of @samp{no} indicates
is @emph{not} available. A feature with a value looks like that the feature is @emph{not} available. A feature with an argument
@samp{--enable-debug=stabs}. looks like @samp{--enable-debug=stabs}.
The value given is available to the shell commands @var{action-if-true} The argument is available to the shell commands @var{action-if-true} in
in the shell variable @code{enableval}. If no value was given, the shell variable @code{enableval}. If no argument was given to
@code{enableval} is @samp{yes}. @samp{--disable-@var{feature}} is @samp{--enable-@var{feature}}, @code{enableval} is @samp{yes}.
equivalent to @samp{--enable-@var{feature}=no}. @samp{--disable-@var{feature}} is equivalent to
@samp{--enable-@var{feature}=no}.
@end defmac @end defmac
@defmac AC_PREFIX (@var{program}) @defmac AC_PREFIX (@var{program})
@ -1757,10 +1758,19 @@ should work with. For example, @samp{--with-gnu-ld} means work with the
GNU linker instead of some other linker. @samp{--with-x11} means work GNU linker instead of some other linker. @samp{--with-x11} means work
with X11. with X11.
@samp{--without} is for packages that are used by default. Which option The user can give an argument by following the package name with
was given is available to the shell commands @var{action-if-true} in the @samp{=} and the argument. Giving an argument of @samp{no} is for
shell variable @code{withval}. For @samp{--with}, @code{withval} is packages that would be used by default; it says to @emph{not} use the
@samp{yes}; for @samp{--without}, @code{withval} is @samp{no}. package. An argument that is neither @samp{yes} nor @samp{no} could
include a name or number of a version of the other package, to specify
more precisely which other package this program is supposed to work
with.
The argument is available to the shell commands @var{action-if-true} in
the shell variable @code{withval}. If no argument was given to
@samp{--with-@var{package}}, @code{withval} is @samp{yes}.
@samp{--without-@var{package}} is equivalent to
@samp{--with-@var{package}=no}.
@end defmac @end defmac
@node Setting Variables, Printing Messages, Command Line, General Purpose Macros @node Setting Variables, Printing Messages, Command Line, General Purpose Macros