--- 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@