diff version.sh @ 3390:d31a4f29aed1

CC version check done by Makefile to allow overriding CC from envvar
author arpi
date Sun, 09 Dec 2001 01:24:01 +0000
parents 97c6bfbcb7a7
children 142e0fa289d4
line wrap: on
line diff
--- a/version.sh	Sat Dec 08 20:16:21 2001 +0000
+++ b/version.sh	Sun Dec 09 01:24:01 2001 +0000
@@ -5,7 +5,5 @@
 	# probably no gnu date installed(?), use current date
 	last_cvs_update=`date +%y%m%d-%H:%M`
 fi
-cc=`cat config.mak |grep CC | cut -d '=' -f 2`
-cc_version=`${cc} --version`
 
-echo "#define VERSION \"CVS-${last_cvs_update}${cc}-${cc_version} \"" >version.h
+echo "#define VERSION \"CVS-${last_cvs_update}-$1 \"" >version.h