* 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.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37547 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
knu 2012-11-08 03:09:18 +00:00
parent 6ea34efab0
commit 0a741075a3
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,9 @@
Thu Nov 8 11:32:11 2012 Akinori MUSHA <knu@iDaemons.org>
* 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@cookpad.com>
* numeric.c: Add description of that the results of the comparing

View File

@ -2304,7 +2304,8 @@ AC_ARG_WITH(opt-dir,
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