Doan Tran Cong Danh <congdanhqx@xxxxxxxxx> writes: > 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, typing the flag all the time is cumbersome and error-prone. Drop the last sentence. Not having to give the flags is an already solved problem and the solution is to use config.mak. > Add a check into configure script to detect this flag automatically. This is good. "Makefile supports this knob, configure script was not aware of it. Teach configure to do so" flows the thought perfectly well (and "typing all the time" does not have to come into picture). Thanks.