Code

* configure.ac: Don't pass CXXFLAGS to the CXX command that is used to
[inkscape.git] / autogen.sh
index 1afc947ff1d376e57d00838c22547d4ccbbe9bdd..aa426d2f407c015a7051c546a3c0596972dc24d2 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/sh 
+#!/bin/bash 
 
 # This script does all the magic calls to automake/autoconf and
 # friends that are needed to configure a cvs checkout.  As described in
@@ -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)!"