summaryrefslogtreecommitdiff
path: root/mcon/U/Oldsym.U
diff options
context:
space:
mode:
authorrmanfredi <rmanfredi@2592e710-e01b-42a5-8df0-11608a6cc53d>2010-11-27 14:13:04 +0000
committerrmanfredi <rmanfredi@2592e710-e01b-42a5-8df0-11608a6cc53d>2010-11-27 14:13:04 +0000
commit2928b772901b1b4808095be63558c53c4d4db45f (patch)
treeaecfe4e4ceb8beeb4851899fe78c9eb0d1970664 /mcon/U/Oldsym.U
parenta56506c62f0c5f67ab8859917006896648d224b4 (diff)
Regenerated Configure.
File revision.h is now embedding "$Revision" so it is automatically updated but does not need to be checked-in because SVN won't see a difference worth submitting. git-svn-id: svn://svn.code.sf.net/p/dist/code/trunk/dist@36 2592e710-e01b-42a5-8df0-11608a6cc53d
Diffstat (limited to 'mcon/U/Oldsym.U')
-rw-r--r--mcon/U/Oldsym.U6
1 files changed, 5 insertions, 1 deletions
diff --git a/mcon/U/Oldsym.U b/mcon/U/Oldsym.U
index 816a6f9..e17e799 100644
--- a/mcon/U/Oldsym.U
+++ b/mcon/U/Oldsym.U
@@ -28,8 +28,12 @@
: add special variables
$test -f $src/patchlevel.h && \
awk '/^#define/ {printf "%s=%s\n",$2,$3}' $src/patchlevel.h >>config.sh
+?X: In revision.h we expect something like:
+?X: #define REVISION "$Revision$"
+?X: which is supposed to be expanded by the revision control system.
$test -f $src/revision.h && \
-awk '/^#define/ {printf "%s=%s\n",$2,$3}' $src/revision.h >>config.sh
+sed -ne 's/^#define \([A-Za-z0-9_]*\) ".*: \([0-9]*\).*"/\1=\2/p' \
+ < revision.h >>config.sh
echo "CONFIG=true" >>config.sh
: propagate old symbols