diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 77b0fcb..4de1e9f 100644 --- a/configure.ac +++ b/configure.ac @@ -1,7 +1,11 @@ dnl configure.ac for template xml docbook AC_INIT(telepathy-doc, 0.5.0.1) +m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])]) AM_INIT_AUTOMAKE([-Wno-portability]) +AC_PROG_CC +AC_PROG_LIBTOOL + dnl Add parameters for aclocal AC_SUBST(ACLOCAL_AMFLAGS, "-I m4") @@ -11,16 +15,25 @@ GNOME_DOC_INIT([0.9.0]) PKG_CHECK_MODULES(GNOME_DOC_UTILS, gnome-doc-utils) PKG_CHECK_MODULES(TELEPATHY_GLIB, [ - telepathy-glib >= 0.7.3 + telepathy-glib >= 0.11.6 + mission-control-plugins >= 5.5 gtk+-2.0 >= 2.12.0 gio-unix-2.0 >= 2.21.4 ]) AC_SUBST(TELEPATHY_GLIB_CFLAGS) AC_SUBST(TELEPATHY_GLIB_LIBS) -AC_PROG_CC() AM_PATH_PYTHON() +AC_MSG_CHECKING([Mission Control plugins dir]) +MISSION_CONTROL_PLUGINS_DIR=`pkg-config --variable=plugindir mission-control-plugins` +if test "x$MISSION_CONTROL_PLUGINS_DIR" = "x"; then + AC_MSG_ERROR([could not determine plugindir]) +else + AC_MSG_RESULT([$MISSION_CONTROL_PLUGINS_DIR]) +fi +AC_SUBST(MISSION_CONTROL_PLUGINS_DIR) + AC_OUTPUT([ Makefile m4/Makefile @@ -44,6 +57,7 @@ AC_OUTPUT([ docs/examples/glib_mc5_presence_app/Makefile docs/examples/glib_mc5_request_call/Makefile docs/examples/gtk_presence_app/Makefile + docs/examples/mission_control_plugin/Makefile docs/examples/pygtk_chat_client/Makefile docs/examples/python_get_parameters/Makefile docs/examples/python_iface_messaging/Makefile |