THIS IS BOBOT++ VERSION 2.1 (this file is also -*- text -*-)
+=== REQUIREMENTS (Compile) ===
+
+Bobot++ 2.1 relies on CommonC++ 2
+(http://www.gnu.org/software/commoncpp/) 1.0.13 (at least). Newer
+version are compatible (at the time of writing, Debian unstable is
+only up to 1.0.13 so I targeted that since I don't need the features
+of 1.3 and relying on packages available in Debian makes it easier to
+install for everyone).
+
+NOTE: CC++2 1.0 is newer than CC++ 1.0!
+
+Guile Scheme (http://www.gnu.org/software/guile/) Version 1.6 is used
+for scripting. It is optional and may be disabled by passing
+`--disable-scripting' to configure.
+
+=== BACKGROUND ===
+
This is the unstable tree. 2.0 is what you want to use if you don't
-want your scripts to break every other day. Then again, I'm not
-updated this every day and so far the code is mostly backwards
-compatible. The biggest change is that all bot-* functions are now
+want your scripts to break every other day. The Scheme interface is
+going to remain essentially the same, but the config system and
+internal structure of the bot are very different.
+
+=== BIG CHANGES FROM STABLE ===
+
+The biggest change is that all bot-* functions are now
bot:*. A simple 'perl -pi -e s/bot-/bot:/g SCRIPT1 SCRIPT2 .. SCRIPTN'
should be enough to update your scripts. The bot-* functions are
defined as aliases for the bot:* functions in bobot-utils.scm, which
is autoloaded by bobot++.
-The binary is now named bobotpp because of automake's choking on ++ in
+The binary is now named bobotpp because of automake choking on ++ in
rule names. In order for the bot to work properly, you must 'make
install' it so that bobot-utils.scm is installed and can be loaded for
-scripts to use.
+scripts to use (unless you have Guile disabled).
+
+=== IMPORTANT NOTES ===
+
+*** 2.1 is not guaranteed to compile anywhere. ***
+(But PLEASE email me if it doesn't!)
-2.1 is not guaranteed to compile anywhere.
+=== DOCUMENTATION ===
Please read the doc in the "doc" directory.
Also see bobot++.texinfo, which should be an ok set of docs on how to
bobotpp --help is also helpful.
+=== LICENSE ===
+
This program is distributed under the terms of the GNU General Public
License version 2 or later. See the COPYING file for details.
-NEW as of version 1.30: The syntax for the "channel =" option of bot.conf.
-See the examples for new syntax.
+=== CONTACT INFO ===
+
+Clinton Ebadi <clinton@unknownlamer.org> (Maintainer)
\ No newline at end of file
dnl Process this file with autoconf to produce a configure script.
+
AC_PRERQ(2.50)
-dnl AC_INIT(source/Makefile.in)
AC_INIT([Bobot++], [2.1.5CVS], [clinton@unknownlamer.org], [bobotpp])
+AC_LANG([C++])
AM_INIT_AUTOMAKE
AM_CONFIG_HEADER(config.h)
AC_CHECK_LIB(crypt, crypt, [LDFLAGS="-lcrypt $LDFLAGS]")
AC_CHECK_LIB(socket, socket, [LDFLAGS="-lsocket $LDFLAGS]")
AC_CHECK_LIB(nsl, connect, [LDFLAGS="-lnsl $LDFLAGS]")
+dnl CC++ is special (no function to check_lib on
+AC_CHECK_PROG(CCGNU_FOUND, [ccgnu2-config],
+ [yes], [no])
+if test x$CCGNU_FOUND = "xyes";
+then
+ LDFLAGS="$(ccgnu2-config --libs) $LDFLAGS"
+else
+ AC_MSG_ERROR([Please install CommonC++2 1.0 or greater])
+fi
dnl Checks for header files.
AC_HEADER_STDC