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

ruby-changes:25490

From: knu <ko1@a...>
Date: Thu, 8 Nov 2012 12:09:28 +0900 (JST)
Subject: [ruby-changes:25490] knu:r37547 (trunk): * configure.in (--with-opt-dir): Avoid nesting of double quotes

knu	2012-11-08 12:09:18 +0900 (Thu, 08 Nov 2012)

  New Revision: 37547

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

  Log:
    * configure.in (--with-opt-dir): Avoid nesting of double quotes
      inside backquotes, since some traditional shells like PD KSH
      (which OpenBSD's /bin/sh bases on) fails to parse them.

  Modified files:
    trunk/ChangeLog
    trunk/configure.in

Index: configure.in
===================================================================
--- configure.in	(revision 37546)
+++ configure.in	(revision 37547)
@@ -2304,7 +2304,8 @@
 	AS_HELP_STRING([--with-opt-dir=DIR-LIST],
 		       [add optional headers and libraries directories separated by $PATH_SEPARATOR]),
 	[
-		CPPFLAGS="$CPPFLAGS `echo \"$PATH_SEPARATOR$withval\" | sed \"s|$PATH_SEPARATOR\([[^$PATH_SEPARATOR]*]\)| -I\1/include|g;s/^ //\"`"
+		val=`echo "$PATH_SEPARATOR$withval" | sed "s|$PATH_SEPARATOR\([[^$PATH_SEPARATOR]*]\)| -I\1/include|g;s/^ //"`
+		CPPFLAGS="$CPPFLAGS $val"
 		set -x
 		val=`IFS="$PATH_SEPARATOR"
 		    for dir in $withval; do
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 37546)
+++ ChangeLog	(revision 37547)
@@ -1,3 +1,9 @@
+Thu Nov  8 11:32:11 2012  Akinori MUSHA  <knu@i...>
+
+	* configure.in (--with-opt-dir): Avoid nesting of double quotes
+	  inside backquotes, since some traditional shells like PD KSH
+	  (which OpenBSD's /bin/sh bases on) fails to parse them.
+
 Thu Nov  8 09:34:00 2012  Kenta Murata  <mrkn@c...>
 
 	* numeric.c: Add description of that the results of the comparing

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

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