From 4ff63001beb84c9f0bc14ba21c895627105f7f5d Mon Sep 17 00:00:00 2001 From: Mike Hommey Date: Sun, 25 Sep 2016 09:22:22 +0900 Subject: [PATCH] Allow to override ICU_DATA_FILE from the environment Gbp-Pq: Topic debian-hacks Gbp-Pq: Name Allow-to-override-ICU_DATA_FILE-from-the-environment.patch --- build/autoconf/icu.m4 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/build/autoconf/icu.m4 b/build/autoconf/icu.m4 index 4c59079bf29..662efc6e92e 100644 --- a/build/autoconf/icu.m4 +++ b/build/autoconf/icu.m4 @@ -78,7 +78,9 @@ if test -n "$USE_ICU"; then # TODO: the l is actually endian-dependent # We could make this set as 'l' or 'b' for little or big, respectively, # but we'd need to check in a big-endian version of the file. - ICU_DATA_FILE="icudt${version}l.dat" + if test -z "$ICU_DATA_FILE"; then + ICU_DATA_FILE="icudt${version}l.dat" + fi MOZ_ICU_DATA_ARCHIVE= fi -- 2.30.2