Hello, I checked out source from RELEASE_0_45_BRANCH, ran autogen.sh and saw this:
... I am testing that you have the required versions of autoconf, automake, glib-gettextize and intltoolize. This test is not foolproof and if anything goes wrong, there may be guidance in the file HACKING.txt
checking for autoconf >= 2.52 ... ./autogen.sh: line 37: ((: ((2 == 2)) && ((61 >= 52)): missing `)' (error token is ">= 52))") Too old (found version 2.61)! checking for automake >= 1.7 ... ./autogen.sh: line 37: ((: ((1 == 1)) && ((10 >= 7)): missing `)' (error token is ">= 7))") Too old (found version 1.10)! ...
The test in check_version() where it fails is:
if (("$MAJOR1" > "$MAJOR2"))||(((("$MAJOR1" == "$MAJOR2")) && (("$MINOR1" >= "$MINOR2")))); then
Does anyone know why this 'if' does not use '-gt' for numeric compares and square brackets for test, like on the trunk? Am I getting source from the right place?
Thanks! , John
John Faith scrisse:
The test in check_version() where it fails is:
if (("$MAJOR1" > "$MAJOR2"))||(((("$MAJOR1" == "$MAJOR2")) && (("$MINOR1" >= "$MINOR2")))); then
Does anyone know why this 'if' does not use '-gt' for numeric compares and square brackets for test, like on the trunk? Am I getting source from the right place?
It was fixed in trunk in revision 13961, but 0.45 was already branched at that time. You can safely use autogen.sh from trunk or manually edit it for your needs. Maybe the fix should be ported to 0.45 branch also in our SVN.
Cheers, Luca
-- .''`. ** Debian GNU/Linux ** | Luca Bruno : :' : The Universal O.S. | luca.br(AT)uno.it `. `'` | GPG Key ID: 3BFB9FB3 `- http://www.debian.org | Proud Debian GNU/Linux User
On 5/7/07, Luca Bruno <gnug.torte@...112...> wrote:
John Faith scrisse:
The test in check_version() where it fails is:
if (("$MAJOR1" > "$MAJOR2"))||(((("$MAJOR1" == "$MAJOR2")) && (("$MINOR1" >= "$MINOR2")))); then
Does anyone know why this 'if' does not use '-gt' for numeric compares and square brackets for test, like on the trunk? Am I getting source from the right place?
It was fixed in trunk in revision 13961, but 0.45 was already branched at that time. You can safely use autogen.sh from trunk or manually edit it for your needs. Maybe the fix should be ported to 0.45 branch also in our SVN.
Thanks for checking this.
The trunk one works better, and after a couple of changes to configure.ac as well, I can configure.
, John
participants (2)
-
John Faith
-
Luca Bruno