make it compile on mingw32.
[silc.git] / prepare
diff --git a/prepare b/prepare
index dbc8b45a002ba2ab4c2d71a700af71b4b0f0277f..71c75d6343baa58f0f573ca2a8ecf06a2dca4e47 100755 (executable)
--- a/prepare
+++ b/prepare
@@ -8,8 +8,7 @@
 #
 #  This program is free software; you can redistribute it and/or modify
 #  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
+#  the Free Software Foundation; version 2 of the License.
 #
 #  This program is distributed in the hope that it will be useful,
 #  but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -38,8 +37,7 @@
 # SILC Distribution versions. Set here or give the version on the command
 # line as argument.
 #
-SILC_VERSION=0.5.2                     # Base version
-
+SILC_VERSION=0.8.2                     # Base version
 
 #############################################################################
 
@@ -132,15 +130,7 @@ autoconf
 autoheader >/dev/null 2>/dev/null
 automake
 
-echo "Preparing lib/trq"
-cd lib/trq
-aclocal
-autoconf
-autoheader </dev/null 2>/dev/null
-automake >/dev/null 2>/dev/null
-cd ../..
-
-echo "Preparing lib/silcmath/mpi"
+echo "Preparing mpi"
 cd lib/silcmath/mpi
 aclocal
 autoconf
@@ -164,6 +154,7 @@ file=irssi/irssi-version.h.in
 version_date=`date +%Y%m%d`
 echo "/* automatically created by autogen.sh */" > $file
 echo "#define IRSSI_VERSION \"$dist_version (Irssi base: @VERSION@ - SILC base: SILC Toolkit $version)\"" >>$file
-echo "#define IRSSI_VERSION_DATE \"$version_date\"" >> $file
+echo "#define IRSSI_VERSION_DATE $version_date" >> $file
+echo "#define IRSSI_VERSION_TIME $version_date" >> $file
 
 echo "Done, now run ./configure and make."