  fi
  
  if test $doxygen != $doxygen_default && \
-@@ -4805,14 +4807,14 @@ enabled libcelt           && require libcelt celt/celt.h celt_decode -lcelt0 &&
+@@ -4820,14 +4822,14 @@ 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

From 37c2533c9dd7e5cd700bc93059d931e9dfc10699 Mon Sep 17 00:00:00 2001
From: Martin Herkt <lachs0r@srsfckn.biz>
Date: Tue, 9 Sep 2014 03:23:13 +0200
Subject: [PATCH] Fix pkg-config for static builds and use it for more external
 libs


 1 file changed, 9 insertions(+), 10 deletions(-)

diff --git a/configure b/configure
index f183d30..06d80e2 100755
--- a/configure
+++ b/configure
@@ -3056,6 +3056,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
