[前][次][番号順一覧][スレッド一覧]

ruby-changes:35070

From: nobu <ko1@a...>
Date: Tue, 12 Aug 2014 17:30:10 +0900 (JST)
Subject: [ruby-changes:35070] nobu:r47152 (trunk): configure.in: [Bug #8409]

nobu	2014-08-12 17:29:56 +0900 (Tue, 12 Aug 2014)

  New Revision: 47152

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=47152

  Log:
    configure.in: [Bug #8409]
    
    * configure.in: check if prefix is same as the cwd, not only same
      path name.  also use AC_MSG_ERROR to bail out.

  Modified files:
    trunk/configure.in
Index: configure.in
===================================================================
--- configure.in	(revision 47151)
+++ configure.in	(revision 47152)
@@ -229,9 +229,8 @@ test -z "$CXX" || ac_cv_prog_CXX="$CXX" https://github.com/ruby/ruby/blob/trunk/configure.in#L229
 if test "$program_prefix" = NONE; then
   program_prefix=
 fi
-if test "$prefix" = `pwd`; then
-  echo "--prefix cannot be the current working directory."
-  exit 1;
+if test "$prefix" -ef .; then
+  AC_MSG_ERROR(--prefix cannot be the current working directory.)
 fi
 RUBY_BASE_NAME=`echo ruby | sed "$program_transform_name"`
 RUBYW_BASE_NAME=`echo rubyw | sed "$program_transform_name"`

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]