X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;ds=sidebyside;f=autogen.sh;h=2bf1fee7a761bbfc7d0b35a1e6161ae884d08e04;hb=94f60477a78a3372ef321871523c0739bff29388;hp=b37c09b526d04fa5719848b6a08c0c1e437c8d6d;hpb=f3bee02f7b87b8d001d1c5e088fba3f7047b0296;p=inkscape.git diff --git a/autogen.sh b/autogen.sh index b37c09b52..2bf1fee7a 100755 --- a/autogen.sh +++ b/autogen.sh @@ -34,7 +34,7 @@ MAJOR2=`echo "$2" | cut -d"." -f1`; MINOR2=`echo "$2" | cut -d"." -f2;` test -z "$MINOR1" && MINOR1="0"; -if (("$MAJOR1" > "$MAJOR2"))||(((("$MAJOR1" == "$MAJOR2")) && (("$MINOR1" \>= "$MINOR2")))); then +if [ "$MAJOR1" -gt "$MAJOR2" ] || [ "$MAJOR1" -eq "$MAJOR2" -a "$MINOR1" -ge "$MINOR2" ]; then echo "yes (version $1)" else echo "Too old (found version $1)!" @@ -193,7 +193,7 @@ attempt_command 'underquoted definition of|[\)\#]Extending' \ attempt_command '' autoheader } -attempt_command '' $AUTOMAKE --add-missing +attempt_command '' $AUTOMAKE --copy --force --add-missing attempt_command '' autoconf attempt_command '^(Please add the files| codeset| progtest|from the|or directly|You will also|ftp://ftp.gnu.org|$)' \ glib-gettextize --copy --force