projects
/
prosody.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
util.events: Remove an event's table when it has no more handlers.
[prosody.git]
/
configure
diff --git
a/configure
b/configure
index 6a1d656eccd8ab6823054c0ee606c151dbd67294..50591f29170fe863cb2012a86bde35703acbd9ef 100755
(executable)
--- a/
configure
+++ b/
configure
@@
-20,6
+20,7
@@
LD=gcc
CFLAGS="-fPIC -Wall"
LDFLAGS="-shared"
CFLAGS="-fPIC -Wall"
LDFLAGS="-shared"
+IDN_LIBRARY=idn
# Help
show_help() {
# Help
show_help() {
@@
-272,15
+273,12
@@
if [ "$IDN_LIBRARY" = "icu" ]
then
IDNA_LIBS="$ICU_FLAGS"
CFLAGS="$CFLAGS -DUSE_STRINGPREP_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
fi
+if [ "$IDN_LIBRARY" = "idn" ]
+then
+ IDNA_LIBS="-l$IDN_LIB"
+fi
+
LDFLAGS="$LDFLAGS -llua$LUA_SUFFIX"
echo -n "Checking Lua includes... "
LDFLAGS="$LDFLAGS -llua$LUA_SUFFIX"
echo -n "Checking Lua includes... "