"Stephen J. Turnbull" <stephen(a)xemacs.org> さんは書きました:
>>>>> "Mike" == Mike FABIAN
<mfabian(a)suse.de> writes:
>> Given the way that loop termination test is written (not to
>> mention autotools history), it's unsurprising. I don't think
>> you can win in both versions.
Mike> Strange, XEmacs builds here with Andreas's patch for older
Mike> versions of SUSE Linux as well, for example it builds for
Mike> SUSE Linux 10.0 which still has autoconf 2.59:
Did you actually run autoconf?
Definitely yes. I can see that in the build log (I attach the
build.log for SUSE Linux 10.0 here).
Extract from the build log:
[...]
installing autoconf-2.59-81
[...]
+ echo 'Patch #1 (xemacs-autoconf.patch):' <-- Andreas's
patch
Patch #1 (xemacs-autoconf.patch):
[...]
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.14003
+ umask 022
+ cd /usr/src/packages/BUILD
+ /bin/rm -rf /var/tmp/xemacs-21.5.27.20060705-build
++ dirname /var/tmp/xemacs-21.5.27.20060705-build
+ /bin/mkdir -p /var/tmp
+ /bin/mkdir /var/tmp/xemacs-21.5.27.20060705-build
+ cd xemacs-21.5.27.20060705
+ AUTOMAKE_DIR=/usr/share/automake
+ '[' -d /usr/share/automake ']'
+ AUTOMAKE_DIR='/usr/share/automake*'
+ '[' -d /usr/share/automake-1.9 ']'
+ for d in .
+ for f in config.sub config.guess
+ test -f ./config.sub -a '!' ./config.sub -ef
/usr/share/automake-1.9/config.sub
+ cp -f /usr/share/automake-1.9/config.sub ./config.sub
+ test -d . -a '!' -f ./depcomp -a -f /usr/share/automake-1.9/depcomp
+ cp -f /usr/share/automake-1.9/depcomp ./depcomp
+ echo 'please add depcomp to sources for new automake!'
please add depcomp to sources for new automake!
+ test -f ./missing -a '!' ./missing -ef /usr/share/automake-1.9/missing
+ for f in config.sub config.guess
+ test -f ./config.guess -a '!' ./config.guess -ef
/usr/share/automake-1.9/config.guess
+ cp -f /usr/share/automake-1.9/config.guess ./config.guess
+ test -d . -a '!' -f ./depcomp -a -f /usr/share/automake-1.9/depcomp
+ test -f ./missing -a '!' ./missing -ef /usr/share/automake-1.9/missing
+ for f in ltconfig ltmain.sh
+ test -f ./ltconfig
+ for f in ltconfig ltmain.sh
+ test -f ./ltmain.sh
+ autoconf --force
autoconf: warning: both `configure.ac' and `configure.in' are present.
autoconf: warning: proceeding with `configure.ac'.
[...]
Did it take longer than usual?
It did not take very long. This is on SUSE Linux 10.1-x86_64:
magellan:/usr/src/packages/BUILD/xemacs-21.5.27.20060705# uname -a
Linux magellan 2.6.16 #1 Wed May 31 06:52:41 UTC 2006 x86_64 x86_64 x86_64 GNU/Linux
magellan:/usr/src/packages/BUILD/xemacs-21.5.27.20060705# autoconf --version
autoconf (GNU Autoconf) 2.59
Written by David J. MacKenzie and Akim Demaille.
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
magellan:/usr/src/packages/BUILD/xemacs-21.5.27.20060705# ll configure
-rwxr-xr-x 1 abuild abuild 1260079 2006-07-24 09:40 configure
magellan:/usr/src/packages/BUILD/xemacs-21.5.27.20060705# time autoconf --force
autoconf: warning: both `configure.ac' and `configure.in' are present.
autoconf: warning: proceeding with `configure.ac'.
real 0m7.489s
user 0m6.960s
sys 0m0.188s
magellan:/usr/src/packages/BUILD/xemacs-21.5.27.20060705# ll configure
-rwxr-xr-x 1 abuild abuild 1260079 2006-07-24 09:52 configure
magellan:/usr/src/packages/BUILD/xemacs-21.5.27.20060705#
Normally on my 1GHz PPC Mac "Panther" it takes about 20
seconds to run
autoconf 2.59; with Andreas' patch I killed the process after 15 min,
about 5 min CPU.
Mike> The sources and patches for all of these rpms are identical.
You're sure that configure gets rebuilt for every build?
Yes.
--
Mike FABIAN <mfabian(a)suse.de>
http://www.suse.de/~mfabian
睡眠不足はいい仕事の敵だ。