depends make && depends libtool && if [[ $LDNS_OPENSSL == "1.0" ]]; then depends -sub "1.0" openssl && config_query_option LDNS_OPTS "Enable GOST support?" y \ "--enable-gost" \ "--disable-gost" elif [[ $LDNS_OPENSSL == "0.9" ]]; then depends openssl '--disable-gost' else depends libressl '--disable-gost' fi && optional_depends -sub PYTHON swig \ "--with-pyldns" \ "--without-pyldns" \ "to generate Python library" && if is_depends_enabled $SPELL swig; then config_query_option LDNS_OPTS "Install ldnsx Python module?" y \ "--with-pyldnsx" \ "--without-pyldnsx" fi && optional_depends perl \ "--with-p5-dns-ldns" \ "--without-p5-dns-ldns" \ "to generate DNS::LDNS Perl bindings" .