chiark
/
gitweb
/
~ian
/
userv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
clean targets except realclean don't remove lexer.[lc] tokens.h overview.ps. New...
[userv.git]
/
configure.in
diff --git
a/configure.in
b/configure.in
index fb5a128a2b7f052aaa11907b453c0e2343df551d..86ce18feb3e64dc1d3865ed24cfc0e74357e4c34 100644
(file)
--- a/
configure.in
+++ b/
configure.in
@@
-130,4
+130,8
@@
if test "${GCC-no}" = yes; then
fi
[CFLAGS="`echo $CFLAGS $CWARNS | sed -e 's/-O[0-9]*/$(OPTIMISE)/'`"]
fi
[CFLAGS="`echo $CFLAGS $CWARNS | sed -e 's/-O[0-9]*/$(OPTIMISE)/'`"]
+AC_SUBST(VERSION)
+VERSION="`sed -n '/^userv (.*)/!d; s/^userv (//; s/).*//; p; q' Changelog`"
+echo will build version $VERSION
+
AC_OUTPUT(Makefile)
AC_OUTPUT(Makefile)