1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/tool/m4/ruby_prog_makedirs.m4

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
303 B
Text
Raw Normal View History

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"])
)