mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
67e54ce408
Assume `mkdir -p` to be race-free on recent systems. And we do not provide install-sh anyway.
9 lines
303 B
Text
9 lines
303 B
Text
dnl -*- Autoconf -*-
|
|
m4_defun([RUBY_PROG_MAKEDIRS],
|
|
[m4_bpatsubst(m4_defn([AC_PROG_MKDIR_P]),
|
|
[MKDIR_P=\"$ac_install_sh -d\"], [
|
|
AS_IF([test "x$MKDIR_P" = "xfalse"], [AC_MSG_ERROR([mkdir -p is required])])
|
|
MKDIR_P="mkdir -p"])
|
|
]dnl
|
|
AC_SUBST(MAKEDIRS, ["$MKDIR_P"])
|
|
)
|