summaryrefslogtreecommitdiffstats
path: root/chat-libs/loudmouth/DEPENDS
diff options
context:
space:
mode:
Diffstat (limited to 'chat-libs/loudmouth/DEPENDS')
-rwxr-xr-xchat-libs/loudmouth/DEPENDS32
1 files changed, 26 insertions, 6 deletions
diff --git a/chat-libs/loudmouth/DEPENDS b/chat-libs/loudmouth/DEPENDS
index 94ed4d86d6..10c7db7270 100755
--- a/chat-libs/loudmouth/DEPENDS
+++ b/chat-libs/loudmouth/DEPENDS
@@ -1,6 +1,26 @@
-depends glib2 &&
-depends libidn &&
-optional_depends "openssl" \
- "--with-ssl=openssl" \
- "--with-ssl=no" \
- "for SSL support"
+depends glib2 &&
+
+if spell_ok libidn; then
+ depends libidn
+else
+ optional_depends libidn "" "" "for IDN support"
+fi &&
+
+optional_depends libasyncns \
+ "--with-asyncns" \
+ "--without-asyncns" \
+ "for asynchronous DNS support" &&
+
+case $LOUDMOUTH_SSL in
+ gnutls) depends gnutls "--with-ssl=gnutls"
+ ;;
+ SSL) depends openssl "--with-ssl=openssl"
+ ;;
+ none) OPTS="--without-ssl $OPTS"
+ ;;
+esac &&
+
+optional_depends gtk-doc \
+ "--enable-gtk-doc" \
+ "--disable-gtk-doc" \
+ "to build documentation"