[svn] r7827: nemerle/trunk/configure

divan svnadmin at nemerle.org
Thu Oct 25 00:06:03 CEST 2007


Log:
Codestyling: convert tabs to spaces, all indents are 4 spaces.

Author: divan
Date: Thu Oct 25 00:06:01 2007
New Revision: 7827

Modified:
   nemerle/trunk/configure

Modified: nemerle/trunk/configure
==============================================================================
--- nemerle/trunk/configure	(original)
+++ nemerle/trunk/configure	Thu Oct 25 00:06:01 2007
@@ -713,21 +713,21 @@
 # Step 12.
 # check for antlr for generating cs2n C# parser
 echo_check_for "antlr >= 2.7.5"
-  # the debian antlr package uses a `runantlr' binary
-  antlrcommand=`which $antlr_path 2>/dev/null || which runantlr 2>/dev/null`
+# the debian antlr package uses a `runantlr' binary
+antlrcommand=`which $antlr_path 2>/dev/null || which runantlr 2>/dev/null`
 
-  # and the debian antlr version also didn't match with this
-  # ver=`antlr 2>&1| head -1 | sed 's/.* \([0-9]*\.[0-9]\.[0-9]*\).*/\1/g'`
-  # this should be more general
-  ver=`"$antlrcommand" 2>&1 | grep -i version | sed 's/.*\([0-9]\{1,\}\.[0-9]\{1,\}\.[0-9]\{1,\}\).*/\1/g'`
+# and the debian antlr version also didn't match with this
+# ver=`antlr 2>&1| head -1 | sed 's/.* \([0-9]*\.[0-9]\.[0-9]*\).*/\1/g'`
+# this should be more general
+ver=`"$antlrcommand" 2>&1 | grep -i version | sed 's/.*\([0-9]\{1,\}\.[0-9]\{1,\}\.[0-9]\{1,\}\).*/\1/g'`
 
-    case $ver in  
-	2.7.[5-9])
+case $ver in  
+2.7.[5-9])
 	    antlr="$antlrcommand"
 	    cp tools/cs2n/antlr/antlr.runtime-2.7.5.dll tools/cs2n/antlr/antlr.runtime.dll
 	    echo_result "yes, 2.7.5+" 
 	    ;;
-	*) 
+*) 
 	    # also copy it for pregenerated parser!
 	    cp tools/cs2n/antlr/antlr.runtime-2.7.5.dll tools/cs2n/antlr/antlr.runtime.dll
 	    echo_result "not supported" 
@@ -737,7 +737,7 @@
 	      echo "*** You won't be able to build CS2N! ***"
 	    fi
 	    ;; 
-    esac 
+esac 
 
 # Step 13.
 echo_check_for "nant"



More information about the svn mailing list