Blame SOURCES/nspr-config.xml

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