AM_CONDITIONAL(HAVE_STATIC_PERL, test "$want_perl" = "static")
AM_CONDITIONAL(NEED_TPARM, test "$need_tparm" = "yes")
AM_CONDITIONAL(USE_CURSES, test "$want_terminfo" != "yes" -a "$want_termcap" != "yes")
+AM_CONDITIONAL(BUILD_SERVERTEST, false)
# move LIBS to PROG_LIBS so they're not tried to be used when linking eg. perl libraries
PROG_LIBS=$LIBS
#
cp Makefile.defines.pre Makefile.defines.in
cp Makefile.defines_int.pre Makefile.defines_int.in
+cp Makefile.defines.in irssi
+cp Makefile.defines_int.in irssi
aclocal
autoconf
libtoolize --automake --copy
automake
-#echo "Preparing mpi"
-#cp Makefile.defines.in lib/silcmath/mpi
-#cp Makefile.defines_int.in lib/silcmath/mpi
-#cd lib/silcmath/mpi
-#aclocal
-#autoconf
-#autoheader >/dev/null 2>/dev/null
-#libtoolize --automake --copy
-#automake >/dev/null 2>/dev/null
-#cd ../../..
-
file=includes/version_internal.h
echo "/* Automatically generated by ./prepare */" >$file
echo "#define SILC_VERSION_STRING \"$dist_version\"" >>$file
# preparing irssi
echo "Preparing irssi"
-cp Makefile.defines.in irssi
-cp Makefile.defines_int.in irssi
+file=irssi/irssi-version.h.in
+touch $file
cd irssi
sh autogen.sh 2>/dev/null 1>/dev/null
cd ..
-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 $dist_version)\"" >>$file