fi
fi
- 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])
+ PKG_CHECK_MODULES(HILDONFM1, hildon-fm, HAVE_HILDONFM1=yes, HAVE_HILDONFM1=no)
+ if test "x$HAVE_HILDONFM1" = "xyes"; then
+ AC_DEFINE(WITH_HILDONFM, 1, [build with Hildon Filemanager 1])
+ AC_SUBST(HILDONFM_LIBS)
+ AC_SUBST(HILDONFM_CFLAGS)
+ else
+ AC_MSG_RESULT(no)
+ fi
+
+ PKG_CHECK_MODULES(HILDONFM2, hildon-fm-2, HAVE_HILDONFM2=yes, HAVE_HILDONFM2=no)
+ if test "x$HAVE_HILDONFM1" = "xyes"; then
+ AC_DEFINE(WITH_HILDONFM, 1, [build with Hildon Filemanager 2])
AC_SUBST(HILDONFM_LIBS)
AC_SUBST(HILDONFM_CFLAGS)
else
AC_MSG_RESULT(no)
fi
+
fi
AM_CONDITIONAL(WITH_HILDON, test "x$HAVE_HILDON" = "xyes")
)
AC_SUBST(EXPAT_LIBS)
-AC_CHECK_HEADER(espeak/speak_lib.h)
+AC_CHECK_HEADER(espeak/speak_lib.h, HAVE_ESPEAK=yes, HAVE_ESPEAK=no)
+if test "x$HAVE_GST" = "xyes"; then
ESPEAK_LIBS="-lespeak"
ESPEAK_CFLAGS="-I/usr/include/espeak"
AC_CHECK_LIB([espeak], [espeak_Initialize],
AC_SUBST(ESPEAK_CFLAGS)
AC_SUBST(ESPEAK_LIBS)
)
+fi
# Localisation
if test "x$HAVE_HILDON" = "xyes"; then