Blame SOURCES/nspr-config.xml

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