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