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