dnl Process this file with autoconf to produce a configure script. AC_INIT(maevies,0.1) AM_CONFIG_HEADER(config.h) AM_INIT_AUTOMAKE([1.7.9]) AC_PROG_CC AC_STDC_HEADERS AC_PROG_INSTALL dnl AC_PREFIX_DEFAULT(/var/lib/install/usr) AC_PREFIX_DEFAULT(/usr) CFLAGS="$CFLAGS -Wall -ansi -pedantic -Wmissing-prototypes -Wmissing-declarations" PKG_CHECK_MODULES(DEPS, gtk+-2.0 >= 2.2 glib-2.0 >= 2.2 gnome-vfs-2.0 >= 2.2 rest-0.6 >= 0.6) AC_SUBST(DEPS_CFLAGS) AC_SUBST(DEPS_LIBS) PKG_CHECK_MODULES(HILDON, hildon-1 >= 0.8.4 hildon-fm-2 >= 0.8.4) AC_SUBST(HILDON_LIBS) AC_SUBST(HILDON_CFLAGS) PKG_CHECK_MODULES(OSSO, libosso >= 0.8.4) AC_SUBST(OSSO_LIBS) AC_SUBST(OSSO_CFLAGS) PKG_CHECK_MODULES(OSSOSETTINGS, osso-af-settings >= 0.8.4) localedir=`$PKG_CONFIG osso-af-settings --variable=localedir` hildondesktopentrydir=/usr/share/dbus-1/services hildoncpdesktopentrydir=/usr/ hildonstatusbarplugindir=`$PKG_CONFIG hildon-status-bar-lib --variable=pluginlibdir` hildoncplibdir=`$PKG_CONFIG hildon-control-panel --variable=pluginlibdir` hildoniconthemedir=$HOME/.icons/hicolor AC_SUBST(localedir) AC_DEFINE_UNQUOTED(localedir,"$localedir",[localedir]) AC_SUBST(desktopentrydir) AC_SUBST(hildondesktopentrydir) AC_SUBST(hildoncpdesktopentrydir) AC_SUBST(hildonstatusbarplugindir) AC_SUBST(hildoncplibdir) AC_SUBST(hildoniconthemedir) IT_PROG_INTLTOOL([0.35.0]) GETTEXT_PACKAGE="$PACKAGE_NAME" AC_SUBST(GETTEXT_PACKAGE) AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE], ["$GETTEXT_PACKAGE"], [The domain to use with gettext]) AM_GLIB_GNU_GETTEXT USE_NLS=yes AC_SUBST(USE_NLS) AC_CONFIG_FILES([ Makefile src/Makefile data/Makefile po/Makefile.in data/com.nokia.maevies.service data/maevies.desktop ]) AC_OUTPUT