summaryrefslogtreecommitdiff
blob: b4f60f3d0aefb665294e6faed854abdbc91e6a27 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- kaffeine-0.8.4/kaffeine/configure.in.in.orig	2007-04-14 01:31:16.000000000 +0200
+++ kaffeine-0.8.4/kaffeine/configure.in.in	2007-04-14 01:38:39.000000000 +0200
@@ -227,12 +227,15 @@
 dnl check for xcb
 dnl -------------
 
+AC_ARG_WITH([xcb], [AS_HELP_STRING([--without-xcb], [build without xcb support])],,
+  [with_xcb=yes])
+
 AC_MSG_CHECKING([for xcb and xine-lib >= 1.1.5])
 
 CFLAGS_XCB=""
 LIB_XCB=""
 
-if "$PKG_CONFIG" --exists "xcb >= 1.0 libxine >= 1.1.5" ; then
+if test "$with_xcb" != "no" && "$PKG_CONFIG" --exists "xcb >= 1.0 libxine >= 1.1.5" ; then
 	with_xcb=yes
 	CFLAGS_XCB=`"$PKG_CONFIG" --cflags xcb`
 	LIB_XCB=`"$PKG_CONFIG" --libs xcb`