summaryrefslogtreecommitdiff
path: root/ext2ed
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2020-10-04 23:05:01 -0400
committerTheodore Ts'o <tytso@mit.edu>2020-10-04 23:05:01 -0400
commit3ab2fd4e23837750eb4f3d1a858b5d0dfa2b379e (patch)
tree363a51f97a1318777d1f77cec31e5ff3c39c2a43 /ext2ed
parent21bad2b6797f387756af4480d338c0b877c86ba0 (diff)
downloade2fsprogs-3ab2fd4e23837750eb4f3d1a858b5d0dfa2b379e.tar.gz
Define MKDIR_P in the Makefile.in files instead in MCONFIG.in
In the case where mkdir -p is not thread-safe (for example, if the build environment is using busybox's mkdir) the configure script will fall back to the slow (but safe) install-sh script. In that case MKDIR_P will be using a relative pathname; so we can't use speed optimization of defining configure substitutions in MCONFIG.in, since the substitution will be different depending on depth of the subdirectory in the Makefile.in file. https://github.com/tytso/e2fsprogs/issues/51 Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'ext2ed')
-rw-r--r--ext2ed/Makefile.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext2ed/Makefile.in b/ext2ed/Makefile.in
index 0697431e..e4724ca5 100644
--- a/ext2ed/Makefile.in
+++ b/ext2ed/Makefile.in
@@ -8,6 +8,7 @@ VPATH = @srcdir@
top_builddir = ..
my_dir = ext2ed
INSTALL = @INSTALL@
+MKDIR_P = @MKDIR_P@
@MCONFIG@