view version.sh @ 3161:950496933384

configure cleanups: a few typos a few reordering (C src / _blah=no / cc_check && _blah=yes) preliminary support to display a summary of enabled modules at the end of the run of ./configure (only AO & VO right now/check for _{a,v}omodules) cleanups of config.mak : X_LIBS gathered everything and whatever - no longer the case Makefile cleanups to match the ones done in config.mak NB: it still compiles here (but I'm pretty sure this will break on some systems :)
author pl
date Tue, 27 Nov 2001 17:58:29 +0000
parents 24c6d8b06b26
children 7fa3a928631a
line wrap: on
line source

#!/bin/sh

last_cvs_update=`date -r CVS/Entries +%y%m%d-%H:%M 2>/dev/null`
if [ $? -ne 0 ]; then
	# probably no gnu date installed(?), use current date
	last_cvs_update=`date +%y%m%d-%H:%M`
fi
echo "#define VERSION \"CVS-${last_cvs_update}\"" >version.h