view version.sh @ 4678:737969e6affc

Support for XviD library detection: - preferences are: xvid static > xvid dyn. > divx4 dyn. > opendivx static > nothing - --enable/disable-xvid (default = autoenabled if libxvidcore.so found) - --with-xvidcore=... (to use a static linking: path to xvid's libcore.a) Notes: - opendivx postprocess filters are not enabled for xvid as Michael's are better - add weird path for include/dyn lib to the --with-extra*
author pl
date Tue, 12 Feb 2002 22:03:44 +0000
parents d31a4f29aed1
children 142e0fa289d4
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}-$1 \"" >version.h