Whamcloud - gitweb
Define MKDIR_P in the Makefile.in files instead in MCONFIG.in
authorTheodore Ts'o <tytso@mit.edu>
Mon, 5 Oct 2020 03:05:01 +0000 (23:05 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 5 Oct 2020 03:05:01 +0000 (23:05 -0400)
commit3ab2fd4e23837750eb4f3d1a858b5d0dfa2b379e
tree363a51f97a1318777d1f77cec31e5ff3c39c2a43
parent21bad2b6797f387756af4480d338c0b877c86ba0
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>
19 files changed:
MCONFIG.in
Makefile.in
debugfs/Makefile.in
doc/Makefile.in
e2fsck/Makefile.in
ext2ed/Makefile.in
lib/blkid/Makefile.in
lib/e2p/Makefile.in
lib/et/Makefile.in
lib/ext2fs/Makefile.in
lib/ss/Makefile.in
lib/support/Makefile.in
lib/uuid/Makefile.in
misc/Makefile.in
resize/Makefile.in
scrub/Makefile.in
tests/Makefile.in
tests/progs/Makefile.in
util/Makefile.in