summaryrefslogtreecommitdiffstats
path: root/abs/extra/nss/nss-config.xml
blob: f9518c9e715228ac3202fea39c468eb4317a26b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
<?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
  "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [
<!ENTITY date SYSTEM "date.xml">
<!ENTITY version SYSTEM "version.xml">
]>

<refentry id="nss-config">

  <refentryinfo>
    <date>&date;</date>
    <title>Network Security Services</title>
    <productname>nss</productname>
    <productnumber>&version;</productnumber>
  </refentryinfo>

  <refmeta>
    <refentrytitle>nss-config</refentrytitle>
    <manvolnum>1</manvolnum>
  </refmeta>

  <refnamediv>
    <refname>nss-config</refname>
    <refpurpose>Return meta information about nss libraries</refpurpose>
  </refnamediv>

  <refsynopsisdiv>
    <cmdsynopsis>
      <command>nss-config</command>
      <arg><option>--prefix</option></arg>
      <arg><option>--exec-prefix</option></arg>
      <arg><option>--includedir</option></arg>
      <arg><option>--libs</option></arg>
      <arg><option>--cflags</option></arg>
      <arg><option>--libdir</option></arg>
      <arg><option>--version</option></arg>
    </cmdsynopsis>
  </refsynopsisdiv>

<refsection id="description">
    <title>Description</title>

    <para><command>nss-config</command> is a shell scrip
    tool which can be used to obtain gcc options for building client pacakges of nspt. </para>

  </refsection>
  
  <refsection>
    <title>Options</title>
    
    <variablelist>
      <varlistentry>
        <term><option>--prefix</option></term>
        <listitem><simpara>Returns the top level system directory under which the nss libraries are installed.</simpara></listitem>
      </varlistentry>

      <varlistentry>
        <term><option>--exec-prefix</option></term>
        <listitem><simpara>returns the top level system directory under which any nss binaries would be installed.</simpara></listitem>
      </varlistentry>

      <varlistentry>
        <term><option>--includedir</option> <replaceable>count</replaceable></term>
        <listitem><simpara>returns the path to the directory were the nss libraries are installed.</simpara></listitem>
      </varlistentry>

      <varlistentry>
        <term><option>--version</option></term>
        <listitem><simpara>returns the upstream version of nss in the form major_version-minor_version-patch_version.</simpara></listitem>
      </varlistentry>

      <varlistentry>
        <term><option>--libs</option></term>
        <listitem><simpara>returns the compiler linking flags.</simpara></listitem>
      </varlistentry>

      <varlistentry>
        <term><option>--cflags</option></term>
        <listitem><simpara>returns the compiler include flags.</simpara></listitem>
      </varlistentry>

      <varlistentry>
        <term><option>--libdir</option></term>
        <listitem><simpara>returns the path to the directory were the nss libraries are installed.</simpara></listitem>
      </varlistentry>

    </variablelist>
  </refsection>

  <refsection>
    <title>Examples</title>

    <para>The following example will query for both include path and linkage flags:
    
      <programlisting>
        /usr/bin/nss-config --cflags --libs
      </programlisting>

    </para>

   
  </refsection>

  <refsection>
    <title>Files</title>

    <para><filename>/usr/bin/nss-config</filename></para>

  </refsection>

  <refsection>
    <title>See also</title>
    <para>pkg-config(1)</para>
  </refsection>

  <refsection id="authors">
    <title>Authors</title>
    <para>The nss liraries were written and maintained by developers with Netscape, Red Hat,  Sun, Oracle, Mozilla, and Google.</para>
    <para>
	Authors: Elio Maldonado &lt;emaldona@redhat.com>.
    </para>
  </refsection>

<!-- don't change -->
  <refsection id="license">
    <title>LICENSE</title>
    <para>Licensed under the Mozilla Public License, v. 2.0.  If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
    </para>
  </refsection>

</refentry>