GNOME Bugzilla – Bug 760190
configure.ac should be able to build --with-icu without icu-config tool
Last modified: 2016-04-30 14:35:41 UTC
Apple builds libxml2 with the equivalent of the following configure switches: ./configure --prefix=/usr --without-iconv --with-icu --without-lzma --with-zlib However, we don't install icu-config as part of the ICU library, so this fails without a fallback mechanism in configure.ac.
See also: Bug 663214: unicode/ucnv.h: No such file or directory with --prefix This is about honoring an ICU_CONFIG environment variable for the full path to icu-config when running the configure script.
Created attachment 319391 [details] [review] Patch v1
This was fixed in 6e3af87055d2c868d20d8b2b9da59bbafe84e5e0. <https://git.gnome.org/browse/libxml2/commit/?id=6e3af87055d2c868d20d8b2b9da59bbafe84e5e0>
I should note that the original patch to support ICU without icu-config was written by Mark Rowe at Apple. When upstreaming, I merely tweaked the location of a couple lines, but forgot to change the author in git. Sorry about that, Mark.