nss-config.xml 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  1. <?xml version='1.0' encoding='utf-8'?>
  2. <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
  3. "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [
  4. <!ENTITY date SYSTEM "date.xml">
  5. <!ENTITY version SYSTEM "version.xml">
  6. ]>
  7. <refentry id="nss-config">
  8. <refentryinfo>
  9. <date>&date;</date>
  10. <title>Network Security Services</title>
  11. <productname>nss</productname>
  12. <productnumber>&version;</productnumber>
  13. </refentryinfo>
  14. <refmeta>
  15. <refentrytitle>nss-config</refentrytitle>
  16. <manvolnum>1</manvolnum>
  17. </refmeta>
  18. <refnamediv>
  19. <refname>nss-config</refname>
  20. <refpurpose>Return meta information about nss libraries</refpurpose>
  21. </refnamediv>
  22. <refsynopsisdiv>
  23. <cmdsynopsis>
  24. <command>nss-config</command>
  25. <arg><option>--prefix</option></arg>
  26. <arg><option>--exec-prefix</option></arg>
  27. <arg><option>--includedir</option></arg>
  28. <arg><option>--libs</option></arg>
  29. <arg><option>--cflags</option></arg>
  30. <arg><option>--libdir</option></arg>
  31. <arg><option>--version</option></arg>
  32. </cmdsynopsis>
  33. </refsynopsisdiv>
  34. <refsection id="description">
  35. <title>Description</title>
  36. <para><command>nss-config</command> is a shell scrip
  37. tool which can be used to obtain gcc options for building client pacakges of nspt. </para>
  38. </refsection>
  39. <refsection>
  40. <title>Options</title>
  41. <variablelist>
  42. <varlistentry>
  43. <term><option>--prefix</option></term>
  44. <listitem><simpara>Returns the top level system directory under which the nss libraries are installed.</simpara></listitem>
  45. </varlistentry>
  46. <varlistentry>
  47. <term><option>--exec-prefix</option></term>
  48. <listitem><simpara>returns the top level system directory under which any nss binaries would be installed.</simpara></listitem>
  49. </varlistentry>
  50. <varlistentry>
  51. <term><option>--includedir</option> <replaceable>count</replaceable></term>
  52. <listitem><simpara>returns the path to the directory were the nss libraries are installed.</simpara></listitem>
  53. </varlistentry>
  54. <varlistentry>
  55. <term><option>--version</option></term>
  56. <listitem><simpara>returns the upstream version of nss in the form major_version-minor_version-patch_version.</simpara></listitem>
  57. </varlistentry>
  58. <varlistentry>
  59. <term><option>--libs</option></term>
  60. <listitem><simpara>returns the compiler linking flags.</simpara></listitem>
  61. </varlistentry>
  62. <varlistentry>
  63. <term><option>--cflags</option></term>
  64. <listitem><simpara>returns the compiler include flags.</simpara></listitem>
  65. </varlistentry>
  66. <varlistentry>
  67. <term><option>--libdir</option></term>
  68. <listitem><simpara>returns the path to the directory were the nss libraries are installed.</simpara></listitem>
  69. </varlistentry>
  70. </variablelist>
  71. </refsection>
  72. <refsection>
  73. <title>Examples</title>
  74. <para>The following example will query for both include path and linkage flags:
  75. <programlisting>
  76. /usr/bin/nss-config --cflags --libs
  77. </programlisting>
  78. </para>
  79. </refsection>
  80. <refsection>
  81. <title>Files</title>
  82. <para><filename>/usr/bin/nss-config</filename></para>
  83. </refsection>
  84. <refsection>
  85. <title>See also</title>
  86. <para>pkg-config(1)</para>
  87. </refsection>
  88. <refsection id="authors">
  89. <title>Authors</title>
  90. <para>The nss liraries were written and maintained by developers with Netscape, Red Hat, Sun, Oracle, Mozilla, and Google.</para>
  91. <para>
  92. Authors: Elio Maldonado &lt;emaldona@redhat.com>.
  93. </para>
  94. </refsection>
  95. <!-- don't change -->
  96. <refsection id="license">
  97. <title>LICENSE</title>
  98. <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/.
  99. </para>
  100. </refsection>
  101. </refentry>