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