On Sat, Apr 23, 2011 at 11:58:26AM +0300, Kalle Olavi Niemitalo wrote: > + # In pkg-config 0.25, pkg-config --exists mozjs185 returns 0 (success) > + # even if mozjs185 depends on nspr, which has not been installed. > + # However, pkg-config --cflags mozjs185 returns 1 then. > + if pkg-config --cflags --libs mozjs185 > /dev/null > 2>&AS_MESSAGE_LOG_FD; then > + SPIDERMONKEY_LIBS="$(pkg-config --libs mozjs185)" > + SPIDERMONKEY_CFLAGS="$(pkg-config --cflags mozjs185)" ---end quoted text---
Could this be changed to a for loop that checks for either mozjs185 or mozilla-js ? In Debian, mozjs is installed as part of iceweasel, ie. firefox, and that installs a mozilla-js.pc instead of mozjs185.pc -- أحمد المحمودي (Ahmed El-Mahmoudy) Digital design engineer GPG KeyID: 0xEDDDA1B7 GPG Fingerprint: 8206 A196 2084 7E6D 0DF8 B176 BC19 6A94 EDDD A1B7
signature.asc
Description: Digital signature
_______________________________________________ elinks-dev mailing list [email protected] http://linuxfromscratch.org/mailman/listinfo/elinks-dev
