Maximilian Wilhelm <max(a)rfc2324.org> wrote:
configure defines mkdir_p but src/Makefile.am uses MKDIR_P
---
src/Makefile.am | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/Makefile.am b/src/Makefile.am
index 9d934b4..eff9039 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -589,6 +589,8 @@ endif
endif
EXTRA_DIST += $(LXC_CONTROLLER_SOURCES)
+MKDIR_P = $(mkdir_p)
+
install-exec-local:
$(MKDIR_P) "$(DESTDIR)$(localstatedir)/cache/libvirt"
$(MKDIR_P) "$(DESTDIR)$(localstatedir)/lib/libvirt/images"
This is just a symptom of your using a version of automake that is too old.
I see that MKDIR_P *is* automatically substituted:
$ grep @MKDIR_P config.status
s&@MKDIR_P@&$ac_MKDIR_P&;t t
$ grep MKDIR_P.= Makefile.in
MKDIR_P = @MKDIR_P@