summaryrefslogtreecommitdiffstats
path: root/recipes-graphics/directfb/files/ts_lib_autotools.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-graphics/directfb/files/ts_lib_autotools.patch')
-rw-r--r--recipes-graphics/directfb/files/ts_lib_autotools.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/recipes-graphics/directfb/files/ts_lib_autotools.patch b/recipes-graphics/directfb/files/ts_lib_autotools.patch
new file mode 100644
index 0000000000..ced7104786
--- /dev/null
+++ b/recipes-graphics/directfb/files/ts_lib_autotools.patch
@@ -0,0 +1,16 @@
1Index: DirectFB-1.1.1/configure.in
2===================================================================
3--- DirectFB-1.1.1.orig/configure.in 2008-05-07 23:08:04.000000000 +0200
4+++ DirectFB-1.1.1/configure.in 2008-05-07 23:15:43.000000000 +0200
5@@ -1292,8 +1292,11 @@
6
7 enable_tslib=no
8 if test "$checkfor_tslib" = "yes"; then
9+ PKG_CHECK_MODULES([TSLIB], [tslib-1.0 >= 1.0.0], [enable_tslib=yes], [enable_tslib=no])
10+ if test "$enable_tslib" = "no"; then
11 PKG_CHECK_MODULES([TSLIB], [tslib-0.0 >= 0.0.2], enable_tslib=yes, enable_tslib=no
12 AC_MSG_WARN([*** no tslib -- tslib driver will not be built.]))
13+ fi
14 fi
15
16 enable_ucb1x00_ts=no