mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Fix for Linux compatibility
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24650 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
0fd1688bf5
commit
649f648ec1
1 changed files with 7 additions and 6 deletions
13
configure.in
13
configure.in
|
@ -309,12 +309,13 @@ 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])
|
||||
if test "x$MKDIR_P" = "x -d"; then
|
||||
if 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
|
||||
fi
|
||||
MAKEDIRS="$MKDIR_P"
|
||||
AC_SUBST(MAKEDIRS)
|
||||
|
|
Loading…
Reference in a new issue