 -                               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
 

 enabled libvpx            && {
     enabled libvpx_vp8_decoder && { check_lib2 "vpx/vpx_decoder.h vpx/vp8dx.h" vpx_codec_dec_init_ver -lvpx ||
                                     die "ERROR: libvpx decoder version must be >=0.9.1"; }
@@ -4639,10 +4641,7 @@ enabled opengl            && { check_lib GL/glx.h glXGetProcAddress "-lGL" ||
                                check_lib2 ES2/gl.h glGetError "-isysroot=${sysroot} -Wl,-framework,OpenGLES" ||
                                die "ERROR: opengl not found."
                              }

 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
