The check_program method can check for the existence of an executable in the host operating system environment.
check_program
Example call:
configure do check_program "xxd" end