Merged from silc_1_0_branch.
[silc.git] / prepare
diff --git a/prepare b/prepare
index 5397d673f1fa2cf2a65e1c26ecebc8c38e067aee..e0ba0efe7f5abf09487201abd5b2dd366aacb94e 100755 (executable)
--- a/prepare
+++ b/prepare
@@ -37,7 +37,7 @@
 # SILC Distribution versions. Set here or give the version on the command
 # line as argument.
 #
-SILC_VERSION=0.9.3                     # Base version
+SILC_VERSION=0.9.7                     # Base version
 
 #############################################################################
 
@@ -124,13 +124,15 @@ cp Makefile.defines_int.in lib/silcmath/mpi
 aclocal
 autoconf
 autoheader >/dev/null 2>/dev/null
+libtoolize --automake --copy
 automake
 
 echo "Preparing mpi"
 cd lib/silcmath/mpi
 aclocal
 autoconf
-autoheader </dev/null 2>/dev/null
+autoheader >/dev/null 2>/dev/null
+libtoolize --automake --copy
 automake >/dev/null 2>/dev/null
 cd ../../..
 
@@ -138,7 +140,7 @@ file=includes/version_internal.h
 echo "/* Automatically generated by ./prepare */" >$file
 echo "#define SILC_VERSION_STRING \"$dist_version\"" >>$file
 echo "#define SILC_DIST_VERSION_STRING \"$dist_version\"" >>$file
-echo "#define SILC_PROTOCOL_VERSION_STRING \"SILC-1.1-$dist_version $distribution\"" >>$file
+echo "#define SILC_PROTOCOL_VERSION_STRING \"SILC-1.2-$dist_version $distribution\"" >>$file
 echo "#define SILC_NAME \"SILC $distribution\"" >>$file
 
 # preparing irssi