Node:Particular Programs, Next:Generic Programs, Up:Alternative Programs
These macros check for particular programs--whether they exist, and in some cases whether they support certain features.
| AC_PROG_AWK | Macro | 
| Check for gawk,mawk,nawk, andawk, in that
order, and set output variableAWKto the first one that is found. 
It triesgawkfirst because that is reported to be the
best implementation. | 
| AC_PROG_INSTALL | Macro | 
| Set output variable INSTALLto the path of a BSD compatibleinstallprogram, if one is found in the currentPATH. 
Otherwise, setINSTALLtodir/install-sh -c,
checking the directories specified toAC_CONFIG_AUX_DIR(or its
default directories) to determine dir (see Output).  Also set
the variablesINSTALL_PROGRAMandINSTALL_SCRIPTto${INSTALL}andINSTALL_DATAto${INSTALL} -m 644.This macro screens out various instances of  Autoconf comes with a copy of  If you need to use your own installation program because it has features
not found in standard  | 
| AC_PROG_LEX | Macro | 
| If flexis found, set output variableLEXtoflexandLEXLIBto-lfl, if that library is in a standard
place.  Otherwise setLEXtolexandLEXLIBto-ll.Define  You are encouraged to use Flex in your sources, since it is both more
pleasant to use than plain Lex and the C source it produces is portable. 
In order to ensure portability, however, you must either provide a
function  AC_PROG_LEX if test "$LEX" != flex; then LEX="$SHELL $missing_dir/missing flex" AC_SUBST(LEX_OUTPUT_ROOT, lex.yy) AC_SUBST(LEXLIB, '') fi The shell script  To ensure backward compatibility, Automake's  | 
| AC_PROG_LN_S | Macro | 
| If ln -sworks on the current file system (the operating system
and file system support symbolic links), set the output variableLN_Stoln -s; otherwise, iflnworks, setLN_Stolnand otherwise set it tocp -p.If you make a link a directory other than the current directory, its
meaning depends on whether  In other words, it does not work to do:
 $(LN_S) foo /x/bar Instead, do:
 (cd /x && $(LN_S) foo bar) | 
| AC_PROG_RANLIB | Macro | 
| Set output variable RANLIBtoranlibifranlibis found, and otherwise to:(do nothing). | 
| AC_PROG_YACC | Macro | 
| If bisonis found, set output variableYACCtobison
-y.  Otherwise, ifbyaccis found, setYACCtobyacc.  Otherwise setYACCtoyacc. |