Bug 622392 - Build failure due to missing nspr includes
authorMatthew Barnes <mbarnes@redhat.com>
Sun, 27 Jun 2010 11:45:18 +0000 (07:45 -0400)
committerMatthew Barnes <mbarnes@redhat.com>
Sun, 27 Jun 2010 11:45:18 +0000 (07:45 -0400)
commit1c79f8a68d546f7d83f6e4e60576d602b7d91135
treef8c245bc1927409819522a79c37f6cf37d34d6fe
parentc7038b8256c1b5cb560800a0312be9e94aa59fcc
Bug 622392 - Build failure due to missing nspr includes

camel.pc.in already defines @mozilla_nss@ and @mozilla_nspr@ in its
Requires list, but that only works for distros that ship their own nss
and nspr pkg-config files.

Debian, for example, doesn't (but it should).  So @mozilla_nss@ and
@mozilla_nspr@ are never defined.  Instead, the configure script falls
back to the older "manual" settings and defines MANUAL_NSS_CFLAGS and
MANUAL_NSS_LIBS.  So list those as well in camel.pc.in.  They will be
mutually exclusive with the pkg-config variables.

And please, for the love of free software, somebody push pkg-config
files to upstream nss/nspr so we can drop this gunk from configure.
It's 2010 already for cryin' out loud...
camel/camel.pc.in