[gs-cvs] rev 8383 - trunk/gs/toolbin

giles at ghostscript.com giles at ghostscript.com
Mon Nov 19 12:23:40 PST 2007


Author: giles
Date: 2007-11-19 12:23:39 -0800 (Mon, 19 Nov 2007)
New Revision: 8383

Modified:
   trunk/gs/toolbin/pre.tcl
Log:
Remove the verification checks for PVERSION and JVERSION, which we no 
longer use.


Modified: trunk/gs/toolbin/pre.tcl
===================================================================
--- trunk/gs/toolbin/pre.tcl	2007-11-19 20:15:45 UTC (rev 8382)
+++ trunk/gs/toolbin/pre.tcl	2007-11-19 20:23:39 UTC (rev 8383)
@@ -143,36 +143,6 @@
     exit
 }
 
-################ Check the third-party library version #s in the makefiles
-
-proc check_library_version {defname version} {
-    set matches [eval exec grep ${defname}= [glob src/*.mak]]
-    foreach match [split $matches "\n"] {
-	if {![regexp "^(.*):\[ 	\]*${defname}=(\[0-9\]+)(\[^0-9\]|\$)" $match skip file defver]} {
-	    message "Unrecognized result from grep: $match"
-	} elseif {$defver != $version} {
-	    message "$file has ${defname}=$defver, current is $version"
-	}
-    }
-}
-
-set VFILE jpeg/jversion.h
-if ![grep1 {^#define JVERSION[ 	]+"([0-9]+)[^0-9]} $VFILE line] {
-    message "No version number found in $VFILE!"
-    exit
-}
-regexp {^#define JVERSION[ 	]+"([0-9]+)[^0-9]} $line skip jversion
-puts "Current jpeg version is $jversion"
-set VFILE libpng/png.h
-if ![grep1 {^#define PNG_LIBPNG_VER[ 	]+([0-9]+)[^0-9]} $VFILE line] {
-    message "No version number found in $VFILE!"
-    exit
-}
-regexp {^#define PNG_LIBPNG_VER[ 	]+([0-9]+)[^0-9]} $line skip pversion
-puts "Current libpng version is $pversion"
-check_library_version JVERSION $jversion
-check_library_version PVERSION $pversion
-
 ################ If requested, mechanically update doc files.
 
 set dateformat "%-d %B %Y"



More information about the gs-cvs mailing list