summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh
index 1ae36e080..34ab299f5 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -18,6 +18,11 @@ EOF
exit 1
}
+echo "Creating configure.ac"
+# substitute revision and date
+revision=`svn info $0 | awk '/^Revision: / {printf "%05d\n", $2}'`
+sed -e "s/@REVISION@/${revision}/g" < "configure.ac.in" > "configure.ac"
+
exec xdt-autogen $@
# vi:set ts=2 sw=2 et ai: