summaryrefslogtreecommitdiff
path: root/win
diff options
context:
space:
mode:
authorSergey Petrunya <psergey@askmonty.org>2009-10-07 21:26:36 +0400
committerSergey Petrunya <psergey@askmonty.org>2009-10-07 21:26:36 +0400
commit56841aced4dbfd888ecb9f38e704919fe4f459b8 (patch)
treef655468d6d2835ae20f97103f020f59bed7d7dc2 /win
parent9d58141cdc995518eed0352b0aa7a1d488a1cc05 (diff)
downloadmariadb-git-56841aced4dbfd888ecb9f38e704919fe4f459b8.tar.gz
Fix win/configure.js: now configure.in has AM_INIT_AUTOMAKE(mariadb, ...)
Diffstat (limited to 'win')
-rw-r--r--win/configure.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/win/configure.js b/win/configure.js
index be30dc7f9d9..2f6ecbe3d0e 100644
--- a/win/configure.js
+++ b/win/configure.js
@@ -156,7 +156,10 @@ function GetValue(str, key)
function GetVersion(str)
{
var key = "AM_INIT_AUTOMAKE(mysql, ";
+ var key2 = "AM_INIT_AUTOMAKE(mariadb, ";
var pos = str.indexOf(key); //5.0.6-beta)
+ if (pos == -1)
+ pos = str.indexOf(key2);
if (pos == -1) return null;
pos += key.length;
var end = str.indexOf(")", pos);