[svn] r7624: nemerle/trunk/configure

malekith svnadmin at nemerle.org
Thu Apr 26 20:24:18 CEST 2007


Log:
Try to guard against the default debian shell. Allow newer pythons.

Author: malekith
Date: Thu Apr 26 20:24:16 2007
New Revision: 7624

Modified:
   nemerle/trunk/configure

Modified: nemerle/trunk/configure
==============================================================================
--- nemerle/trunk/configure	(original)
+++ nemerle/trunk/configure	Thu Apr 26 20:24:16 2007
@@ -161,6 +161,17 @@
     fi
 }
 
+# dash check
+
+if (( 1 < 2 )) ; then
+  :
+else
+  echo "It appears you are running not supported shell. Please use:"
+  echo "  bash ./configure"
+  echo "or"
+  echo "  ksh ./configure"
+  exit 1
+fi
 
 ############################################################
 # PARAMETERS SCAN
@@ -675,7 +686,7 @@
     ver=`echo $str | sed 's/.* \([0-9]\.[0-9]\).*/\1/g'`
 
     case $ver in
-	2.3 | 2.4)
+	2.[3456789] | [3456789].* )
 	    echo_result "$ver, ok"
 	    python=$i
 	    ;;



More information about the svn mailing list