view version.sh @ 2988:a1860b3a33c9

more debugging in configure.log [temporary] (calls ldd to debug dependencies for [future] static support) $_ld_x11 contains now $_ld_sock improved x11 C test libGL is no longer OS dependent (bsd) but depends on 2 compil' tests preliminary support for -static: -static requires any test succeeds with that flag missing -logg for vorbis (triggered by -static) NB: It still can't compile in static [undefined reference to... errors :/ ]
author pl
date Mon, 19 Nov 2001 00:38:41 +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