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

ruby-changes:32216

From: naruse <ko1@a...>
Date: Fri, 20 Dec 2013 14:51:19 +0900 (JST)
Subject: [ruby-changes:32216] naruse:r44295 (trunk): * configure.in (AC_ARG_WITH): use withval directly.

naruse	2013-12-20 14:51:12 +0900 (Fri, 20 Dec 2013)

  New Revision: 44295

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

  Log:
    * configure.in (AC_ARG_WITH): use withval directly.
      fix failure on FreeBSD.
      http://fb32.rubyci.org/~chkbuild/ruby-trunk/log/20131217T070301Z.diff.html.gz

  Modified files:
    trunk/ChangeLog
    trunk/configure.in
Index: configure.in
===================================================================
--- configure.in	(revision 44294)
+++ configure.in	(revision 44295)
@@ -860,7 +860,6 @@ AC_ARG_WITH(opt-dir, https://github.com/ruby/ruby/blob/trunk/configure.in#L860
 	AS_HELP_STRING([--with-opt-dir=DIR-LIST],
 		       [add optional headers and libraries directories separated by $PATH_SEPARATOR]),
 	[
-		withval="$1"
 		val=`echo "$PATH_SEPARATOR$withval" | sed "s|$PATH_SEPARATOR\([[^$PATH_SEPARATOR]*]\)| -I\1/include|g;s/^ //"`
 		CPPFLAGS="$CPPFLAGS $val"
 		val=`IFS="$PATH_SEPARATOR"
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 44294)
+++ ChangeLog	(revision 44295)
@@ -1,3 +1,9 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Fri Dec 20 14:19:12 2013  NARUSE, Yui  <naruse@r...>
+
+	* configure.in (AC_ARG_WITH): use withval directly.
+	  fix failure on FreeBSD.
+	  http://fb32.rubyci.org/~chkbuild/ruby-trunk/log/20131217T070301Z.diff.html.gz
+
 Fri Dec 20 14:00:01 2013  Aman Gupta <ruby@t...>
 
 	* include/ruby/ruby.h (struct RClass): add super, remove iv_index_tbl.

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

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