aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05
diff options
context:
space:
mode:
Diffstat (limited to 'chapter05')
-rw-r--r--chapter05/bash.xml13
-rw-r--r--chapter05/gawk.xml15
2 files changed, 25 insertions, 3 deletions
diff --git a/chapter05/bash.xml b/chapter05/bash.xml
index d55f01d0e..b887a26d9 100644
--- a/chapter05/bash.xml
+++ b/chapter05/bash.xml
@@ -50,10 +50,11 @@
<para>Prepare Bash for compilation:</para>
-<screen><userinput remap="configure">./configure --prefix=/tools --without-bash-malloc</userinput></screen>
+<screen><userinput remap="configure">./configure --prefix=/tools --without-bash-malloc \
+ ac_cv_func_working_mktime=yes</userinput></screen>
<variablelist>
- <title>The meaning of the configure option:</title>
+ <title>The meaning of the configure options:</title>
<varlistentry>
<term><parameter>--without-bash-malloc</parameter></term>
@@ -65,6 +66,14 @@
more stable.</para>
</listitem>
</varlistentry>
+ <varlistentry>
+ <term><parameter>ac_cv_func_working_mktime=yes</parameter></term>
+ <listitem>
+ <para>This parameter bypasses the search for mktime in configure
+ and uses the version in glibc. The is necessary due to a change in
+ gcc that has not been incorporated into this package yet.</para>
+ </listitem>
+ </varlistentry>
</variablelist>
diff --git a/chapter05/gawk.xml b/chapter05/gawk.xml
index bdb99149a..4d55c9877 100644
--- a/chapter05/gawk.xml
+++ b/chapter05/gawk.xml
@@ -45,8 +45,21 @@
<para>Prepare Gawk for compilation:</para>
-<screen><userinput remap="configure">./configure --prefix=/tools</userinput></screen>
+<screen><userinput remap="configure">./configure --prefix=/tools ac_cv_func_working_mktime=yes</userinput></screen>
+ <variablelist>
+ <title>The meaning of the configure option:</title>
+
+ <varlistentry>
+ <term><parameter>ac_cv_func_working_mktime=yes</parameter></term>
+ <listitem>
+ <para>This parameter bypasses the search for mktime in configure
+ and uses the version in glibc. The is necessary due to a change in
+ gcc that has not been incorporated into this package yet.</para>
+ </listitem>
+ </varlistentry>
+
+ </variablelist>
<para>Compile the package:</para>
<screen><userinput remap="make">make</userinput></screen>