dnl @synopsis AC_AS_MKDIR_P(PATH) dnl dnl @obsoleted Autoconf 2.5x makes this unnecessary. dnl dnl this is the macro AS_MKDIR_P from autoconf 2.4x defined here for dnl use in autoconf 2.1x, remove the AC_ when you use 2.4x dnl dnl @category Obsolete dnl @author Guido U. Draheim dnl @version 2005-01-25 dnl @license GPLWithACException AC_DEFUN([AC_AS_MKDIR_P],[dnl case $1 in \\*) ac_incr_dir=\\;; ?:\\*) ac_incr_dir=\\;; # ouch /*) ac_incr_dir=/;; ?:/*) ac_incr_dir=/;; # ouch *) ac_incr_dir=.;; esac as_dummy=$1 for as_mkdir_dir in `echo $ac_dummy | sed -e 'y:\\/: :'`; do case $as_mkdir_dir in # Skip DOS drivespec ?:) as_incr_dir=$as_mkdir_dir ;; *) as_incr_dir=$as_incr_dir/$as_mkdir_dir test -d "$as_incr_dir" || mkdir "$as_incr_dir" ;; esac done ])