Software / code / prosody
Comparison
configure @ 11528:d3b0049e50f5
configure: Make ICU the default library for IDNA and JID normalization
See #533
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Sun, 12 Jul 2020 23:04:14 +0200 |
| parent | 11009:74ef9f2334f3 |
| child | 11965:5e3aee9b6adc |
comparison
equal
deleted
inserted
replaced
| 11527:eaff6e548f12 | 11528:d3b0049e50f5 |
|---|---|
| 25 | 25 |
| 26 CFLAGS="-fPIC -std=c99" | 26 CFLAGS="-fPIC -std=c99" |
| 27 CFLAGS="$CFLAGS -Wall -pedantic -Wextra -Wshadow -Wformat=2" | 27 CFLAGS="$CFLAGS -Wall -pedantic -Wextra -Wshadow -Wformat=2" |
| 28 LDFLAGS="-shared" | 28 LDFLAGS="-shared" |
| 29 | 29 |
| 30 IDN_LIBRARY="idn" | 30 IDN_LIBRARY="icu" |
| 31 # Help | 31 # Help |
| 32 | 32 |
| 33 show_help() { | 33 show_help() { |
| 34 cat <<EOF | 34 cat <<EOF |
| 35 Configure $APP_NAME prior to building. | 35 Configure $APP_NAME prior to building. |
| 61 --with-lua-lib=DIR You can also specify Lua's libraries dir. | 61 --with-lua-lib=DIR You can also specify Lua's libraries dir. |
| 62 Default is \$LUA_DIR/lib | 62 Default is \$LUA_DIR/lib |
| 63 --with-idn=LIB The name of the IDN library to link with. | 63 --with-idn=LIB The name of the IDN library to link with. |
| 64 Default is $IDN_LIB | 64 Default is $IDN_LIB |
| 65 --idn-library=(idn|icu) Select library to use for IDNA functionality. | 65 --idn-library=(idn|icu) Select library to use for IDNA functionality. |
| 66 idn: use GNU libidn (default) | 66 idn: use GNU libidn |
| 67 icu: use ICU from IBM | 67 icu: use ICU from IBM (default) |
| 68 --with-ssl=LIB The name of the SSL to link with. | 68 --with-ssl=LIB The name of the SSL to link with. |
| 69 Default is $OPENSSL_LIB | 69 Default is $OPENSSL_LIB |
| 70 --with-random=METHOD CSPRNG backend to use. One of | 70 --with-random=METHOD CSPRNG backend to use. One of |
| 71 getrandom: Linux kernel | 71 getrandom: Linux kernel |
| 72 arc4random: OpenBSD kernel | 72 arc4random: OpenBSD kernel |