On Mon, Jun 04, 2012 at 10:45:54PM +0800, xinglp wrote:
> I just finished the SVN-20120603 lfs build. The resizecons was still
> there, only the manpage removed.
I stopped building 32-bit x86 a long time ago, so I don't have a
build environment to prove the change works. But, a quick test
shows the sed appears to do the right thing:
ken@jtm1 /scratch/ken/kbd-1.15.3 $cp -a configure{,.orig}
ken@jtm1 /scratch/ken/kbd-1.15.3 $sed -i
's/\(RESIZECONS_PROGS=\)yes/\1no/' configure
ken@jtm1 /scratch/ken/kbd-1.15.3 $diff configure{.orig,}
7201c7201
< i?86*) RESIZECONS_PROGS=yes ;;
---
> i?86*) RESIZECONS_PROGS=no ;;
Looking at configure after this, I have
case $host_cpu in
i?86*) RESIZECONS_PROGS=no ;;
*) RESIZECONS_PROGS=no ;;
esac
if test "$RESIZECONS_PROGS" = "yes"; then
RESIZECONS_PROGS_TRUE=
RESIZECONS_PROGS_FALSE='#'
else
RESIZECONS_PROGS_TRUE='#'
RESIZECONS_PROGS_FALSE=
fi
So it will treat i?86 the same as any other processor such as
x86_64. You already established that x86_64 doesn't have the
program, so I guess you did something different from what is in the
book.
ĸen
--
das eine Mal als Tragödie, das andere Mal als Farce
--
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page