[Mplayer-cvslog] CVS: main version.sh,1.5,1.6

Johannes Feigl jaf at mplayer.dev.hu
Mon Dec 3 23:28:08 CET 2001


Update of /cvsroot/mplayer/main
In directory mplayer:/var/tmp.root/cvs-serv11907

Modified Files:
	version.sh 
Log Message:
using cc like configure

Index: version.sh
===================================================================
RCS file: /cvsroot/mplayer/main/version.sh,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- version.sh	3 Dec 2001 19:13:34 -0000	1.5
+++ version.sh	3 Dec 2001 22:28:05 -0000	1.6
@@ -5,6 +5,7 @@
 	# probably no gnu date installed(?), use current date
 	last_cvs_update=`date +%y%m%d-%H:%M`
 fi
-gcc_version=`gcc --version`
+cc=`cat config.mak |grep CC | cut -d '=' -f 2`
+cc_version=`${cc} --version`
 
-echo "#define VERSION \"CVS-${last_cvs_update}-gcc-${gcc_version} \"" >version.h
+echo "#define VERSION \"CVS-${last_cvs_update}${cc}-${cc_version} \"" >version.h




More information about the MPlayer-cvslog mailing list