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