We redirect stderr to NULL since POSIX says it may be used (no modern shell
seems to be using it).
If more than 1 program is checked for availability, we use a function.
Emacs snippet make it uniform.
Error message is output on stderr and is always the same.