From: Noah Friedman Date: Wed, 22 Dec 1993 12:47:36 +0000 (+0000) Subject: Formerly autoconf.texi.~148~ X-Git-Tag: fsf-origin~811 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e584d7f7ed4d24a541fc6f6ae98f2713e889bfcf;p=thirdparty%2Fautoconf.git Formerly autoconf.texi.~148~ --- diff --git a/autoconf.texi b/autoconf.texi index 8e4dd5058..358b5fc95 100644 --- a/autoconf.texi +++ b/autoconf.texi @@ -1502,6 +1502,14 @@ oversight that we use the word @code{PROGRAM} in Autoconf macro names to sometimes mean C source code and sometimes mean a UNIX command.) @end defmac +@defmac AC_PROGRAM_PATH (@var{variable}, @var{prog-to-check-for}, @var{value-if-not-found}) +@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, just set @var{variable} to +the value of @var{value-if-not-found}; no path checking is performed. +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{]}) @maindex PROGRAMS_CHECK Check for each program in the whitespace-separated list @@ -1513,6 +1521,13 @@ list are found, set @var{variable} to @var{value-if-not-found}; if will not be 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{]}) +@maindex PROGRAMS_PATH +Like @code{AC_PROGRAMS_CHECK}, but if any of @var{progs-to-check-for} +are found, @var{variable} is set to the entire pathname of the found +program. +@end defmac + @defmac AC_REPLACE_FUNCS (@var{function-name}@dots{}) @maindex REPLACE_FUNCS For each given @var{function-name} in the whitespace-separated argument diff --git a/doc/autoconf.texi b/doc/autoconf.texi index 8e4dd5058..358b5fc95 100644 --- a/doc/autoconf.texi +++ b/doc/autoconf.texi @@ -1502,6 +1502,14 @@ oversight that we use the word @code{PROGRAM} in Autoconf macro names to sometimes mean C source code and sometimes mean a UNIX command.) @end defmac +@defmac AC_PROGRAM_PATH (@var{variable}, @var{prog-to-check-for}, @var{value-if-not-found}) +@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, just set @var{variable} to +the value of @var{value-if-not-found}; no path checking is performed. +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{]}) @maindex PROGRAMS_CHECK Check for each program in the whitespace-separated list @@ -1513,6 +1521,13 @@ list are found, set @var{variable} to @var{value-if-not-found}; if will not be 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{]}) +@maindex PROGRAMS_PATH +Like @code{AC_PROGRAMS_CHECK}, but if any of @var{progs-to-check-for} +are found, @var{variable} is set to the entire pathname of the found +program. +@end defmac + @defmac AC_REPLACE_FUNCS (@var{function-name}@dots{}) @maindex REPLACE_FUNCS For each given @var{function-name} in the whitespace-separated argument