configure.in
changeset 1201 718d00094f82
parent 1200 8f418dce02b2
child 1203 a67c8b2ae356
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