* lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Fail if fails.

* lib/autoconf/general.m4 (_AC_OUTPUT_SUBDIRS): Adjust.
(AC_SITE_LOAD): Better logging of config.site.
This commit is contained in:
Akim Demaille 2001-08-22 06:24:29 +00:00
parent 9cd559746e
commit ebca389eda
3 changed files with 11 additions and 11 deletions

View File

@ -1,3 +1,9 @@
2001-08-22 Akim Demaille <akim@epita.fr>
* lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Fail if fails.
* lib/autoconf/general.m4 (_AC_OUTPUT_SUBDIRS): Adjust.
(AC_SITE_LOAD): Better logging of config.site.
2001-08-20 Akim Demaille <akim@epita.fr>
* configure.ac (AT_CONFIG): Fix the path.

View File

@ -1824,7 +1824,7 @@ fi
for ac_site_file in $CONFIG_SITE; do
if test -r "$ac_site_file"; then
AC_MSG_NOTICE([loading site script $ac_site_file])
cat "$ac_site_file" >&AS_MESSAGE_LOG_FD
sed 's/^/| /' "$ac_site_file" >&AS_MESSAGE_LOG_FD
. "$ac_site_file"
fi
done
@ -4405,15 +4405,7 @@ if test "$no_recursion" != yes; then
test -d $srcdir/$ac_subdir || continue
AC_MSG_NOTICE([configuring in $ac_subdir])
case $srcdir in
.) ;;
*) AS_MKDIR_P(["./$ac_subdir"])
if test -d ./$ac_subdir; then :;
else
AC_MSG_ERROR([cannot create `pwd`/$ac_subdir])
fi
;;
esac
AS_MKDIR_P(["./$ac_subdir"])
ac_popdir=`pwd`
cd $ac_subdir

View File

@ -427,7 +427,9 @@ for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$[@]"`; do
?:) as_incr_dir=$as_mkdir_dir ;;
*)
as_incr_dir=$as_incr_dir/$as_mkdir_dir
test -d "$as_incr_dir" || mkdir "$as_incr_dir"
test -d "$as_incr_dir" ||
mkdir "$as_incr_dir" ||
AS_ERROR([cannot create $1])
;;
esac
done; }