diff options
author | Michael Lauer <mickey@vanille-media.de> | 2007-09-09 11:41:44 +0000 |
---|---|---|
committer | Michael Lauer <mickey@vanille-media.de> | 2007-09-09 11:41:44 +0000 |
commit | e4ef6eacfb2280a4d63cd569d691280fdf6b0e8f (patch) | |
tree | 08350103aa1a9fad46a2858ea49b014afddd70aa /packages/xorg-xserver/xserver-kdrive-1.1.0/enable-tslib.patch | |
parent | 5fff1e40328e6ab7967b55fbcd717c29d68a1d3f (diff) | |
parent | d6833d3ab6f6b0c4078c9d0c46cb9d5dd0faea58 (diff) |
merge of '3025e5e7a53ca716304775ca0ca1dc45ca4b0524'
and '60271e29029910207b8512833d049fad50fb282b'
Diffstat (limited to 'packages/xorg-xserver/xserver-kdrive-1.1.0/enable-tslib.patch')
-rw-r--r-- | packages/xorg-xserver/xserver-kdrive-1.1.0/enable-tslib.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/packages/xorg-xserver/xserver-kdrive-1.1.0/enable-tslib.patch b/packages/xorg-xserver/xserver-kdrive-1.1.0/enable-tslib.patch new file mode 100644 index 0000000000..e488657b74 --- /dev/null +++ b/packages/xorg-xserver/xserver-kdrive-1.1.0/enable-tslib.patch @@ -0,0 +1,23 @@ +--- git/configure.ac.orig 2006-05-22 22:40:00.000000000 +0200 ++++ git/configure.ac 2006-06-10 15:10:14.000000000 +0200 +@@ -1438,6 +1446,10 @@ + fi + +- # tslib... ++ AC_CHECK_HEADERS([tslib.h]) ++ if test "$ac_cv_header_tslib_h" = yes; then ++ AC_DEFINE(TSLIB, 1, [Build kdrive with tslib support]) ++ AC_DEFINE(TOUCHSCREEN, 1, [Build kdrive with touchscreen support]) ++ fi + + # damage shadow extension glx (NOTYET) fb mi + KDRIVE_INC='-I$(top_srcdir)/hw/kdrive/src' +@@ -1467,7 +1479,7 @@ + AC_SUBST(KDRIVE_CFLAGS) + AC_SUBST(KDRIVE_PURE_LIBS) + AC_SUBST(KDRIVE_LIBS) +-AM_CONDITIONAL(TSLIB, false) ++AM_CONDITIONAL(TSLIB, [test x"$ac_cv_header_tslib_h" = xyes]) + AM_CONDITIONAL(H3600_TS, false) + AM_CONDITIONAL(KDRIVEVESA, [test x"$ac_cv_header_sys_vm86_h" = xyes]) + AM_CONDITIONAL(KDRIVEFBDEV, [test x"$ac_cv_header_linux_fb_h" = xyes]) |