[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
FYI: mkdir -p problems in config.status
From: |
Akim Demaille |
Subject: |
FYI: mkdir -p problems in config.status |
Date: |
02 Apr 2002 17:13:42 +0200 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Common Lisp) |
>From a bug report on Bison.
Index: ChangeLog
from Akim Demaille <address@hidden>
* lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Invoke
_AS_MKDIR_P_PREPARE.
Index: NEWS
===================================================================
RCS file: /cvsroot/autoconf/autoconf/NEWS,v
retrieving revision 1.225
diff -u -u -r1.225 NEWS
--- NEWS 14 Mar 2002 17:25:13 -0000 1.225
+++ NEWS 2 Apr 2002 15:12:30 -0000
@@ -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
Index: lib/m4sugar/m4sh.m4
===================================================================
RCS file: /cvsroot/autoconf/autoconf/lib/m4sugar/m4sh.m4,v
retrieving revision 1.79
diff -u -u -r1.79 m4sh.m4
--- lib/m4sugar/m4sh.m4 27 Mar 2002 20:33:03 -0000 1.79
+++ lib/m4sugar/m4sh.m4 2 Apr 2002 15:12:31 -0000
@@ -137,6 +137,17 @@
# 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_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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- FYI: mkdir -p problems in config.status,
Akim Demaille <=