mcabber.pc fixes
authorMyhailo Danylenko <isbear@ukrpost.net>
Mon, 15 Feb 2010 17:00:28 +0200
changeset 1718 e2c6f1357f82
parent 1717 c12455fec611
child 1719 f3c5e1175b22
mcabber.pc fixes
mcabber/configure.ac
mcabber/mcabber.pc.in
--- a/mcabber/configure.ac	Wed Feb 17 19:08:55 2010 +0100
+++ b/mcabber/configure.ac	Mon Feb 15 17:00:28 2010 +0200
@@ -262,15 +262,6 @@
 # We need _GNU_SOURCE for strptime() and strcasestr()
 CFLAGS="$CFLAGS -D_GNU_SOURCE"
 
-EXTRA_REQUIRES=""
-if test "$enable_enchant" = "yes"; then
-    EXTRA_REQUIRES="$EXTRA_REQUIRES enchant"
-fi
-if test "$enable_gpgme" != "no"; then
-    EXTRA_REQUIRES="$EXTRA_REQUIRES gpgme"
-fi
-AC_SUBST([EXTRA_REQUIRES])
-
 AC_CONFIG_FILES([mcabber/Makefile
                  modules/Makefile
                  modules/beep/Makefile
--- a/mcabber/mcabber.pc.in	Wed Feb 17 19:08:55 2010 +0100
+++ b/mcabber/mcabber.pc.in	Mon Feb 15 17:00:28 2010 +0200
@@ -5,7 +5,7 @@
 
 Name: MCabber
 Description: Modular XMPP client
-Requires: glib-2.0 gmodule-2.0 @EXTRA_REQUIRES@
+Requires: glib-2.0 gmodule-2.0 loudmouth-1.0
 Version: @VERSION@
 Libs: 
-Cflags: -I${includedir} @LIBOTR_CFLAGS@
+Cflags: -I${includedir} @LIBOTR_CFLAGS@ @GPGME_CFLAGS@