>>>>> "Olly" == Olly Betts <[EMAIL PROTECTED]> writes:
Olly> Perhaps the cleanest approach is to write the macro to assume a
Olly> working `which'-like command $WHICH, and then supply tcsh and
Olly> bash versions, plus a fallback sh version which walks the path
Olly> as we do at present.
In a first step, I was thinking of the opposite: generating the list
from within configure, and later extract it into missing or alike.
Currently Autoconf requires only install-sh and mkinstalldirs, it
should not populate our dirs with such tools. An integrated approach
such as missing of shtool is what I'm looking for. Nevertheless, 2.15
was delayed enough, and a clean integration of such a satellite needs
to be done at peace.
Olly> * host-type prefixing (AC_CHECK_TOOL/AC_PATH_TOOL)
Olly> Perhaps have an optional argument giving a list of prefixes?
Should be handled only by the `which' part of the macro.
Olly> AC_CHECK_FILE/AC_CHECK_FILES probably don't want to get rolled
Olly> in (but perhaps ought to be merged), since they don't use a
Olly> PATH. They also can't be implemented with which, since the
Olly> files checked for needn't be executable.
Yep, but that's the opposite: AC_CHECK_FILES (extended with tests) can
be used by CHECK_PROGS. CHECK_PROGS makes the `which' list :)
beforehand.
Akim