summaryrefslogtreecommitdiff
path: root/packages/directfb/files/ts_lib_autotools.patch
blob: ced710478660cd419f8f9b029964f91dfcf7e6cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Index: DirectFB-1.1.1/configure.in
===================================================================
--- DirectFB-1.1.1.orig/configure.in	2008-05-07 23:08:04.000000000 +0200
+++ DirectFB-1.1.1/configure.in	2008-05-07 23:15:43.000000000 +0200
@@ -1292,8 +1292,11 @@
 
 enable_tslib=no
 if test "$checkfor_tslib" = "yes"; then
+  PKG_CHECK_MODULES([TSLIB], [tslib-1.0 >= 1.0.0], [enable_tslib=yes], [enable_tslib=no])
+  if test "$enable_tslib" = "no"; then
     PKG_CHECK_MODULES([TSLIB], [tslib-0.0 >= 0.0.2], enable_tslib=yes, enable_tslib=no
         AC_MSG_WARN([*** no tslib -- tslib driver will not be built.]))
+  fi
 fi
 
 enable_ucb1x00_ts=no