diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index a2c0391fd..b499449f6 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -40,6 +40,11 @@ 2008-10-21 + + [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. + [bdubbs] - Added a note to the ifcfg script description in iproute2 that it requires external programs. 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 @@ Prepare Bash for compilation: -./configure --prefix=/tools --without-bash-malloc +./configure --prefix=/tools --without-bash-malloc \ + ac_cv_func_working_mktime=yes - The meaning of the configure option: + The meaning of the configure options: --without-bash-malloc @@ -65,6 +66,14 @@ more stable. + + ac_cv_func_working_mktime=yes + + 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. + + 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 @@ Prepare Gawk for compilation: -./configure --prefix=/tools +./configure --prefix=/tools ac_cv_func_working_mktime=yes + + The meaning of the configure option: + + + ac_cv_func_working_mktime=yes + + 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. + + + + Compile the package: make 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;|" \ Prepare Bash for compilation: ./configure --prefix=/usr --bindir=/bin \ - --without-bash-malloc --with-installed-readline + --without-bash-malloc --with-installed-readline ac_cv_func_working_mktime=yes The meaning of the configure options: 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 @@ Prepare Gawk for compilation: -./configure --prefix=/usr --libexecdir=/usr/lib +./configure --prefix=/usr --libexecdir=/usr/lib \ + ac_cv_func_working_mktime=yes Compile the package: