aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-12-20 05:51:12 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-12-20 05:51:12 +0000
commitf10068dc4423a4a0f38d4325dcb83e4373dc2c30 (patch)
tree327990fa25fa85f9f9d90b44df5d952adc3f8a25
parent3409690957ae57822ef18189c006068476c035ff (diff)
downloadruby-f10068dc4423a4a0f38d4325dcb83e4373dc2c30.tar.gz
* configure.in (AC_ARG_WITH): use withval directly.
fix failure on FreeBSD. http://fb32.rubyci.org/~chkbuild/ruby-trunk/log/20131217T070301Z.diff.html.gz git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44295 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog6
-rw-r--r--configure.in1
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 9b8e187366..7962ff7cf7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+Fri Dec 20 14:19:12 2013 NARUSE, Yui <naruse@ruby-lang.org>
+
+ * 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@tmm1.net>
* include/ruby/ruby.h (struct RClass): add super, remove iv_index_tbl.
diff --git a/configure.in b/configure.in
index 5daeffdbc8..c2b50af49d 100644
--- a/configure.in
+++ b/configure.in
@@ -860,7 +860,6 @@ AC_ARG_WITH(opt-dir,
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"