2007-10-09 Wade Berrier <wberrier@novell.com>
authorWade Berrier <wade@mono-cvs.ximian.com>
Tue, 9 Oct 2007 21:11:43 +0000 (21:11 -0000)
committerWade Berrier <wade@mono-cvs.ximian.com>
Tue, 9 Oct 2007 21:11:43 +0000 (21:11 -0000)
       * configure.in: Split up the mono version that goes into Consts.cs
       to make sure each segment is no longer than 4 digits.
       This allows svn revisions to be used.

svn path=/trunk/mono/; revision=87226

ChangeLog
configure.in

index db3154799cb398d54e9f4dad390689c6b211cd49..f0e2cc14727ae3f8d6bd60ed95caa780b73ff59c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2007-10-09  Wade Berrier  <wberrier@novell.com>
+
+       * configure.in: Split up the mono version that goes into Consts.cs 
+       to make sure each segment is no longer than 4 digits.  
+       This allows svn revisions to be used.
+
 2007-10-02  Miguel de Icaza  <miguel@novell.com>
 
        * scripts/mono-test-install: (temp_exe): Add tests for dynamic
index 84b9f01213fc5111f0018e460821989897012f3e..7ed7331e125ffca039421c5a1f87d32b900319ab 100644 (file)
@@ -2165,6 +2165,9 @@ fi
     export VERSION
     [myver=$($AWK 'BEGIN {
       split (ENVIRON["VERSION"] ".0.0.0", vsplit, ".")
+      if(length(vsplit [1]) > 4) {
+        split (substr(ENVIRON["VERSION"], 0, 4) "." substr(ENVIRON["VERSION"], 5) ".0.0", vsplit, ".")
+      }
       print vsplit [1] "." vsplit [2] "." vsplit [3] "." vsplit [4]
     }')]