From 5b45971622f62100aab1bd63fdf0e53587a40efe Mon Sep 17 00:00:00 2001 From: "Christoph M. Becker" Date: Wed, 7 Sep 2022 18:52:24 +0200 Subject: [PATCH] Fix classic Windows configuration for libexslt As is, the `LIBEXSLT_DOTTED_VERSION` would be `@LIBEXSLT_VERSION@` when using the classic Windows configuration (win32/configure.js). This has apparently been overlooked when exsltconfig.h.in has been changed a while ago[1]. [1] --- win32/configure.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/win32/configure.js b/win32/configure.js index 66986b04..74340d5d 100644 --- a/win32/configure.js +++ b/win32/configure.js @@ -251,8 +251,8 @@ function configureExslt() while (ofi.AtEndOfStream != true) { ln = ofi.ReadLine(); s = new String(ln); - if (s.search(/\@VERSION\@/) != -1) { - of.WriteLine(s.replace(/\@VERSION\@/, + if (s.search(/\@LIBEXSLT_VERSION\@/) != -1) { + of.WriteLine(s.replace(/\@LIBEXSLT_VERSION\@/, verMajorExslt + "." + verMinorExslt + "." + verMicroExslt)); } else if (s.search(/\@LIBEXSLT_VERSION_NUMBER\@/) != -1) { of.WriteLine(s.replace(/\@LIBEXSLT_VERSION_NUMBER\@/,