AS_MKDIR_P exits the script on failure.
* lib/autotest/general.m4: Remove redundant AS_ERROR.
+2006-04-07 Eric Blake <ebb9@byu.net>
+
+ * doc/autoconf.texi (Programming in M4sh): Document that
+ AS_MKDIR_P exits the script on failure.
+ * lib/autotest/general.m4: Remove redundant AS_ERROR.
+
2006-04-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* config/elisp-comp, config/install-sh, config/mdate-sh,
lack support for the @option{-p} option. Also, @code{AS_MKDIR_P}
succeeds if @var{file-name} is a symbolic link to an existing directory,
even though Posix is unclear whether @samp{mkdir -p} should
-succeed in that case.
+succeed in that case. If creation of @var{file-name} fails, exit the
+script.
@end defmac
@defmac AS_SHELL_SANITIZE
rm -fr $at_group_dir
fi
# Be tolerant if the above `rm' was not able to remove the directory.
- AS_MKDIR_P([$at_group_dir]) ||
- AS_ERROR([cannot create $at_group_dir])
+ AS_MKDIR_P([$at_group_dir])
cd $at_group_dir
;;
esac