ECORE_CHECK_MODULE([FB], [${want_ecore_fb}], [$have_fb])
if test "x${have_ecore_fb}" = "xyes" ; then
- ECORE_CHECK_TSLIB([${want_tslib}], [have_tslib="no"], [have_tslib="no"])
+ ECORE_CHECK_TSLIB([${want_tslib}], [have_tslib="yes"], [have_tslib="no"])
fi
# ecore_directfb
PKG_CHECK_MODULES(TSLIB, tslib-1.0,
[
AC_DEFINE(HAVE_TSLIB, 1, [Build Ecore_FB Touchscreen Code])
- _ecore_have_ts="yes"
+ _ecore_have_tslib="yes"
],[
PKG_CHECK_MODULES(TSLIB, tslib,
[
AC_DEFINE(HAVE_TSLIB, 1, [Build Ecore_FB Touchscreen Code])
- _ecore_have_ts="yes"
+ _ecore_have_tslib="yes"
],[
AC_CHECK_HEADER([tslib.h],
[
TSLIB_LIBS="-lts"
TSLIB_CFLAGS=""
AC_DEFINE(HAVE_TSLIB, 1, [Build Ecore_FB Touchscreen Code])
- _ecore_have_ts="yes"
+ _ecore_have_tslib="yes"
],[
AC_CHECK_LIB([tslib], [ts_open],
[
TSLIB_LIBS="-ltslib"
TSLIB_CFLAGS=""
AC_DEFINE(HAVE_TSLIB, 1, [Build Ecore_FB Touchscreen Code])
- _ecore_have_ts="yes"
+ _ecore_have_tslib="yes"
],[
- _ecore_have_ts="no"
+ _ecore_have_tslib="no"
])
])
])