]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Invoke
authorAkim Demaille <akim@epita.fr>
Tue, 2 Apr 2002 15:14:09 +0000 (15:14 +0000)
committerAkim Demaille <akim@epita.fr>
Tue, 2 Apr 2002 15:14:09 +0000 (15:14 +0000)
_AS_MKDIR_P_PREPARE.

ChangeLog
NEWS
lib/m4sugar/m4sh.m4

index a09c8ea6469750bfaa056f9f3b097eaf88f91121..ac38fb3bb7579da93a76d38face95cd28ad8b6bd 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2002-04-02  Akim Demaille  <akim@epita.fr>
+
+       * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Invoke
+       _AS_MKDIR_P_PREPARE.
+
 2002-03-28  Kevin Ryde  <user42@zip.com.au>
 
        * lib/autoconf/c.m4 (AC_C_INLINE): Test with a typedef return value,
diff --git a/NEWS b/NEWS
index dd590ff257b750e09af6392541be6c80a86eb859..6939b46450de71f3add23de4fa91579c081dee37 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -4,6 +4,11 @@
 
 - autoreconf is adjusted to GNU Gettext 0.11.
 
+** Bug fixes
+
+- config.status 2.53 may fail on some architectures where `mkdir -p'
+  fails on existing directories.
+
 \f
 * Major changes in Autoconf 2.53
 
index d7a86a8f51ca84b9d97f4f64f9a2778470a0a68f..85b3cf41425d8cd9a24e35950a47d6e7771d76c3 100644 (file)
@@ -137,6 +137,17 @@ m4_define([AS_REQUIRE],
 # AS_SHELL_SANITIZE
 # -----------------
 # Try to be as Bourne and/or POSIX as possible.
+#
+# This macro has a very special status.  Normal use of M4sh relies
+# heavily on AS_REQUIRE, so that needed initiatizations (such as
+# _AS_TEST_PREPARE) are performed on need, not on demand.  But
+# Autoconf is the first client of M4sh, and for two reasons: configure
+# and config.status.  Relying on AS_REQUIRE is of course fine for
+# configure, but fails for config.status (which is created by
+# configure).  So we need a means to force the inclusion of the
+# various _AS_PREPARE_* on top of config.status.  That's basically why
+# there are so many _AS_PREPARE_* below, and that's also why it is
+# important not to forget some: config.status needs them.
 m4_defun([AS_SHELL_SANITIZE],
 [
 ## --------------------- ##
@@ -173,6 +184,7 @@ _AS_LINENO_PREPARE
 _AS_ECHO_N_PREPARE
 _AS_EXPR_PREPARE
 _AS_LN_S_PREPARE
+_AS_MKDIR_P_PREPARE
 _AS_TEST_PREPARE
 _AS_TR_CPP_PREPARE
 _AS_TR_SH_PREPARE