1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Building using GtkSpell</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
<link rel="start" href="index.html" title="GtkSpell Manual">
<link rel="up" href="chapter-tutorial.html" title="GtkSpell Tutorial">
<link rel="prev" href="chapter-tutorial.html" title="GtkSpell Tutorial">
<link rel="next" href="reference.html" title="Part II. Function Reference">
<meta name="generator" content="GTK-Doc V1.11 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
<link rel="part" href="tutorial.html" title="Part I. Tutorial">
<link rel="chapter" href="chapter-tutorial.html" title="GtkSpell Tutorial">
<link rel="part" href="reference.html" title="Part II. Function Reference">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle">
<td><a accesskey="p" href="chapter-tutorial.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="chapter-tutorial.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">GtkSpell Manual</th>
<td><a accesskey="n" href="reference.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr></table>
<div class="sect1" lang="en">
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
<a name="tutorial-building"></a>Building using GtkSpell</h2></div></div></div>
<div class="sect2" lang="en">
<div class="titlepage"><div><div><h3 class="title">
<a name="tutorial-building-basic"></a>Simple Programs</h3></div></div></div>
<p>The program must be compiled with the GtkSpell C flags and built with the
GtkSpell libs. Depending on how your program is compiled, you must include the
module <code class="literal">gtkspell-2.0</code> along with <code class="literal">gtk+-2.0</code>
in your calls to <span class="command"><strong>pkg-config</strong></span>.</p>
</div>
<div class="sect2" lang="en">
<div class="titlepage"><div><div><h3 class="title">
<a name="tutorial-building-autoconf"></a>Building Using Autoconf</h3></div></div></div>
<p>In <code class="filename">configure.ac</code>, modify the call to
<code class="function">PKG_CHECK_MODULES</code> to include
<code class="literal">gtkspell-2.0</code>, like this:</p>
<pre class="programlisting">
PKG_CHECK_MODULES(MYPROGRAM, gtk+-2.0 gtkspell-2.0)
</pre>
<p>FIXME: finish this.</p>
</div>
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.11</div>
</body>
</html>
|