Enlightenment CVS committal Author : devilhorns Project : e17 Module : libs/ecore
Dir : e17/libs/ecore Modified Files: configure.in Log Message: Move tslib (Touchscreen) checks inside the "want_ecore_fb" block, as tslib is only used if we're building ecore_fb. =================================================================== RCS file: /cvs/e/e17/libs/ecore/configure.in,v retrieving revision 1.160 retrieving revision 1.161 diff -u -3 -r1.160 -r1.161 --- configure.in 16 Nov 2006 16:53:59 -0000 1.160 +++ configure.in 25 Nov 2006 19:24:46 -0000 1.161 @@ -59,15 +59,6 @@ AC_CHECK_FUNCS(gettimeofday) -tslib_libs="" -AC_CHECK_HEADER(tslib.h, - [ - tslib_libs="-ltslib" - AC_DEFINE(HAVE_TSLIB, 1, [Build Ecore_X Module]) - ] -) -AC_SUBST(tslib_libs) - AC_CHECK_HEADERS(netinet/in.h) case "$host_os" in @@ -586,7 +577,15 @@ ] ) +tslib_libs="" if test "x$want_ecore_fb" = "xyes"; then + AC_CHECK_HEADER(tslib.h, + [ + tslib_libs="-ltslib" + AC_DEFINE(HAVE_TSLIB, 1, [Build Ecore_FB Touchscreen Code]) + ] + ) + AC_CHECK_HEADER(linux/fb.h, [ AC_CHECK_HEADER(linux/input.h, @@ -607,6 +606,7 @@ AM_CONDITIONAL(BUILD_ECORE_FB, false) fi +AC_SUBST(tslib_libs) AC_SUBST(ecore_fb_cflags) AC_SUBST(ecore_fb_libs) ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs