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