From: Frank M. Kromann Date: Tue, 23 Dec 2003 00:17:15 +0000 (+0000) Subject: Fix build when both a path and the keyword shared is given X-Git-Tag: php_ibase_before_split~517 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3a6a3dd816f7178d1b53f194d81bfaee0dc4eb8b;p=php Fix build when both a path and the keyword shared is given Now works for both ,shared and shared, --- diff --git a/win32/build/confutils.js b/win32/build/confutils.js index fa6b425e00..0feba9403d 100644 --- a/win32/build/confutils.js +++ b/win32/build/confutils.js @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -// $Id: confutils.js,v 1.25 2003-12-22 22:33:43 wez Exp $ +// $Id: confutils.js,v 1.26 2003-12-23 00:17:15 fmk Exp $ var STDOUT = WScript.StdOut; var STDERR = WScript.StdErr; @@ -157,9 +157,12 @@ function analyze_arg(argval) argval = "yes"; } else if (argval == null) { /* nothing */ - } else if (argval.match(new RegExp("^shared,(.*)"))) { + } else if (args = argval.match(new RegExp("^shared,(.*)"))) { shared = true; - argval = $1; + argval = args[1]; + } else if (args = argval.match(new RegExp("(.*),shared$"))) { + shared = true; + argval = args[1]; } ret[0] = shared;