annotate version.sh @ 1517:0e9c29538a86

Use USE_WIN32DLL define instead of ARCH_X86 to decide whether or not to compile Win32 DLL code into mplayer. Default for USE_WIN32DLL is enabled on x86 machines, disabled otherwise. Use of Win32 DLLs can be disabled on x86 using the --disable-win32 configure option.
author jkeil
date Tue, 14 Aug 2001 18:28:56 +0000
parents b36fb1ae4b53
children 24c6d8b06b26
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
420
980bafac238f write cvs date+version into version.h
arpi_esp
parents:
diff changeset
1 #!/bin/sh
980bafac238f write cvs date+version into version.h
arpi_esp
parents:
diff changeset
2
1038
b36fb1ae4b53 applied solaris8/netbsd/other fixes patch by J¸«ärgen Keil <jk@tools.de>
arpi_esp
parents: 672
diff changeset
3 last_cvs_update=`date -r CVS/Entries +%y%m%d-%H:%M 2>/dev/null`
b36fb1ae4b53 applied solaris8/netbsd/other fixes patch by J¸«ärgen Keil <jk@tools.de>
arpi_esp
parents: 672
diff changeset
4 if [ $? -ne 0 ]; then
b36fb1ae4b53 applied solaris8/netbsd/other fixes patch by J¸«ärgen Keil <jk@tools.de>
arpi_esp
parents: 672
diff changeset
5 # probably no gnu date installed(?), use current date
b36fb1ae4b53 applied solaris8/netbsd/other fixes patch by J¸«ärgen Keil <jk@tools.de>
arpi_esp
parents: 672
diff changeset
6 last_cvs_update=`date +%y%m%d-%H:%M`
b36fb1ae4b53 applied solaris8/netbsd/other fixes patch by J¸«ärgen Keil <jk@tools.de>
arpi_esp
parents: 672
diff changeset
7 fi
b36fb1ae4b53 applied solaris8/netbsd/other fixes patch by J¸«ärgen Keil <jk@tools.de>
arpi_esp
parents: 672
diff changeset
8 echo "#define VERSION \"0.17cvs-${last_cvs_update}\"" >version.h