From: Akim Demaille Date: Tue, 2 Apr 2002 15:14:09 +0000 (+0000) Subject: * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Invoke X-Git-Tag: AUTOCONF-2.53a~50 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3aec90e1cb54905e2dca69e580fb26524aadbafd;p=thirdparty%2Fautoconf.git * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Invoke _AS_MKDIR_P_PREPARE. --- diff --git a/ChangeLog b/ChangeLog index a09c8ea64..ac38fb3bb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2002-04-02 Akim Demaille + + * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Invoke + _AS_MKDIR_P_PREPARE. + 2002-03-28 Kevin Ryde * lib/autoconf/c.m4 (AC_C_INLINE): Test with a typedef return value, diff --git a/NEWS b/NEWS index dd590ff25..6939b4645 100644 --- 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. + * Major changes in Autoconf 2.53 diff --git a/lib/m4sugar/m4sh.m4 b/lib/m4sugar/m4sh.m4 index d7a86a8f5..85b3cf414 100644 --- a/lib/m4sugar/m4sh.m4 +++ b/lib/m4sugar/m4sh.m4 @@ -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