Re: [Evolution-hackers] missing dep in configure



On Fri, 2006-10-27 at 13:11 +0200, Sergio Villar Senin wrote:
> Markus Bertheau wrote:
> > I'm getting this upon compilation, so there is probably a check for
> > nspr missing in configure, or it's not working correctly. this is
> > ubuntu 6.06 with all latest updates.
> 
> I'm building tinymail inside a jhbuild environment (it's great in order
> not to taint the system with a lot of development libraries) and the
> files that are missing are provided by the xulrunner library.
> 
> I had the same problem like you. I've attached a patch to use the
> xulrunner libraries, maybe it's not worth for you if you're not inside a
> jhbuild environment but it shows the right places to modify (I modified
> the configure.ac as Phillip said).

Thanks, this has been committed in the svn repo. Please also inform the
Evolution team about the possibility of using xulrunner's nspr and nss.

The evolution-data-server/configure.in of the Evolution project has the
same check. It also checks manually for the .h files. Tinymail's Camel
no longer tries this manual searching (I "hate" libraries that don't
install a .pc file, I refuse to use them in my own softwares, which is
why I kept the pkg-config check as only possibility for nspr and nss).

I added their mailing list in CC.


Index: libtinymail-camel/camel-lite/configure.ac
===================================================================
--- libtinymail-camel/camel-lite/configure.ac   (revision 1074)
+++ libtinymail-camel/camel-lite/configure.ac   (working copy)
@@ -256,7 +256,7 @@
        
        if test "x${check_manually}" = "xno"; then
                AC_MSG_CHECKING(Mozilla NSPR pkg-config module name)
-               mozilla_nspr_pcs="nspr mozilla-nspr firefox-nspr"
+               mozilla_nspr_pcs="nspr mozilla-nspr firefox-nspr xulrunner-nspr"
                for pc in $mozilla_nspr_pcs; do
                        if $PKG_CONFIG --exists $pc; then
                                AC_MSG_RESULT($pc)
@@ -266,7 +266,7 @@
                done
                
                AC_MSG_CHECKING(Mozilla NSS pkg-config module name)
-               mozilla_nss_pcs="nss mozilla-nss firefox-nss"
+               mozilla_nss_pcs="nss mozilla-nss firefox-nss xulrunner-nss"
                for pc in $mozilla_nss_pcs; do
                        if $PKG_CONFIG --exists $pc; then
                                AC_MSG_RESULT($pc)


-- 
Philip Van Hoof, software developer
home: me at pvanhoof dot be
gnome: pvanhoof at gnome dot org
work: vanhoof at x-tend dot be
blog: http://pvanhoof.be/blog




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]