mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Set 'mkdir -p' to MKDIR_P when AC_PROG_MKDIR_P doesn't set MKDIR_P.
* configure.in (MKDIR_P): Set 'mkdir -p' to MKDIR_P when AC_PROG_MKDIR_P doesn't set MKDIR_P. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24649 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
ebbe19e1ad
commit
0fd1688bf5
2 changed files with 14 additions and 8 deletions
|
@ -1,3 +1,8 @@
|
|||
Tue Aug 25 22:31:51 2009 NARUSE, Yui <naruse@ruby-lang.org>
|
||||
|
||||
* configure.in (MKDIR_P): Set 'mkdir -p' to MKDIR_P
|
||||
when AC_PROG_MKDIR_P doesn't set MKDIR_P.
|
||||
|
||||
Tue Aug 25 17:38:22 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* bignum.c (rb_big_clone, bigmul1_normal, bigdivrem): trivial
|
||||
|
|
17
configure.in
17
configure.in
|
@ -309,6 +309,15 @@ AC_PROG_LN_S
|
|||
AC_PROG_MAKE_SET
|
||||
AC_PROG_INSTALL
|
||||
AC_PROG_MKDIR_P
|
||||
if test "x$MKDIR_P" != "x -d"; then
|
||||
elif test x"$as_mkdir_p" != xfalse; then
|
||||
MKDIR_P='mkdir -p'
|
||||
echo "use 'mkdir -p' as MKDIR_P"
|
||||
else
|
||||
AC_MSG_ERROR([mkdir -p is required])
|
||||
fi
|
||||
MAKEDIRS="$MKDIR_P"
|
||||
AC_SUBST(MAKEDIRS)
|
||||
|
||||
AC_CHECK_TOOL(DOT, dot)
|
||||
AC_CHECK_TOOL(DOXYGEN, doxygen)
|
||||
|
@ -318,14 +327,6 @@ AC_USE_SYSTEM_EXTENSIONS
|
|||
|
||||
AC_SUBST(RM, ['rm -f'])
|
||||
AC_SUBST(CP, ['cp'])
|
||||
if test "x$MKDIR_P" != "x -d"; then
|
||||
MAKEDIRS="$MKDIR_P"
|
||||
elif test -n "$INSTALL"; then
|
||||
MAKEDIRS="$INSTALL -d"
|
||||
else
|
||||
MAKEDIRS='install -d'
|
||||
fi
|
||||
AC_SUBST(MAKEDIRS)
|
||||
AC_SUBST(RMDIRS, ['$(top_srcdir)/tool/rmdirs'])
|
||||
AC_SUBST(RMALL, ['rm -fr'])
|
||||
|
||||
|
|
Loading…
Reference in a new issue