--- configure.orig	2014-02-18 01:46:17 UTC
+++ configure
@@ -793,6 +793,7 @@ with_theora
 with_speex
 with_curl
 with_curl_config
+with_kate
 enable_yp
 with_openssl
 '
@@ -17648,6 +17649,16 @@ $as_echo "$as_me: WARNING: Speex support
 
 fi
 
+# Check whether --with-kate was given.
+if test "${with_kate+set}" = set; then :
+  withval=$with_kate; kate_prefix="$withval"
+fi
+
+if test "x$kate_prefix" = "xno"
+then
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: libkate support disabled by request" >&5
+$as_echo "libkate support disabled by request" >&6; }
+else
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kate_decode_init in -lkate" >&5
 $as_echo_n "checking for kate_decode_init in -lkate... " >&6; }
@@ -17745,6 +17756,7 @@ $as_echo "#define HAVE_KATE 1" >>confdef
 fi
 #ICECAST_OPTIONAL="$ICECAST_OPTIONAL format_kate.o"
 
+fi
 
 
 
