Argh, for this description to be correct... * Ralf Wildenhues wrote on Wed, May 17, 2006 at 02:40:09PM CEST: > > Note I don't bother to search all of PATH for a suitable mkdir -- > I don't think people go to lenghts to install GNU coreutils mkdir and > then put it late in the PATH.
...it needs to be `break 2'... > +[_AS_PATH_WALK([], > +[for ac_exec_ext in '' $ac_executable_extensions; do > + if AS_EXECUTABLE_P(["$as_dir/mkdir$ac_exec_ext"]); then > + if "$as_dir/mkdir$ac_exec_ext" -p --version . >/dev/null 2>&1 \ > + && test ! -d ./--version; then > + ac_cv_prog_mkdir_p="$as_dir/mkdir$ac_exec_ext -p" > + else > + for ac_d in ./-p ./--version > + do > + test -d $ac_d && rmdir $ac_d > + done > + ac_cv_prog_mkdir_p="$ac_install_sh -d" > + fi > + break ...here, which is what I intended. > + fi > +done]) > +])
