  
  if enabled gnutls; then
 -- 
-1.8.5
+1.9.3
 

 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"; }
@@ -4680,10 +4682,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."
                              }

From 658afc65ff08b24629ec952bad68d97d20d5b026 Mon Sep 17 00:00:00 2001
From: Martin Herkt <lachs0r@srsfckn.biz>
Date: Thu, 31 Jul 2014 00:47:30 +0200
Subject: [PATCH] Fix pkg-config for static builds and use it for more external
 libs

---
 configure | 21 ++++++++++-----------
 1 file changed, 10 insertions(+), 11 deletions(-)

diff --git a/configure b/configure
index 1b3f7f2..45f1afd 100755
--- a/configure
+++ b/configure
@@ -3033,6 +3033,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
