This only works on distros that provide pkgconfig files for libnss and
libnspr, which by now I would hope is all distros.
Name: camel
Description: the Evolution MIME message handling library
Version: @VERSION@
-Requires: glib-2.0, libedataserver-@API_VERSION@, sqlite3
+Requires: glib-2.0, libedataserver-@API_VERSION@, sqlite3, @mozilla_nss@, @mozilla_nspr@
Libs: -L${libdir} -lcamel-@API_VERSION@
Cflags: -I${privincludedir}
AM_CONDITIONAL(ENABLE_SMIME, test "x$msg_smime" != "xno")
+dnl For pkgconfig files.
+AC_SUBST(mozilla_nss)
+AC_SUBST(mozilla_nspr)
+
AC_SUBST(MANUAL_NSPR_CFLAGS)
AC_SUBST(MANUAL_NSPR_LIBS)
AC_SUBST(MANUAL_NSS_CFLAGS)
Name: evolution-data-server
Description: The evolution data server for the calendar and addressbook
Version: @VERSION@
-Requires: dbus-glib-1
+Requires: dbus-glib-1, @mozilla_nss@, @mozilla_nspr@