 -                               check_lib openssl/ssl.h SSL_library_init -lssl -lcrypto -lws2_32 -lgdi32 ||
 -                               die "ERROR: openssl not found"; }
 +enabled openssl           && require_pkg_config openssl openssl/ssl.h SSL_library_init
+ enabled qtkit_indev      && { check_header QTKit/QTKit.h || disable qtkit_indev; }
  
  if enabled gnutls; then
-     { check_lib nettle/bignum.h nettle_mpz_get_str_256 -lnettle -lhogweed -lgmp && enable nettle; } ||
 -- 
 1.8.5
 

 fi
 
 exesuf() {
@@ -4561,20 +4563,20 @@ enabled libcelt           && require libcelt celt/celt.h celt_decode -lcelt0 &&
                                die "ERROR: libcelt must be installed and version must be >= 0.11.0."; }
 enabled libcaca           && require_pkg_config caca caca.h caca_create_canvas
 enabled libfaac           && require2 libfaac "stdint.h faac.h" faacEncGetVersion -lfaac

 1 file changed, 11 insertions(+), 12 deletions(-)

diff --git a/configure b/configure
index face2d2..f173b83 100755
--- a/configure
+++ b/configure
@@ -2920,6 +2920,8 @@ set_default host_cc
 if ! $pkg_config --version >/dev/null 2>&1; then
     warn "$pkg_config not found, library detection may fail."
     pkg_config=false
