Author: bdubbs
Date: 2008-10-21 14:32:15 -0600 (Tue, 21 Oct 2008)
New Revision: 8690

Modified:
   trunk/BOOK/chapter01/changelog.xml
   trunk/BOOK/chapter05/bash.xml
   trunk/BOOK/chapter05/gawk.xml
   trunk/BOOK/chapter06/bash.xml
   trunk/BOOK/chapter06/gawk.xml
Log:
Added ac_cv_func_working_mktime=yes to the configure commands in gawk and bash

Modified: trunk/BOOK/chapter01/changelog.xml
===================================================================
--- trunk/BOOK/chapter01/changelog.xml  2008-10-21 19:04:36 UTC (rev 8689)
+++ trunk/BOOK/chapter01/changelog.xml  2008-10-21 20:32:15 UTC (rev 8690)
@@ -41,6 +41,11 @@
       <para>2008-10-21</para>
       <itemizedlist>
         <listitem>
+          <para>[bdubbs] - Added ac_cv_func_working_mktime=yes to the 
configure 
+                                       commands in gawk and bash to bypass the 
search for mktime.  This 
+          works around a change in gcc.</para>
+        </listitem>
+        <listitem>
           <para>[bdubbs] - Added a note to the ifcfg script description in 
           iproute2 that it requires external programs.</para>
         </listitem>

Modified: trunk/BOOK/chapter05/bash.xml
===================================================================
--- trunk/BOOK/chapter05/bash.xml       2008-10-21 19:04:36 UTC (rev 8689)
+++ trunk/BOOK/chapter05/bash.xml       2008-10-21 20:32:15 UTC (rev 8690)
@@ -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>
 

Modified: trunk/BOOK/chapter05/gawk.xml
===================================================================
--- trunk/BOOK/chapter05/gawk.xml       2008-10-21 19:04:36 UTC (rev 8689)
+++ trunk/BOOK/chapter05/gawk.xml       2008-10-21 20:32:15 UTC (rev 8690)
@@ -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>

Modified: trunk/BOOK/chapter06/bash.xml
===================================================================
--- trunk/BOOK/chapter06/bash.xml       2008-10-21 19:04:36 UTC (rev 8689)
+++ trunk/BOOK/chapter06/bash.xml       2008-10-21 20:32:15 UTC (rev 8690)
@@ -55,7 +55,7 @@
     <para>Prepare Bash for compilation:</para>
 
 <screen><userinput remap="configure">./configure --prefix=/usr --bindir=/bin \
-    --without-bash-malloc --with-installed-readline</userinput></screen>
+    --without-bash-malloc --with-installed-readline 
ac_cv_func_working_mktime=yes</userinput></screen>
 
     <variablelist>
       <title>The meaning of the configure options:</title>

Modified: trunk/BOOK/chapter06/gawk.xml
===================================================================
--- trunk/BOOK/chapter06/gawk.xml       2008-10-21 19:04:36 UTC (rev 8689)
+++ trunk/BOOK/chapter06/gawk.xml       2008-10-21 20:32:15 UTC (rev 8690)
@@ -42,7 +42,8 @@
 
     <para>Prepare Gawk for compilation:</para>
 
-<screen><userinput remap="configure">./configure --prefix=/usr 
--libexecdir=/usr/lib</userinput></screen>
+<screen><userinput remap="configure">./configure --prefix=/usr 
--libexecdir=/usr/lib \
+   ac_cv_func_working_mktime=yes</userinput></screen>
 
     <para>Compile the package:</para>
 

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to