mirror of
https://git.kernel.org/pub/scm/fs/ext2/e2fsprogs.git
synced 2025-01-19 15:03:24 +08:00
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>
This commit is contained in:
parent
21bad2b679
commit
3ab2fd4e23
@ -121,7 +121,6 @@ LDCONFIG = @LDCONFIG@
|
||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||
INSTALL_DATA = @INSTALL_DATA@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
MKDIR_P = @MKDIR_P@
|
||||
|
||||
#
|
||||
# Library definitions
|
||||
|
@ -4,6 +4,7 @@ VPATH = @srcdir@
|
||||
top_builddir = .
|
||||
my_dir = .
|
||||
INSTALL = @INSTALL@
|
||||
MKDIR_P = @MKDIR_P@
|
||||
|
||||
@MCONFIG@
|
||||
|
||||
|
@ -8,6 +8,7 @@ VPATH = @srcdir@
|
||||
top_builddir = ..
|
||||
my_dir = debugfs
|
||||
INSTALL = @INSTALL@
|
||||
MKDIR_P = @MKDIR_P@
|
||||
|
||||
@MCONFIG@
|
||||
|
||||
|
@ -8,6 +8,7 @@ VPATH = @srcdir@
|
||||
top_builddir = ..
|
||||
my_dir = doc
|
||||
INSTALL = @INSTALL@
|
||||
MKDIR_P = @MKDIR_P@
|
||||
|
||||
@MCONFIG@
|
||||
|
||||
|
@ -8,6 +8,7 @@ VPATH = @srcdir@
|
||||
top_builddir = ..
|
||||
my_dir = e2fsck
|
||||
INSTALL = @INSTALL@
|
||||
MKDIR_P = @MKDIR_P@
|
||||
|
||||
@MCONFIG@
|
||||
|
||||
|
@ -8,6 +8,7 @@ VPATH = @srcdir@
|
||||
top_builddir = ..
|
||||
my_dir = ext2ed
|
||||
INSTALL = @INSTALL@
|
||||
MKDIR_P = @MKDIR_P@
|
||||
|
||||
@MCONFIG@
|
||||
|
||||
|
@ -11,6 +11,7 @@ VPATH = @srcdir@
|
||||
top_builddir = ../..
|
||||
my_dir = lib/blkid
|
||||
INSTALL = @INSTALL@
|
||||
MKDIR_P = @MKDIR_P@
|
||||
|
||||
@MCONFIG@
|
||||
|
||||
|
@ -11,6 +11,7 @@ VPATH = @srcdir@
|
||||
top_builddir = ../..
|
||||
my_dir = lib/e2p
|
||||
INSTALL = @INSTALL@
|
||||
MKDIR_P = @MKDIR_P@
|
||||
|
||||
@MCONFIG@
|
||||
|
||||
|
@ -8,6 +8,7 @@ VPATH = @srcdir@
|
||||
top_builddir = ../..
|
||||
my_dir = lib/et
|
||||
INSTALL = @INSTALL@
|
||||
MKDIR_P = @MKDIR_P@
|
||||
|
||||
DEP_MAKEFILE = $(DEP_LIB_MAKEFILES)
|
||||
|
||||
|
@ -4,6 +4,7 @@ VPATH = @srcdir@
|
||||
top_builddir = ../..
|
||||
my_dir = lib/ext2fs
|
||||
INSTALL = @INSTALL@
|
||||
MKDIR_P = @MKDIR_P@
|
||||
DEPEND_CFLAGS = -I$(top_srcdir)/debugfs -I$(srcdir)/../../e2fsck -DDEBUGFS
|
||||
# This nastiness is needed because of jfs_user.h hackery; when we finally
|
||||
# clean up this mess, we should be able to drop it
|
||||
|
@ -8,6 +8,7 @@ VPATH = @srcdir@
|
||||
top_builddir = ../..
|
||||
my_dir = lib/ss
|
||||
INSTALL = @INSTALL@
|
||||
MKDIR_P = @MKDIR_P@
|
||||
DLOPEN_LIB = @DLOPEN_LIB@
|
||||
|
||||
@MCONFIG@
|
||||
|
@ -7,6 +7,7 @@ VPATH = @srcdir@
|
||||
top_builddir = ../..
|
||||
my_dir = lib/support
|
||||
INSTALL = @INSTALL@
|
||||
MKDIR_P = @MKDIR_P@
|
||||
|
||||
@MCONFIG@
|
||||
|
||||
|
@ -7,6 +7,7 @@ VPATH = @srcdir@
|
||||
top_builddir = ../..
|
||||
my_dir = lib/uuid
|
||||
INSTALL = @INSTALL@
|
||||
MKDIR_P = @MKDIR_P@
|
||||
|
||||
@MCONFIG@
|
||||
|
||||
|
@ -8,6 +8,7 @@ VPATH = @srcdir@
|
||||
top_builddir = ..
|
||||
my_dir = misc
|
||||
INSTALL = @INSTALL@
|
||||
MKDIR_P = @MKDIR_P@
|
||||
|
||||
@MCONFIG@
|
||||
|
||||
|
@ -8,6 +8,7 @@ VPATH = @srcdir@
|
||||
top_builddir = ..
|
||||
my_dir = resize
|
||||
INSTALL = @INSTALL@
|
||||
MKDIR_P = @MKDIR_P@
|
||||
|
||||
@MCONFIG@
|
||||
|
||||
|
@ -8,6 +8,7 @@ VPATH = @srcdir@
|
||||
top_builddir = ..
|
||||
my_dir = scrub
|
||||
INSTALL = @INSTALL@
|
||||
MKDIR_P = @MKDIR_P@
|
||||
|
||||
@MCONFIG@
|
||||
|
||||
|
@ -8,6 +8,7 @@ VPATH = @srcdir@
|
||||
top_builddir = ..
|
||||
my_dir = tests
|
||||
INSTALL = @INSTALL@
|
||||
MKDIR_P = @MKDIR_P@
|
||||
|
||||
@MCONFIG@
|
||||
|
||||
|
@ -8,6 +8,7 @@ VPATH = @srcdir@
|
||||
top_builddir = ../..
|
||||
my_dir = tests/progs
|
||||
INSTALL = @INSTALL@
|
||||
MKDIR_P = @MKDIR_P@
|
||||
|
||||
@MCONFIG@
|
||||
|
||||
|
@ -8,6 +8,7 @@ VPATH = @srcdir@
|
||||
top_builddir = ..
|
||||
my_dir = util
|
||||
INSTALL = @INSTALL@
|
||||
MKDIR_P = @MKDIR_P@
|
||||
|
||||
SRCS = $(srcdir)/subst.c $(srcdir)/mkutf8data.c
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user