diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | configure.in | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Mon Feb 25 11:03:38 2013 Akinori MUSHA <knu@iDaemons.org> + + * configure.in (unexpand_shvar): Use the numeric comparison + operator instead of '==' which is a ksh extention. [Bug #7941] + Mon Feb 25 02:37:56 2013 Tanaka Akira <akr@fsij.org> * ext/socket: define and use union_sockaddr instead of struct diff --git a/configure.in b/configure.in index be7d4feb45..5fdac50fdc 100644 --- a/configure.in +++ b/configure.in @@ -3282,7 +3282,7 @@ shvar_to_cpp() { unexpand_shvar() { local var=$1 val n v expr quote shift - test "$#" == 0 && return + test "$#" -eq 0 && return quote=['s/${[^${}"]*}/"&"/g'] for n do eval v='"$'$n'"' |