1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-01-28 17:47:00 +03:00

Fix variable name in win32/configure.js

Fix copy/paste error from previous commit.
This commit is contained in:
Nick Wellnhofer 2020-09-21 11:00:23 +02:00
parent 5614c07854
commit 4e9cc18ba9

View File

@ -209,13 +209,13 @@ function discoverVersion()
ln = cf.ReadLine();
s = new String(ln);
if (m = s.match(/^m4_define\(\[MAJOR_VERSION\], (\w+)\)/)) {
vf.WriteLine("LIBXSLT_MAJOR_VERSION=" + m[1]);
vf.WriteLine("LIBXML_MAJOR_VERSION=" + m[1]);
verMajor = m[1];
} else if(m = s.match(/^m4_define\(\[MINOR_VERSION\], (\w+)\)/)) {
vf.WriteLine("LIBXSLT_MINOR_VERSION=" + m[1]);
vf.WriteLine("LIBXML_MINOR_VERSION=" + m[1]);
verMinor = m[1];
} else if(m = s.match(/^m4_define\(\[MICRO_VERSION\], (\w+)\)/)) {
vf.WriteLine("LIBXSLT_MICRO_VERSION=" + m[1]);
vf.WriteLine("LIBXML_MICRO_VERSION=" + m[1]);
verMicro = m[1];
} else if(s.search(/^LIBXML_MICRO_VERSION_SUFFIX=/) != -1) {
vf.WriteLine(s);