summaryrefslogtreecommitdiff
path: root/Build/source/texk/bibtex-x/utils.c
diff options
context:
space:
mode:
authorHironobu Yamashita <h.y.acetaminophen@gmail.com>2019-03-04 11:30:33 +0000
committerHironobu Yamashita <h.y.acetaminophen@gmail.com>2019-03-04 11:30:33 +0000
commit3f9227ee5a00e53d844ca4289068f11e19c400a2 (patch)
tree5f47c8c0cb5385a8a760c65348b6ef7d5777ca8a /Build/source/texk/bibtex-x/utils.c
parent42910b9e5b267d68445ddc32c2e77cada1736b8e (diff)
bibtexu: print ICU version
git-svn-id: svn://tug.org/texlive/trunk@50222 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/bibtex-x/utils.c')
-rw-r--r--Build/source/texk/bibtex-x/utils.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/Build/source/texk/bibtex-x/utils.c b/Build/source/texk/bibtex-x/utils.c
index 44b3c82da32..c05c475a25b 100644
--- a/Build/source/texk/bibtex-x/utils.c
+++ b/Build/source/texk/bibtex-x/utils.c
@@ -1080,6 +1080,16 @@ void parse_cmd_line (int argc, char **argv)
FPRINTF (TERM_OUT, "%s\n", BANNER);
FPRINTF (TERM_OUT, "Implementation: %s\n", IMPLEMENTATION);
FPRINTF (TERM_OUT, "Release version: %s\n", VERSION);
+#ifdef UTF_8
+ {
+ UVersionInfo icuVersion;
+ char icu_version[U_MAX_VERSION_STRING_LENGTH] = "";
+ u_getVersion(icuVersion);
+ u_versionToString(icuVersion, icu_version);
+ FPRINTF (TERM_OUT, "Compiled with: ICU version %s\n", icu_version);
+ }
+#endif
+
debug_msg (DBG_MISC,
"calling longjmp (Exit_Program_Flag) ... ");
longjmp (Exit_Program_Flag, 1);