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