Build problems (with automake version)
Ronald Aigner
ra3 at os.inf.tu-dresden.de
Wed Mar 7 15:22:18 CET 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Michael Roitzsch wrote on 07.03.2007 14:01 this:
> Hi Ron,
>
>> --- bootstrap (revision 27879)
>> +++ bootstrap (working copy)
>> @@ -56,7 +56,7 @@
>> #
>> if test x"$AUTOMAKE" = x || test x"$ACLOCAL" = x ; then
>> am_ver=""
>> - for ver in "" "-1.9" "-1.8" "-1.7" ; do
>> + for ver in "" "-1.10" "-1.9" "-1.8" "-1.7" ; do
>> am="automake$ver"
>> if ($am --version) < /dev/null > /dev/null 2>&1 ; then
>> if ($am --version | head -n 1 | awk 'NR==1 { if( $(NF) >=
>> '$automake_min_vers') \
>
> I don't think this will fix the problem, because the for-loop will
> already cover automake 1.10, if it is reachable with the plain
> "automake" command.
So? Appearently, Igor has no plain "automake", otherwise the test would
not have failed.
> The actual problem, I think, is the awk line to
> compare the versions. awk compares two strings here: 1.10 and 1.9 (which
> is $automake_min_vers; this makes me wonder, why 1.7 and 1.8 are tried
> at all). Unfortunately, 1.10 is lexically before 1.9, so the string
> compare fails.
This is true, I'll have a look into this.
Ron.
- --
Mit freundlichen Gruessen / with regards
ra3 @ inf.tu-dresden.de
http://os.inf.tu-dresden.de/~ra3/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFF7sqa2sAx3Dtx9+YRAtGRAKC5tduNrDVHBLArifepXrjCEJQL7QCg4T12
p6w8Ks5ePxctF8a+7IdTVgE=
=dEmW
-----END PGP SIGNATURE-----
More information about the l4-hackers
mailing list