diff options
author | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2008-10-21 20:32:15 +0000 |
---|---|---|
committer | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2008-10-21 20:32:15 +0000 |
commit | b772130d04f4dfd2933cfa30ff4bea3ea18dce35 (patch) | |
tree | 40a021f6bdbcef73347d820f0c5c8b424fe47e85 | |
parent | 46fbbc269c35aee5501acd7c58c4e4932b4ec013 (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
-rw-r--r-- | chapter01/changelog.xml | 5 | ||||
-rw-r--r-- | chapter05/bash.xml | 13 | ||||
-rw-r--r-- | chapter05/gawk.xml | 15 | ||||
-rw-r--r-- | chapter06/bash.xml | 2 | ||||
-rw-r--r-- | chapter06/gawk.xml | 3 |
5 files changed, 33 insertions, 5 deletions
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index a2c0391fd..b499449f6 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -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> 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> diff --git a/chapter06/bash.xml b/chapter06/bash.xml index 668071223..59ede3798 100644 --- a/chapter06/bash.xml +++ b/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> diff --git a/chapter06/gawk.xml b/chapter06/gawk.xml index 04ee8ae5b..f8d63fca2 100644 --- a/chapter06/gawk.xml +++ b/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> |