Browse Source

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
Bruce Dubbs 17 years ago
parent
commit
b772130d04
5 changed files with 33 additions and 5 deletions
  1. 5 0
      chapter01/changelog.xml
  2. 11 2
      chapter05/bash.xml
  3. 14 1
      chapter05/gawk.xml
  4. 1 1
      chapter06/bash.xml
  5. 2 1
      chapter06/gawk.xml

+ 5 - 0
chapter01/changelog.xml

@@ -40,6 +40,11 @@
     <listitem>
       <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>

+ 11 - 2
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>
 

+ 14 - 1
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>

+ 1 - 1
chapter06/bash.xml

@@ -55,7 +55,7 @@ sed -i "s|htmldir = @htmldir@|htmldir = /usr/share/doc/bash-&bash-version;|" \
     <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>

+ 2 - 1
chapter06/gawk.xml

@@ -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>