diff options
-rw-r--r-- | configure.ac | 30 | ||||
-rw-r--r-- | libempathy-gtk/Makefile.am | 4 |
2 files changed, 26 insertions, 8 deletions
diff --git a/configure.ac b/configure.ac index f0fcf8201..a42b76b47 100644 --- a/configure.ac +++ b/configure.ac @@ -35,6 +35,7 @@ MISSION_CONTROL_REQUIRED=4.61 ENCHANT_REQUIRED=1.2.0 ISO_CODES_REQUIRED=0.35 LIBNOTIFY_REQUIRED=0.4.4 +LIBCANBERRA_GTK_REQUIRED=0.4 # Uncomment that to build with deprecated symbols disabled #AC_DEFINE(G_DISABLE_DEPRECATED, [], [Disable deprecated GLib symbols]) @@ -89,30 +90,47 @@ PKG_CHECK_MODULES(LIBEMPATHY, [ glib-2.0 >= $GLIB_REQUIRED gobject-2.0 + gio-2.0 >= $GLIB_REQUIRED + gio-unix-2.0 >= $GLIB_REQUIRED libxml-2.0 telepathy-glib >= $TELEPATHY_GLIB_REQUIRED libmissioncontrol >= $MISSION_CONTROL_REQUIRED - gio-2.0 >= $GLIB_REQUIRED - gio-unix-2.0 >= $GLIB_REQUIRED telepathy-farsight ]) -PKG_CHECK_MODULES(EMPATHY, +PKG_CHECK_MODULES(LIBEMPATHYGTK, [ glib-2.0 >= $GLIB_REQUIRED gobject-2.0 gio-2.0 >= $GLIB_REQUIRED gconf-2.0 >= $GCONF_REQUIRED + x11 + gtk+-2.0 >= $GTK_REQUIRED + libcanberra-gtk >= $LIBCANBERRA_GTK_REQUIRED + libglade-2.0 >= $LIBGLADE_REQUIRED telepathy-glib >= $TELEPATHY_GLIB_REQUIRED libmissioncontrol >= $MISSION_CONTROL_REQUIRED - gtk+-2.0 >= $GTK_REQUIRED + telepathy-farsight + gstreamer-0.10 + gstreamer-interfaces-0.10 +]) + +PKG_CHECK_MODULES(EMPATHY, +[ + glib-2.0 >= $GLIB_REQUIRED + gobject-2.0 + gio-2.0 >= $GLIB_REQUIRED + gconf-2.0 >= $GCONF_REQUIRED x11 + gtk+-2.0 >= $GTK_REQUIRED + libcanberra-gtk >= $LIBCANBERRA_GTK_REQUIRED libglade-2.0 >= $LIBGLADE_REQUIRED libebook-1.2 - libcanberra-gtk >= 0.4 + telepathy-glib >= $TELEPATHY_GLIB_REQUIRED + libmissioncontrol >= $MISSION_CONTROL_REQUIRED + telepathy-farsight gstreamer-0.10 gstreamer-interfaces-0.10 - telepathy-farsight ]) PKG_CHECK_MODULES(LIBNOTIFY, libnotify >= $LIBNOTIFY_REQUIRED) diff --git a/libempathy-gtk/Makefile.am b/libempathy-gtk/Makefile.am index 46d03167e..c7b023100 100644 --- a/libempathy-gtk/Makefile.am +++ b/libempathy-gtk/Makefile.am @@ -3,7 +3,7 @@ AM_CPPFLAGS = \ -I$(top_srcdir) \ -DDATADIR=\""$(datadir)"\" \ -DPKGDATADIR=\""$(pkgdatadir)"\" \ - $(EMPATHY_CFLAGS) \ + $(LIBEMPATHYGTK_CFLAGS) \ $(ENCHANT_CFLAGS) \ $(WARN_CFLAGS) @@ -60,7 +60,7 @@ nodist_libempathy_gtk_la_SOURCES =\ $(BUILT_SOURCES) libempathy_gtk_la_LIBADD = \ - $(EMPATHY_LIBS) \ + $(LIBEMPATHYGTK_LIBS) \ $(ENCHANT_LIBS) \ $(top_builddir)/libempathy/libempathy.la |