summaryrefslogtreecommitdiff
path: root/win32/build/confutils.js
diff options
context:
space:
mode:
Diffstat (limited to 'win32/build/confutils.js')
-rw-r--r--win32/build/confutils.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/win32/build/confutils.js b/win32/build/confutils.js
index 72c5b0a735..deb5f145c6 100644
--- a/win32/build/confutils.js
+++ b/win32/build/confutils.js
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-// $Id: confutils.js,v 1.60.2.1.2.7 2007-07-21 11:24:53 derick Exp $
+// $Id: confutils.js,v 1.60.2.1.2.8 2007-07-26 22:45:59 jani Exp $
var STDOUT = WScript.StdOut;
var STDERR = WScript.StdErr;
@@ -53,18 +53,18 @@ function get_version_numbers()
{
var cin = file_get_contents("configure.in");
- if (cin.match(new RegExp("MAJOR_VERSION=(\\d+)"))) {
+ if (cin.match(new RegExp("PHP_MAJOR_VERSION=(\\d+)"))) {
PHP_VERSION = RegExp.$1;
}
- if (cin.match(new RegExp("MINOR_VERSION=(\\d+)"))) {
+ if (cin.match(new RegExp("PHP_MINOR_VERSION=(\\d+)"))) {
PHP_MINOR_VERSION = RegExp.$1;
}
- if (cin.match(new RegExp("RELEASE_VERSION=(\\d+)"))) {
+ if (cin.match(new RegExp("PHP_RELEASE_VERSION=(\\d+)"))) {
PHP_RELEASE_VERSION = RegExp.$1;
}
PHP_VERSION_STRING = PHP_VERSION + "." + PHP_MINOR_VERSION + "." + PHP_RELEASE_VERSION;
- if (cin.match(new RegExp("EXTRA_VERSION=\"([^\"]+)\""))) {
+ if (cin.match(new RegExp("PHP_EXTRA_VERSION=\"([^\"]+)\""))) {
PHP_EXTRA_VERSION = RegExp.$1;
if (PHP_EXTRA_VERSION.length) {
PHP_VERSION_STRING += PHP_EXTRA_VERSION;