IRSSI_VERSION_DATE is now parsed from ChangeLog by configure. Also added

IRSSI_VERSION_TIME.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2256 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2001-12-15 23:15:05 +00:00 committed by cras
commit 3007e251a6
4 changed files with 14 additions and 4 deletions

View file

@ -755,6 +755,14 @@ if test "x$want_ipv6" = "xyes"; then
AC_MSG_RESULT($irssi_cv_type_in6_addr)
fi
dnl **
dnl ** IRSSI_VERSION_DATE and IRSSI_VERSION_TIME
dnl **
VERSION_DATE=`head -1 $srcdir/ChangeLog|sed 's/^\(....\)-\(..\)-\(..\).*/\1\2\3/'`
VERSION_TIME=`head -1 $srcdir/ChangeLog|sed 's/^[[^ ]]* \(..\):\(..\).*/\1\2/'`
AC_SUBST(VERSION_DATE)
AC_SUBST(VERSION_TIME)
AC_OUTPUT(
Makefile
src/Makefile
@ -785,6 +793,7 @@ scripts/Makefile
docs/Makefile
docs/help/Makefile
docs/help/in/Makefile
irssi-version.h
stamp.h
irssi.spec
irssi-config)