From b829c9e15b244e12a98e5dc75c8009d55b60bfab Mon Sep 17 00:00:00 2001 From: "Aaron S. Hawley" Date: Sat, 27 Feb 2016 19:01:24 -0800 Subject: [PATCH] Don't make assumptions about mkdir. (Bug#22822) * test/Makefile.in (MKDIR_P): New, set by configure. (%.log): Use MKDIR_P. --- test/Makefile.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/Makefile.in b/test/Makefile.in index b5954dfc519..a5755fd2259 100644 --- a/test/Makefile.in +++ b/test/Makefile.in @@ -33,6 +33,8 @@ SHELL = @SHELL@ srcdir = @srcdir@ VPATH = $(srcdir) +MKDIR_P = @MKDIR_P@ + SEPCHAR = @SEPCHAR@ # We never change directory before running Emacs, so a relative file @@ -110,7 +112,7 @@ endif fi; \ echo Testing $$loadfile; \ stat=OK ; \ - mkdir --parents $(dir $@) ; \ + ${MKDIR_P} $(dir $@) ; \ $(emacs) -l ert -l $$loadfile \ --eval "(ert-run-tests-batch-and-exit ${SELECTOR_ACTUAL})" ${WRITE_LOG} -- 2.39.2