configure.ac: define ICONV_OMITS_BOM if necessary
authorDoan Tran Cong Danh <redacted>
Fri, 8 Nov 2019 09:43:44 +0000 (16:43 +0700)
committerJunio C Hamano <redacted>
Mon, 11 Nov 2019 00:43:47 +0000 (09:43 +0900)
commit1ba6e7aecdd2c72df1b0da7a89502e82485f7819
tree062be3212005ec9ee857cfb511b8589af2b16425
parent99b2ba35f5a67dd6308b265a8e4c3a92e2e67221
configure.ac: define ICONV_OMITS_BOM if necessary

From commit 79444c9294, ("utf8: handle systems that don't write BOM for
UTF-16", 2019-02-12), we're supporting those systems with iconv that
omits BOM with:

    make ICONV_OMITS_BOM=Yes

However, configure script wasn't taught to detect those systems.

Teach configure to do so.

Signed-off-by: Doan Tran Cong Danh <redacted>
Signed-off-by: Junio C Hamano <redacted>
configure.ac
git clone https://git.99rst.org/PROJECT