[[project @ 2005-01-08 06:24:08 by unknown_lamer] unknown_lamer**20050108062408 Updating README (easier to read), added configure.ac test for CommonC++2 (which will soon replace Socket and StringTokenizer) ] { hunk ./ChangeLog 1 +2005-01-08 Clinton Ebadi + + * configure.ac: Add AC_LANG([C++]) so we can check for C++ libs + AC_CHECK_LIB ccgnu2 (CommonC++2) + + * README: Updated README (reformatted, adding info, etc.) + hunk ./README 3 +=== 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 === + hunk ./README 21 -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 hunk ./README 33 -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 hunk ./README 36 -scripts to use. +scripts to use (unless you have Guile disabled). + +=== IMPORTANT NOTES === hunk ./README 40 -2.1 is not guaranteed to compile anywhere. +*** 2.1 is not guaranteed to compile anywhere. *** +(But PLEASE email me if it doesn't!) + +=== DOCUMENTATION === hunk ./README 53 +=== LICENSE === + hunk ./README 58 -NEW as of version 1.30: The syntax for the "channel =" option of bot.conf. -See the examples for new syntax. +=== CONTACT INFO === hunk ./README 60 +Clinton Ebadi (Maintainer) hunk ./configure.ac 2 + hunk ./configure.ac 4 -dnl AC_INIT(source/Makefile.in) hunk ./configure.ac 5 +AC_LANG([C++]) hunk ./configure.ac 63 +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 }