There might be an issue with the different flavors of the js library. On OS X it looks like SpiderMonkey's headers got installed into /opt/local/include/js/*.h whereas on ubuntu, the package was installed under /usr/include/mozjs/*.h
Given that the include is #include <jsapi.h> we'd have to assume that when testing for the different versions in the ./configure script things lived under $prefix/include/js or $prefix/include/mozjs Not sure if that's the best thing to do or not. On Wed, Oct 1, 2008 at 11:41 AM, Jan Lehnardt (JIRA) <[EMAIL PROTECTED]> wrote: > Merge ./configure options --with-js-include and --with-js-lib into --with-js > ---------------------------------------------------------------------------- > > Key: COUCHDB-132 > URL: https://issues.apache.org/jira/browse/COUCHDB-132 > Project: CouchDB > Issue Type: Improvement > Components: Build System > Affects Versions: 0.9 > Reporter: Jan Lehnardt > Priority: Minor > > > Spidermonkey, like most packages, uses a single $prefix directory under which > headers and libraries are placed under include/ and lib/ subdirectories. So > specifying both seems redundant. > > -- > This message is automatically generated by JIRA. > - > You can reply to this email to add a comment to the issue online. > >
