aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/gawk.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter05/gawk.xml')
-rw-r--r--chapter05/gawk.xml13
1 files changed, 8 insertions, 5 deletions
diff --git a/chapter05/gawk.xml b/chapter05/gawk.xml
index c70d6d1cd..cca7101fc 100644
--- a/chapter05/gawk.xml
+++ b/chapter05/gawk.xml
@@ -31,11 +31,14 @@
<screen><userinput>./configure --prefix=/tools</userinput></screen>
-<para>The configure script doesn't detect some functionality correctly. The
-following commands correct this problem:</para>
-
-<screen><userinput>echo "#define HAVE_LANGINFO_CODESET 1" >> config.h
-echo "#define HAVE_LC_MESSAGES 1" >> config.h</userinput></screen>
+<para>Due to a bug in the <command>configure</command> script, Gawk fails
+to detect certain aspects of locale support in Glibc. This
+bug leads to, e.g., Gettext testsuite failures. Work around this issue
+by appending the missing macro definitions to <filename>config.h</filename>:</para>
+<screen><userinput>cat &gt;&gt;config.h &lt;&lt;"EOF"
+<literal>#define HAVE_LANGINFO_CODESET 1
+#define HAVE_LC_MESSAGES 1</literal>
+EOF</userinput></screen>
<para>Compile the package:</para>