AC_SUBST(SDL_LIBS)
have_sdl="no"
else
- PKG_CHECK_MODULES([SDL], [sdl >= 1.2.0], [have_sdl="yes"])
+ PKG_CHECK_MODULES([SDL], [sdl >= 1.2.0], [have_sdl="yes"], [have_sdl="no"])
fi
if test "x${have_sdl}" = "xyes" ; then
[
AC_DEFINE(HAVE_TSLIB, 1, [Build Ecore_FB Touchscreen Code])
_ecore_have_ts="yes"
- ],
- [
+ ],[
PKG_CHECK_MODULES(TSLIB, tslib,
[
AC_DEFINE(HAVE_TSLIB, 1, [Build Ecore_FB Touchscreen Code])
_ecore_have_ts="yes"
- ],
- [
+ ],[
AC_CHECK_HEADER([tslib.h],
[
AC_CHECK_LIB([ts], [ts_open],
TSLIB_CFLAGS=""
AC_DEFINE(HAVE_TSLIB, 1, [Build Ecore_FB Touchscreen Code])
_ecore_have_ts="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_ts="no"
])
])