cae166
cae166
cae166
  "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [
cae166
cae166
cae166
]>
cae166
cae166
<refentry id="nss-config">
cae166
cae166
  <refentryinfo>
cae166
    <date>&dat;;</date>
cae166
    <title>Network Security Services</title>
cae166
    <productname>nss</productname>
cae166
    <productnumber>&version;</productnumber>
cae166
  </refentryinfo>
cae166
cae166
  <refmeta>
cae166
    <refentrytitle>nss-config</refentrytitle>
cae166
    <manvolnum>1</manvolnum>
cae166
  </refmeta>
cae166
cae166
  <refnamediv>
cae166
    <refname>nss-config</refname>
cae166
    <refpurpose>Return meta information about nss libraries</refpurpose>
cae166
  </refnamediv>
cae166
cae166
  <refsynopsisdiv>
cae166
    <cmdsynopsis>
cae166
      <command>nss-config</command>
cae166
      <arg><option>--prefix</option></arg>
cae166
      <arg><option>--exec-prefix</option></arg>
cae166
      <arg><option>--includedir</option></arg>
cae166
      <arg><option>--libs</option></arg>
cae166
      <arg><option>--cflags</option></arg>
cae166
      <arg><option>--libdir</option></arg>
cae166
      <arg><option>--version</option></arg>
cae166
    </cmdsynopsis>
cae166
  </refsynopsisdiv>
cae166
cae166
<refsection id="description">
cae166
    <title>Description</title>
cae166
cae166
    <para><command>nss-config</command> is a shell scrip
cae166
    tool which can be used to obtain gcc options for building client pacakges of nspt. </para>
cae166
cae166
  </refsection>
cae166
  
cae166
  <refsection>
cae166
    <title>Options</title>
cae166
    
cae166
    <variablelist>
cae166
      <varlistentry>
cae166
        <term><option>--prefix</option></term>
cae166
        <listitem><simpara>Returns the top level system directory under which the nss libraries are installed.</simpara></listitem>
cae166
      </varlistentry>
cae166
cae166
      <varlistentry>
cae166
        <term><option>--exec-prefix</option></term>
cae166
        <listitem><simpara>returns the top level system directory under which any nss binaries would be installed.</simpara></listitem>
cae166
      </varlistentry>
cae166
cae166
      <varlistentry>
cae166
        <term><option>--includedir</option> <replaceable>count</replaceable></term>
cae166
        <listitem><simpara>returns the path to the directory were the nss libraries are installed.</simpara></listitem>
cae166
      </varlistentry>
cae166
cae166
      <varlistentry>
cae166
        <term><option>--version</option></term>
cae166
        <listitem><simpara>returns the upstream version of nss in the form major_version-minor_version-patch_version.</simpara></listitem>
cae166
      </varlistentry>
cae166
cae166
      <varlistentry>
cae166
        <term><option>--libs</option></term>
cae166
        <listitem><simpara>returns the compiler linking flags.</simpara></listitem>
cae166
      </varlistentry>
cae166
cae166
      <varlistentry>
cae166
        <term><option>--cflags</option></term>
cae166
        <listitem><simpara>returns the compiler include flags.</simpara></listitem>
cae166
      </varlistentry>
cae166
cae166
      <varlistentry>
cae166
        <term><option>--libdir</option></term>
cae166
        <listitem><simpara>returns the path to the directory were the nss libraries are installed.</simpara></listitem>
cae166
      </varlistentry>
cae166
cae166
    </variablelist>
cae166
  </refsection>
cae166
cae166
  <refsection>
cae166
    <title>Examples</title>
cae166
cae166
    <para>The following example will query for both include path and linkage flags:
cae166
    
cae166
      <programlisting>
cae166
        /usr/bin/nss-config --cflags --libs
cae166
      </programlisting>
cae166
cae166
    </para>
cae166
cae166
   
cae166
  </refsection>
cae166
cae166
  <refsection>
cae166
    <title>Files</title>
cae166
cae166
    <para><filename>/usr/bin/nss-config</filename></para>
cae166
cae166
  </refsection>
cae166
cae166
  <refsection>
cae166
    <title>See also</title>
cae166
    <para>pkg-config(1)</para>
cae166
  </refsection>
cae166
cae166
  <refsection id="authors">
cae166
    <title>Authors</title>
cae166
    <para>The nss liraries were written and maintained by developers with Netscape, Red Hat,  Sun, Oracle, Mozilla, and Google.</para>
cae166
    <para>
cae166
	Authors: Elio Maldonado <emaldona@redhat.com>.
cae166
    </para>
cae166
  </refsection>
cae166
cae166
cae166
  <refsection id="license">
cae166
    <title>LICENSE</title>
cae166
    <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/.
cae166
    </para>
cae166
  </refsection>
cae166
cae166
</refentry>
cae166