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, and awk, in that
order, and set output variable AWK to the first one that is found.
It tries gawk first because that is reported to be the
best implementation.
|
| AC_PROG_INSTALL | Macro |
Set output variable INSTALL to the path of a BSD compatible
install program, if one is found in the current PATH.
Otherwise, set INSTALL to dir/install-sh -c,
checking the directories specified to AC_CONFIG_AUX_DIR (or its
default directories) to determine dir (see Output). Also set
the variables INSTALL_PROGRAM and INSTALL_SCRIPT to
${INSTALL} and INSTALL_DATA to ${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 flex is found, set output variable LEX to flex
and LEXLIB to -lfl, if that library is in a standard
place. Otherwise set LEX to lex and LEXLIB to
-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 -s works on the current file system (the operating system
and file system support symbolic links), set the output variable
LN_S to ln -s; otherwise, if ln works, set
LN_S to ln and otherwise set it to cp -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 RANLIB to ranlib if ranlib
is found, and otherwise to : (do nothing).
|
| AC_PROG_YACC | Macro |
If bison is found, set output variable YACC to bison
-y. Otherwise, if byacc is found, set YACC to
byacc. Otherwise set YACC to yacc.
|