summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorValentin Batz <senneth@irssi.org>2004-11-04 15:53:22 +0000
committervb <vb@dbcabf3a-b0e7-0310-adc4-f8d773084564>2004-11-04 15:53:22 +0000
commitf7e12d390a270737c7b0048c923b5c59a8c1ac13 (patch)
treede7af623e3ce0907700e42b37ef3bf0d9cb09b2c /configure.in
parent7a8c5f6763c790ac737f1483d8faef8744cdc498 (diff)
downloadirssi-f7e12d390a270737c7b0048c923b5c59a8c1ac13.zip
Changed autogen.sh and configure.in, so compiling works with svn, darix will make the svn path configureable
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3680 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.in b/configure.in
index e6c8ecc9..c87b8153 100644
--- a/configure.in
+++ b/configure.in
@@ -913,8 +913,8 @@ fi
dnl **
dnl ** IRSSI_VERSION_DATE and IRSSI_VERSION_TIME
dnl **
-VERSION_DATE=`head -n 1 $srcdir/ChangeLog|sed 's/^\(....\)-\(..\)-\(..\).*/\1\2\3/'`
-VERSION_TIME=`head -n 1 $srcdir/ChangeLog|sed -e 's/^[[^ ]]* \(..\):\(..\).*/\1\2/' -e 's/^0*//'`
+VERSION_DATE=`head -n 2 $srcdir/ChangeLog| tail -n 1 | awk '{print $5}' | tr -d '-'`
+VERSION_TIME=`head -n 2 $srcdir/ChangeLog| tail -n 1 | awk '{print $6}' | awk -F: '{print $1$2}'`
AC_SUBST(VERSION_DATE)
AC_SUBST(VERSION_TIME)