changeset 1718:e2c6f1357f82

mcabber.pc fixes
author Myhailo Danylenko <isbear@ukrpost.net>
date Mon, 15 Feb 2010 17:00:28 +0200
parents c12455fec611
children f3c5e1175b22
files mcabber/configure.ac mcabber/mcabber.pc.in
diffstat 2 files changed, 2 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- 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@