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