Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
d1d978dd
Commit
d1d978dd
authored
Oct 08, 2009
by
Sergey Petrunya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix win/configure.js: now configure.in has AM_INIT_AUTOMAKE(mariadb, ...)
- Part 2. make it really work.
parent
56841ace
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
win/configure.js
win/configure.js
+5
-1
No files found.
win/configure.js
View file @
d1d978dd
...
@@ -157,11 +157,15 @@ function GetVersion(str)
...
@@ -157,11 +157,15 @@ function GetVersion(str)
{
{
var
key
=
"
AM_INIT_AUTOMAKE(mysql,
"
;
var
key
=
"
AM_INIT_AUTOMAKE(mysql,
"
;
var
key2
=
"
AM_INIT_AUTOMAKE(mariadb,
"
;
var
key2
=
"
AM_INIT_AUTOMAKE(mariadb,
"
;
var
key_len
=
key
.
length
;
var
pos
=
str
.
indexOf
(
key
);
//5.0.6-beta)
var
pos
=
str
.
indexOf
(
key
);
//5.0.6-beta)
if
(
pos
==
-
1
)
if
(
pos
==
-
1
)
{
pos
=
str
.
indexOf
(
key2
);
pos
=
str
.
indexOf
(
key2
);
key_len
=
key2
.
length
;
}
if
(
pos
==
-
1
)
return
null
;
if
(
pos
==
-
1
)
return
null
;
pos
+=
key
.
length
;
pos
+=
key
_len
;
var
end
=
str
.
indexOf
(
"
)
"
,
pos
);
var
end
=
str
.
indexOf
(
"
)
"
,
pos
);
if
(
end
==
-
1
)
return
null
;
if
(
end
==
-
1
)
return
null
;
return
str
.
substring
(
pos
,
end
);
return
str
.
substring
(
pos
,
end
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment