diff options
author | Tobias Markmann <tm@ayena.de> | 2010-12-14 18:54:55 +0100 |
---|---|---|
committer | Tobias Markmann <tm@ayena.de> | 2010-12-14 18:54:55 +0100 |
commit | c1efda1ffd82e6988ab20b4be5f75ecf31fb551e (patch) | |
tree | abe5de7670bee8ca9717c1c5f21f45aa18554b0b /configure | |
parent | 798aeefcfbd2db78ca949b2c47f0b37ce4d8ea6c (diff) | |
download | prosody-c1efda1ffd82e6988ab20b4be5f75ecf31fb551e.tar.gz prosody-c1efda1ffd82e6988ab20b4be5f75ecf31fb551e.zip |
Make libidn default when not specifiying a IDN lib.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 14 |
1 files changed, 6 insertions, 8 deletions
@@ -20,6 +20,7 @@ LD=gcc CFLAGS="-fPIC -Wall" LDFLAGS="-shared" +IDN_LIBRARY=idn # Help show_help() { @@ -272,15 +273,12 @@ if [ "$IDN_LIBRARY" = "icu" ] then IDNA_LIBS="$ICU_FLAGS" CFLAGS="$CFLAGS -DUSE_STRINGPREP_ICU" -else - if [ "$IDN_LIBRARY" = "idn" ] - then - IDNA_LIBS="-l$IDN_LIB" - else - echo "Must use idn or icu as argument for --idn-library!" - exit 1 - fi fi +if [ "$IDN_LIBRARY" = "idn" ] +then + IDNA_LIBS="-l$IDN_LIB" +fi + LDFLAGS="$LDFLAGS -llua$LUA_SUFFIX" echo -n "Checking Lua includes... " |