JS-CONFIG(1)

NAME
js-config - Mozilla JavaScript C API Configuration Query Utility

SYNOPSIS
js-config [--help] [--version] [--prefix] [--exec-prefix] [--bindir] [--libdir] [--includedir] [--mandir] [--datadir] [--acdir] [--cppflags] [--cflags] [--ldflags] [--libs]

DESCRIPTION
The Mozilla JavaScript C API Configuration Query Utility js-config is a command line utility for querying various build-time parameters when linking the Mozilla JavaScript language engine ("SpiderMonkey"), as provided by the OSSP js distribution, into own applications.

For platforms where pkg-config(1) is available one can use this as an alternative, too. The advantage of js-config(1) is that it is a stand-alone shell script without any dependencies and already ships with the OSSP js distribution.

EXAMPLES
    cc `js-config --cppflags` -o foo foo.c `js-config --ldflags --libs`

SEE ALSO
js(1), js(3)

    http://www.mozilla.org/js/spidermonkey/
    http://www.ossp.org/pkg/lib/js/

AUTHOR
The author of the Mozilla JavaScript language implementation ("SpiderMonkey") is Brendan Eich from the Mozilla Foundation. This manual page was written by Ralf S. Engelschall for the OSSP js distribution of Mozilla JavaScript.