your programs.
@end defmac
-@defmac AC_PROGRAM_CHECK (@var{variable}, @var{prog-to-check-for}, @var{value-if-found}, @var{value-if-not-found})
+@defmac AC_PROGRAM_CHECK (@var{variable}, @var{prog-to-check-for}, @var{value-if-found} @r{[}, @var{value-if-not-found}@r{]})
@maindex PROGRAM_CHECK
Check whether program @var{prog-to-check-for} exists in @code{PATH}. If
it is found, set @var{variable} to @var{value-if-found}, otherwise to
-@var{value-if-not-found}. If @var{variable} was already set, do nothing.
-Calls @code{AC_SUBST} for @var{variable}.
+@var{value-if-not-found}, if given. If @var{variable} was already set,
+do nothing. Calls @code{AC_SUBST} for @var{variable}.
@end defmac
@defmac AC_PROGRAM_EGREP (@var{pattern}, @var{program}, @var{action-if-found} @r{[}, @var{action-if-not-found}@r{]})
been called already.
@end defmac
-@defmac AC_PROGRAM_PATH (@var{variable}, @var{prog-to-check-for}, @var{value-if-not-found})
+@defmac AC_PROGRAM_PATH (@var{variable}, @var{prog-to-check-for} @r{[}, @var{value-if-not-found}@r{]})
@maindex PROGRAM_PATH
Similar to @code{AC_PROGRAM_CHECK}, but set @var{variable} to the entire
path of @var{prog-to-check-for} if found. Otherwise, set @var{variable}
-to the value @var{value-if-not-found} and perform no path checking.
-If @var{variable} was already set, do nothing.
-Calls @code{AC_SUBST} for @var{variable}.
+to @var{value-if-not-found}, if given. If @var{variable} was already
+set, do nothing. Calls @code{AC_SUBST} for @var{variable}.
@end defmac
@defmac AC_PROGRAMS_CHECK (@var{variable}, @var{progs-to-check-for} @r{[}, @var{value-if-not-found}@r{]})
checking the next program in the list. If none of the programs in the
list are found, set @var{variable} to @var{value-if-not-found}; if
@var{value-if-not-found} is not specified, the value of @var{variable}
-will not be changed. Calls @code{AC_SUBST} for @var{variable}.
+is not changed. Calls @code{AC_SUBST} for @var{variable}.
@end defmac
@defmac AC_PROGRAMS_PATH (@var{variable}, @var{progs-to-check-for} @r{[}, @var{value-if-not-found}@r{]})
your programs.
@end defmac
-@defmac AC_PROGRAM_CHECK (@var{variable}, @var{prog-to-check-for}, @var{value-if-found}, @var{value-if-not-found})
+@defmac AC_PROGRAM_CHECK (@var{variable}, @var{prog-to-check-for}, @var{value-if-found} @r{[}, @var{value-if-not-found}@r{]})
@maindex PROGRAM_CHECK
Check whether program @var{prog-to-check-for} exists in @code{PATH}. If
it is found, set @var{variable} to @var{value-if-found}, otherwise to
-@var{value-if-not-found}. If @var{variable} was already set, do nothing.
-Calls @code{AC_SUBST} for @var{variable}.
+@var{value-if-not-found}, if given. If @var{variable} was already set,
+do nothing. Calls @code{AC_SUBST} for @var{variable}.
@end defmac
@defmac AC_PROGRAM_EGREP (@var{pattern}, @var{program}, @var{action-if-found} @r{[}, @var{action-if-not-found}@r{]})
been called already.
@end defmac
-@defmac AC_PROGRAM_PATH (@var{variable}, @var{prog-to-check-for}, @var{value-if-not-found})
+@defmac AC_PROGRAM_PATH (@var{variable}, @var{prog-to-check-for} @r{[}, @var{value-if-not-found}@r{]})
@maindex PROGRAM_PATH
Similar to @code{AC_PROGRAM_CHECK}, but set @var{variable} to the entire
path of @var{prog-to-check-for} if found. Otherwise, set @var{variable}
-to the value @var{value-if-not-found} and perform no path checking.
-If @var{variable} was already set, do nothing.
-Calls @code{AC_SUBST} for @var{variable}.
+to @var{value-if-not-found}, if given. If @var{variable} was already
+set, do nothing. Calls @code{AC_SUBST} for @var{variable}.
@end defmac
@defmac AC_PROGRAMS_CHECK (@var{variable}, @var{progs-to-check-for} @r{[}, @var{value-if-not-found}@r{]})
checking the next program in the list. If none of the programs in the
list are found, set @var{variable} to @var{value-if-not-found}; if
@var{value-if-not-found} is not specified, the value of @var{variable}
-will not be changed. Calls @code{AC_SUBST} for @var{variable}.
+is not changed. Calls @code{AC_SUBST} for @var{variable}.
@end defmac
@defmac AC_PROGRAMS_PATH (@var{variable}, @var{progs-to-check-for} @r{[}, @var{value-if-not-found}@r{]})