comparison configure.in @ 1977:754847f19490

David Hedbor is no longer maintaining the Qtopia code.
author Sam Lantinga <slouken@libsdl.org>
date Thu, 10 Aug 2006 14:35:42 +0000
parents 420716272158
children 3f21778e7433
comparison
equal deleted inserted replaced
1976:b1620a317791 1977:754847f19490
1266 have_video=yes 1266 have_video=yes
1267 fi 1267 fi
1268 fi 1268 fi
1269 } 1269 }
1270 1270
1271 dnl Set up the QTopia video driver if enabled
1272 CheckQtopia()
1273 {
1274 AC_ARG_ENABLE(video-qtopia,
1275 AC_HELP_STRING([--enable-video-qtopia], [use Qtopia video driver [[default=no]]]),
1276 , enable_video_qtopia=no)
1277 if test x$enable_video = xyes -a x$enable_video_qtopia = xyes; then
1278 AC_MSG_CHECKING(for Qtopia support)
1279 video_qtopia=no
1280 QTOPIA_FLAGS="-DQT_QWS_EBX -DQT_QWS_CUSTOM -DQWS -I${QPEDIR}/include -I${QTDIR}/include/ -DNO_DEBUG -fno-rtti -fno-exceptions"
1281 AC_LANG_CPLUSPLUS
1282 OLD_CXX="$CXXFLAGS"
1283 CXXFLAGS="$QTOPIA_FLAGS"
1284 AC_TRY_COMPILE([
1285 #include <qpe/qpeapplication.h>
1286 ],[
1287 ],[
1288 video_qtopia=yes
1289 ])
1290 CXXFLAGS="$OLD_CXX"
1291 AC_MSG_RESULT($video_qtopia)
1292 if test x$video_qtopia = xyes; then
1293 AC_DEFINE(SDL_VIDEO_DRIVER_QTOPIA)
1294 SOURCES="$SOURCES $srcdir/src/video/qtopia/*.cc"
1295 SDLMAIN_SOURCES="$srcdir/src/main/qtopia/*.cc"
1296 EXTRA_CFLAGS="$EXTRA_CFLAGS $QTOPIA_FLAGS"
1297 SDL_CFLAGS="$SDL_CFLAGS -DQWS -Dmain=SDL_main"
1298 SDL_LIBS="-lSDLmain $SDL_LIBS -L${QPEDIR}/lib -L${QTDIR}/lib/ -lqpe -lqte"
1299 have_video=yes
1300 fi
1301 AC_LANG_C
1302 fi
1303 }
1304
1305 dnl Set up the Atari Bios keyboard driver 1271 dnl Set up the Atari Bios keyboard driver
1306 CheckAtariBiosEvent() 1272 CheckAtariBiosEvent()
1307 { 1273 {
1308 SOURCES="$SOURCES $srcdir/src/video/ataricommon/*.c" 1274 SOURCES="$SOURCES $srcdir/src/video/ataricommon/*.c"
1309 SOURCES="$SOURCES $srcdir/src/video/ataricommon/*.S" 1275 SOURCES="$SOURCES $srcdir/src/video/ataricommon/*.S"
2043 CheckPS2GS 2009 CheckPS2GS
2044 CheckGGI 2010 CheckGGI
2045 CheckSVGA 2011 CheckSVGA
2046 CheckVGL 2012 CheckVGL
2047 CheckWscons 2013 CheckWscons
2048 CheckQtopia
2049 CheckOpenGLX11 2014 CheckOpenGLX11
2050 CheckInputEvents 2015 CheckInputEvents
2051 CheckTslib 2016 CheckTslib
2052 CheckUSBHID 2017 CheckUSBHID
2053 CheckPTHREAD 2018 CheckPTHREAD