simpler ui
[maemo-recorder] / configure.ac
index 169262f..1402df6 100644 (file)
@@ -1,5 +1,5 @@
 AC_INIT(Makefile.am)
 AC_INIT(Makefile.am)
-AM_INIT_AUTOMAKE(maemo_recorder, 0.0.15)
+AM_INIT_AUTOMAKE(maemo-recorder, 0.2.0)
 
 AC_PROG_CPP
 AC_PROG_INSTALL
 
 AC_PROG_CPP
 AC_PROG_INSTALL
@@ -42,11 +42,15 @@ PKG_CHECK_MODULES(OSSO, libosso >= 0.8.4)
 AC_SUBST(OSSO_LIBS)
 AC_SUBST(OSSO_CFLAGS)
 
 AC_SUBST(OSSO_LIBS)
 AC_SUBST(OSSO_CFLAGS)
 
-PKG_CHECK_MODULES(HILDON_LGPL, hildon-libs)
+PKG_CHECK_MODULES(GCONF, gconf-2.0 >= 2.6)
+AC_SUBST(GCONF_CFLAGS)
+AC_SUBST(GCONF_LIBS)
+
+PKG_CHECK_MODULES(HILDON_LGPL, hildon-1)
 AC_SUBST(HILDON_LGPL_LIBS)
 AC_SUBST(HILDON_LGPL_CFLAGS)
 
 AC_SUBST(HILDON_LGPL_LIBS)
 AC_SUBST(HILDON_LGPL_CFLAGS)
 
-PKG_CHECK_MODULES(HILDON_FM, hildon-fm)
+PKG_CHECK_MODULES(HILDON_FM, hildon-fm-2)
 AC_SUBST(HILDON_FM_LIBS)
 AC_SUBST(HILDON_FM_CFLAGS)
 
 AC_SUBST(HILDON_FM_LIBS)
 AC_SUBST(HILDON_FM_CFLAGS)
 
@@ -58,6 +62,10 @@ PKG_CHECK_MODULES(GNOME_VFS, gnome-vfs-2.0)
 AC_SUBST(GNOME_VFS_LIBS)
 AC_SUBST(GNOME_VFS_CFLAGS)
 
 AC_SUBST(GNOME_VFS_LIBS)
 AC_SUBST(GNOME_VFS_CFLAGS)
 
+PKG_CHECK_MODULES(OSSO_EMAIL, libmodest-dbus-client-1.0)
+AC_SUBST(OSSO_EMAIL_LIBS)
+AC_SUBST(OSSO_EMAIL_CFLAGS)
+
 dnl MIME-type registration
 AC_PATH_PROG(UPDATE_MIME_DATABASE, update-mime-database, no)
 AM_CONDITIONAL(HAVE_26_MIME, test x$UPDATE_MIME_DATABASE != xno)
 dnl MIME-type registration
 AC_PATH_PROG(UPDATE_MIME_DATABASE, update-mime-database, no)
 AM_CONDITIONAL(HAVE_26_MIME, test x$UPDATE_MIME_DATABASE != xno)
@@ -65,14 +73,15 @@ AM_CONDITIONAL(HAVE_26_MIME, test x$UPDATE_MIME_DATABASE != xno)
 AC_PATH_PROG(UPDATE_DESKTOP_DATABASE, update-desktop-database, no)
 AM_CONDITIONAL(HAVE_28_MIME, test x$UPDATE_DESKTOP_DATABASE != xno)
 
 AC_PATH_PROG(UPDATE_DESKTOP_DATABASE, update-desktop-database, no)
 AM_CONDITIONAL(HAVE_28_MIME, test x$UPDATE_DESKTOP_DATABASE != xno)
 
-AC_PATH_PROG(OSSO_UPDATE_MIME, osso-update-category-database, no)
-if test x"$OSSO_UPDATE_MIME" = xno; then
-       AC_MSG_ERROR([osso-update-category-database not found in your paths - should be installed with osso-update-category-database package])
-fi
-AC_SUBST(OSSO_UPDATE_MIME)
+#AC_PATH_PROG(OSSO_UPDATE_MIME, osso-update-category-database, no)
+#if test x"$OSSO_UPDATE_MIME" = xno; then
+#      AC_MSG_ERROR([osso-update-category-database not found in your paths - should be installed with osso-update-category-database package])
+#fi
+#AC_SUBST(OSSO_UPDATE_MIME)
 
 
 AC_OUTPUT([ Makefile \
            src/Makefile \
 
 
 AC_OUTPUT([ Makefile \
            src/Makefile \
-           mime/Makefile ])
+           mime/Makefile \
+           data/Makefile ])