@ovar{value-if-not-found}, @dvar{path, $PATH})
@acindex{CHECK_TOOL}
Like @code{AC_CHECK_PROG}, but first looks for @var{prog-to-check-for}
-with a prefix of the host type as determined by
-@code{AC_CANONICAL_HOST}, followed by a dash (@pxref{Canonicalizing}).
-For example, if the user runs @samp{configure --host=i386-gnu}, then
-this call:
+with a prefix of the host type as specified by @option{--host} , followed by a
+dash. For example, if the user runs
+@samp{configure --build=x86_64-gnu --host=i386-gnu}, then this call:
@example
AC_CHECK_TOOL([RANLIB], [ranlib], [:])
@end example