blob: 56026eb82f32098fa7b0d359ecb21b358fd60df6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
--- kaffeine-0.8.4/configure.in.orig 2007-04-14 01:31:16.000000000 +0200
+++ kaffeine-0.8.4/configure.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`
@@ -246,6 +249,7 @@
AC_SUBST([CFLAGS_XCB])
AC_SUBST([LIB_XCB])
+AM_CONDITIONAL([with_xcb], [test "$with_xcb" = "yes"])
dnl ---------------------
dnl check for DVB headers
dnl ---------------------
|