Mercurial > sdl-ios-xcode
comparison configure.in @ 1201:718d00094f82
Date: Sat, 10 Dec 2005 18:29:41 +0100
From: Alberto Mardegan <mardy@users.sourceforge.net>
To: sdl@libsdl.org
Subject: [SDL] [PATCH] Touchscreen support to fbcon via tslib
Hi all!
I'm new to this list, I just subscribed. I've attached to this e-mail
a patch I've written in order to add Touchscreen support to SDL's fbcon
module via the tslib library.
Since it introduces a new dependency, I've also edited the the
configure.in file and added it as a compile-time option.
This patch is especially useful for handhelds (I've tested it in my
Zaurus).
Please consider applying it. :-)
--
Saluti,
Mardy
http://interlingua.altervista.org
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Mon, 12 Dec 2005 09:26:32 +0000 |
parents | 8f418dce02b2 |
children | a67c8b2ae356 |
comparison
equal
deleted
inserted
replaced
1200:8f418dce02b2 | 1201:718d00094f82 |
---|---|
1231 CFLAGS="$CFLAGS -DUSE_INPUT_EVENTS" | 1231 CFLAGS="$CFLAGS -DUSE_INPUT_EVENTS" |
1232 fi | 1232 fi |
1233 fi | 1233 fi |
1234 } | 1234 } |
1235 | 1235 |
1236 dnl See if we can use the Touchscreen input library | |
1237 CheckTslib() | |
1238 { | |
1239 AC_ARG_ENABLE(input-tslib, | |
1240 [ --enable-input-tslib use the Touchscreen library for input [default=yes]], | |
1241 , enable_input_tslib=yes) | |
1242 if test x$enable_input_tslib = xyes; then | |
1243 AC_MSG_CHECKING(for Touchscreen library support) | |
1244 enable_input_tslib=no | |
1245 AC_TRY_COMPILE([ | |
1246 #include "tslib.h" | |
1247 ],[ | |
1248 ],[ | |
1249 enable_input_tslib=yes | |
1250 ]) | |
1251 AC_MSG_RESULT($enable_input_tslib) | |
1252 if test x$enable_input_tslib = xyes; then | |
1253 CFLAGS="$CFLAGS -DHAVE_TSLIB" | |
1254 SYSTEM_LIBS="$SYSTEM_LIBS -lts" | |
1255 fi | |
1256 fi | |
1257 } | |
1258 | |
1236 dnl See if we can use GNU pth library for threads | 1259 dnl See if we can use GNU pth library for threads |
1237 CheckPTH() | 1260 CheckPTH() |
1238 { | 1261 { |
1239 dnl Check for pth support | 1262 dnl Check for pth support |
1240 AC_ARG_ENABLE(pth, | 1263 AC_ARG_ENABLE(pth, |
2076 CheckAAlib | 2099 CheckAAlib |
2077 CheckQtopia | 2100 CheckQtopia |
2078 CheckPicoGUI | 2101 CheckPicoGUI |
2079 CheckOpenGLX11 | 2102 CheckOpenGLX11 |
2080 CheckInputEvents | 2103 CheckInputEvents |
2104 CheckTslib | |
2081 CheckPTHREAD | 2105 CheckPTHREAD |
2082 CheckSIGACTION | 2106 CheckSIGACTION |
2083 CheckAltivec | 2107 CheckAltivec |
2084 CheckLinuxVersion | 2108 CheckLinuxVersion |
2085 CheckRPATH | 2109 CheckRPATH |