зеркало из https://github.com/github/ruby.git
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:
Родитель
ebbe19e1ad
Коммит
0fd1688bf5
|
@ -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'])
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче