aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/gettext.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter05/gettext.xml')
-rw-r--r--chapter05/gettext.xml15
1 files changed, 14 insertions, 1 deletions
diff --git a/chapter05/gettext.xml b/chapter05/gettext.xml
index cebff68f1..836b3c3ef 100644
--- a/chapter05/gettext.xml
+++ b/chapter05/gettext.xml
@@ -24,7 +24,20 @@
<para>Prepare Gettext for compilation:</para>
-<screen><userinput>./configure --prefix=/tools</userinput></screen>
+<screen><userinput>./configure --prefix=/tools --disable-libasprintf \
+ --disable-csharp</userinput></screen>
+
+<itemizedlist>
+<listitem><para><userinput>--disable-libasprintf</userinput>: This flag tells
+Gettext that we don't want its asprintf library. Nothing in Chapter 5 or 6
+requires this, and gettext gets rebuilt later, so we exclude it to save
+time/space.</para></listitem>
+
+<listitem><para><userinput>--disable-csharp</userinput>: Gettext has a nasty
+habit of searching for a C# compiler on the host, and building bindings for it.
+We've already <quote>locked</quote> ourselves into the temporary tools though,
+which doesn't have a C# compiler.</para></listitem>
+</itemizedlist>
<para>Compile the programs:</para>