Before hitting bug #85214, I found that icu-config was not POSIX-compliant either. While fixing the issue and reporting it upstream[1], one of the ICU devs pointed out that the icu-config script is deprecated and that pkg-config should be used instead[2]. Cheers [1] http://bugs.icu-project.org/trac/ticket/11460 [2] http://userguide.icu-project.org/howtouseicu#TOC-C-Makefiles
Thanks for the report. Marking it NEW.
We need to get the ICU version, which cannot be done using pkg-config with the existing .pc files (IOW, there is no variable containing version that we could query).
From LO's configure.ac around line 8795: $ icu-config --noverify --version 53.1 $ icu-config --version 53.1 Using pkg-config, one can call the following: $ pkg-config --modversion icu-uc 53.1 $ pkg-config --variable=UNICODE_VERSION icu-uc 6.3 Is more needed? That's all I could find in configure.ac.
Eh, right. pkg-config --modversion is sufficient.
Migrating Whiteboard tags to Keywords: (EasyHack DifficultyBeginner SkillScript TopicCleanup) [NinjaEdit]
JanI is default CC for Easy Hacks (Add Jan; remove LibreOffice Dev List from CC) [NinjaEdit]
Done in http://cgit.freedesktop.org/libreoffice/core/commit/?id=050b1d0924aeaec6be5ca520617c5e511d99571a .