1NSPR-CONFIG(1) Netscape Portable Runtime NSPR-CONFIG(1)
2
3
4
6 nspr-config - Return meta information about nspr libraries
7
9 nspr-config [--prefix] [--exec-prefix] [--includedir] [--libs]
10 [--cflags] [--libdir] [--version]
11
13 nspr-config is a shell script which can be used to obtain gcc options
14 for building client pacakges of nspr.
15
17 --prefix
18 Returns the top level system directory under which the nspr
19 libraries are installed.
20
21 --exec-prefix
22 Returns the top level system directory under which any nspr
23 binaries would be installed.
24
25 --includedir count
26 Returns the path to the directory were the nspr headers are
27 installed.
28
29 --version
30 Returns the upstream version of nspr in the form
31 major_version-minor_version-patch_version.
32
33 --libs
34 Returns the compiler linking flags.
35
36 --cflags
37 Returns the compiler include flags.
38
39 --libdir
40 Returns the path to the directory were the nspr libraries are
41 installed.
42
44 The following example will query for both include path and linkage
45 flags:
46
47 /usr/bin/nspr-config --cflags --libs
48
49
50
52 /usr/bin/nspr-config
53
55 pkg-config(1)
56
58 The NSPR liraries were written and maintained by developers with
59 Netscape, Red Hat, Sun, Oracle, Mozilla, and Google.
60
61 Authors: Elio Maldonado <emaldona@redhat.com>.
62
64 Licensed under the Mozilla Public License, v. 2.0. If a copy of the MPL
65 was not distributed with this file, You can obtain one at
66 http://mozilla.org/MPL/2.0/.
67
68
69
70nspr 4.32.0 2 December 2021 NSPR-CONFIG(1)