aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2008-10-21 20:32:15 +0000
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2008-10-21 20:32:15 +0000
commitb772130d04f4dfd2933cfa30ff4bea3ea18dce35 (patch)
tree40a021f6bdbcef73347d820f0c5c8b424fe47e85 /chapter05
parent46fbbc269c35aee5501acd7c58c4e4932b4ec013 (diff)
Added ac_cv_func_working_mktime=yes to the configure commands in gawk and bash
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8690 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
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>