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