1 |
.TH JS-CONFIG 1 "22 July 2006" |
2 |
.SH NAME |
3 |
.BR js-config " - Mozilla JavaScript C API Configuration Query Utility" |
4 |
.SH SYNOPSIS |
5 |
.B js-config |
6 |
.RB [ --help ] |
7 |
.RB [ --version ] |
8 |
.RB [ --prefix ] |
9 |
.RB [ --exec-prefix ] |
10 |
.RB [ --bindir ] |
11 |
.RB [ --libdir ] |
12 |
.RB [ --includedir ] |
13 |
.RB [ --mandir ] |
14 |
.RB [ --datadir ] |
15 |
.RB [ --acdir ] |
16 |
.RB [ --cppflags ] |
17 |
.RB [ --cflags ] |
18 |
.RB [ --ldflags ] |
19 |
.RB [ --libs ] |
20 |
.SH DESCRIPTION |
21 |
The Mozilla JavaScript C API Configuration Query Utility |
22 |
.B js-config |
23 |
is a command line utility |
24 |
for querying various build-time parameters when |
25 |
linking the |
26 |
.B Mozilla JavaScript |
27 |
language engine ("SpiderMonkey"), |
28 |
as provided by the |
29 |
.B OSSP js |
30 |
distribution, into own applications. |
31 |
.PP |
32 |
For platforms where |
33 |
.BR pkg-config ( 1 ) |
34 |
is available one can use this as an alternative, too. |
35 |
The advantage of |
36 |
.BR js-config ( 1 ) |
37 |
is that it is a stand-alone shell script without |
38 |
any dependencies and already ships with the |
39 |
.B OSSP js |
40 |
distribution. |
41 |
.SH EXAMPLES |
42 |
.RS 0 |
43 |
cc `js-config --cppflags` -o foo foo.c `js-config --ldflags --libs` |
44 |
.RE |
45 |
.SH SEE ALSO |
46 |
.BR js ( 1 ), |
47 |
.BR js ( 3 ) |
48 |
.PP |
49 |
.RS 0 |
50 |
http://www.mozilla.org/js/spidermonkey/ |
51 |
.RE |
52 |
.RS 0 |
53 |
http://www.ossp.org/pkg/lib/js/ |
54 |
.RE |
55 |
.SH AUTHOR |
56 |
The author of the |
57 |
.B Mozilla JavaScript |
58 |
language implementation ("SpiderMonkey") is |
59 |
.I Brendan Eich |
60 |
from the |
61 |
.IR "Mozilla Foundation" . |
62 |
This manual page was written by |
63 |
.I Ralf S. Engelschall |
64 |
for the |
65 |
.B OSSP js |
66 |
distribution of |
67 |
.BR "Mozilla JavaScript" . |