aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure5
1 files changed, 4 insertions, 1 deletions
diff --git a/configure b/configure
index dd93892..c3d3873 100755
--- a/configure
+++ b/configure
@@ -1,5 +1,5 @@
#!/bin/sh
-# $Id: configure,v 1.32 2001/12/04 18:57:51 ukai Exp $
+# $Id: configure,v 1.33 2001/12/07 19:50:37 ukai Exp $
# Configuration.
#
@@ -1838,6 +1838,9 @@ case $dmodel in
6) modelname=custom;;
esac
+cvsver=`awk '\$1 ~ /\\$Id: configure,v 1.33 2001/12/07 19:50:37 ukai Exp $3}' ChangeLog`
+sed -e 's/^#define CURRENT_VERSION "\(.*\)+cvs.*"/#define CURRENT_VERSION "\1+cvs-'$cvsver'"/' version.c.in > version.c
+
cat > extrvers.c << EOF
#include <stdio.h>
#include <string.h>