Lines Matching full:icu

277     # Options for ICU: International Components for Unicode
278 icu {
280 with-icu-ldflags:LDFLAGS
282 ICU libraries. e.g. on Ubuntu systems, try '-licui18n -licuuc -licudata'.}
283 with-icu-cflags:CFLAGS
284 => {Apply extra CFLAGS/CPPFLAGS necessary for building with ICU.
286 with-icu-config:=auto
288 /path/to/icu-config}
289 icu-collations=0
290 => {Enable SQLITE_ENABLE_ICU_COLLATIONS. Requires --with-icu-ldflags=...
291 or --with-icu-config}
505 sqlite-handle-icu
1303 # ICU - International Components for Unicode
1307 # --with-icu-ldflags=LDFLAGS
1308 # --with-icu-cflags=CFLAGS
1309 # --with-icu-config[=auto | pkg-config | /path/to/icu-config]
1310 # --enable-icu-collations
1312 # --with-icu-config values:
1314 # - auto: use the first one of (pkg-config, icu-config) found on the
1317 # - /path/to/icu-config: use that to determine flags
1319 # If --with-icu-config is used as neither pkg-config nor icu-config
1322 # If both --with-icu-ldflags and --with-icu-config are provided, they
1323 # are cumulative. If neither are provided, icu-collations is not
1326 # Design note: though we could automatically enable ICU if the
1327 # icu-config binary or (pkg-config icu-io) are found, we specifically
1328 # do not. ICU is always an opt-in feature.
1329 proc sqlite-handle-icu {} {
1330 define LDFLAGS_ICU [join [opt-val with-icu-ldflags ""]]
1331 define CFLAGS_ICU [join [opt-val with-icu-cflags ""]]
1332 if {[proj-opt-was-provided with-icu-config]} {
1333 msg-result "Checking for ICU support..."
1334 set icuConfigBin [opt-val with-icu-config]
1337 if {[pkg-config-init 0] && [pkg-config icu-io]} {
1339 # (icu-io, icu-uc). icu-uc lacks a required lib and icu-io has
1346 proj-fatal "pkg-config cannot find package icu-io"
1354 /usr/local/bin/icu-config \
1355 /usr/bin/icu-config]
1358 --with-icu-config=auto cannot find (pkg-config icu-io) or icu-config binary.
1360 --with-icu-ldflags='-licui18n -licuuc -licudata'
1371 --with-icu-ldflags='-licui18n -licuuc -licudata'
1378 proj-fatal "--with-icu-config=$icuConfigBin does not refer to an executable"
1386 msg-result "Enabling ICU support with flags: $ldflags $cflags"
1387 if {[opt-bool icu-collations]} {
1388 msg-result "Enabling ICU collations."
1394 } elseif {[opt-bool icu-collations]} {
1395 …proj-warn "ignoring --enable-icu-collations because neither --with-icu-ldflags nor --with-icu-conf…
1397 msg-result "ICU support is disabled."
1399 }; # sqlite-handle-icu
1754 icu-collations
1770 with-icu-config
1771 with-icu-ldflags
1772 with-icu-cflags