intltool: make dependency on XML::Parser optional 2771/head
authorJo-Philipp Wich <jo@mein.io>
Mon, 30 May 2016 14:27:03 +0000 (16:27 +0200)
committerJo-Philipp Wich <jo@mein.io>
Mon, 30 May 2016 14:31:54 +0000 (16:31 +0200)
commit818a2cc8d68bf528278b04616b3c2c139fd056cf
tree1e7927f6064b02406e08ff8b55e0f2a4a32db2bc
parent083a6ece5d8b1b25e53e2e220928390b865a5d2a
intltool: make dependency on XML::Parser optional

Patch `configure` and the shipped `intltool.m4` macro file to make a missing
XML::Parser perl module nonfatal.

All utilities provided by intltool are programmed to fail gracefully at run
time if the module cannot be loaded and those utilities commonly used during
the build do not require it at all.

Also drop the the build-prereq on XML::Parser now that it is optional.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
libs/intltool/Makefile
libs/intltool/patches/100-optional-perl-xml-parser.patch [new file with mode: 0644]