ruby-changes:12914
From: naruse <ko1@a...>
Date: Tue, 25 Aug 2009 23:35:07 +0900 (JST)
Subject: [ruby-changes:12914] Ruby:r24650 (trunk): Fix for Linux compatibility
naruse 2009-08-25 23:33:11 +0900 (Tue, 25 Aug 2009) New Revision: 24650 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=24650 Log: Fix for Linux compatibility Modified files: trunk/configure.in Index: configure.in =================================================================== --- configure.in (revision 24649) +++ configure.in (revision 24650) @@ -309,12 +309,13 @@ 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) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/