configure: detect redundant --with-libpcre & --with-libpcre1
[git.git] / contrib / update-unicode / README
blobb9e2fc8540d5a8c6f7ceb05fc97a7c502732d8f2
1 TL;DR: Run update_unicode.sh after the publication of a new Unicode
2 standard and commit the resulting unicode_widths.h file.
4 The long version
5 ================
7 The Git source code ships the file unicode_widths.h which contains
8 tables of zero and double width Unicode code points, respectively.
9 These tables are generated using update_unicode.sh in this directory.
10 update_unicode.sh itself uses a third-party tool, uniset, to query two
11 Unicode data files for the interesting code points.
13 On first run, update_unicode.sh clones uniset from Github and builds it.
14 This requires a current-ish version of autoconf (2.69 works per December
15 2016).
17 On each run, update_unicode.sh checks whether more recent Unicode data
18 files are available from the Unicode consortium, and rebuilds the header
19 unicode_widths.h with the new data. The new header can then be
20 committed.