dnl Ckeck for hildon-libs
PKG_CHECK_MODULES(HILDON, hildon-libs, HAVE_HILDON=yes, HAVE_HILDON=no)
+if test "x$HAVE_HILDON" = "xno"; then
+ PKG_CHECK_MODULES(HILDON, hildon-1, HAVE_HILDON=yes, HAVE_HILDON=no)
+fi
+
if test "x$HAVE_HILDON" = "xyes"; then
AC_DEFINE(WITH_HILDON, 1, [build with Maemo/Hildon user interface])
else
AC_MSG_RESULT(no)
fi
- PKG_CHECK_MODULES(HILDON, hildon-libs >= 0.9.50 hildon-fm)
- AC_SUBST(HILDON_LIBS)
- AC_SUBST(HILDON_CFLAGS)
+ PKG_CHECK_MODULES(HILDONFM, hildon-fm, HAVE_HILDONFM=yes, HAVE_HILDONFM=no)
+ if test "x$HAVE_OSSO" = "xyes"; then
+ AC_DEFINE(WITH_HILDONFM, 1, [build with Hildon filemanager])
+ AC_SUBST(HILDONFM_LIBS)
+ AC_SUBST(HILDONFM_CFLAGS)
+ else
+ AC_MSG_RESULT(no)
+ fi
fi
AM_CONDITIONAL(WITH_HILDON, test "x$HAVE_HILDON" = "xyes")