Przeglądaj źródła

2007-10-09 Wade Berrier <[email protected]>

       * 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
Wade Berrier 18 lat temu
rodzic
commit
35eb162ba7
2 zmienionych plików z 9 dodań i 0 usunięć
  1. 6 0
      ChangeLog
  2. 3 0
      configure.in

+ 6 - 0
ChangeLog

@@ -1,3 +1,9 @@
+2007-10-09  Wade Berrier  <[email protected]>
+
+	* 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  <[email protected]>
 
 	* scripts/mono-test-install: (temp_exe): Add tests for dynamic

+ 3 - 0
configure.in

@@ -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]
     }')]