| Back to the Main Page. | ac_as_mkdir_p |
Download the M4 Source. |
1.2 (2003/02/02) 0.5.57 : guidod
complain to <guidod@gmx.de>
obsoleted - autoconf 2.5x should be the minimum being in use.
this is the macro AS_MKDIR_P from autoconf 2.4x defined here for use in autoconf 2.1x, remove the AC_ when you use 2.4x
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
])