Page MenuHomeDevCentral

No OneTemporary

diff --git a/beta/ChangeLog b/beta/ChangeLog
new file mode 100755
index 0000000..2e832d1
--- /dev/null
+++ b/beta/ChangeLog
@@ -0,0 +1,750 @@
+
+ *******************************************************
+ Warnings, errors, malfunctions, code patches, suggestions
+ Support Forum: http://forum.darkbot.org
+ *******************************************************
+
+Darkbot 7f3: April 15, 2004
+
+ - docs/INSTALL.txt is now INSTALL in the toplevel dir.
+ Another thing for automake to stop complaining about.
+
+ - The original configure script is now located in the
+ scripts directory, and is called "Setup".
+
+ - docs/contributors.txt is now called AUTHORS in the
+ top level of the distribution. Another thing automake
+ complains about. I also worked on the appearance of
+ this file, hopefully it looks a little better now.
+
+ - README.txt in the toplevel is now called "README".
+ Automake complains about this file also, if it's not
+ found.
+
+ - This file is now called ChangeLog, and has been moved
+ to the toplevel distribution dir. The reason for this
+ is that automake complains, if it can't find this file.
+
+ - configure now checks for the presence of windows.h,
+ and defines WIN32, if it's found. This removes the
+ need to do "make win". Until I add the noconsole
+ option again, you can run darkbot with no console by
+ doing "./darkbot &" in your cygwin shell.
+
+ - The configure.ac file is not yet complete, and most
+ of the definitions listed in config.h are not completely
+ implemented into the code yet. If you have problems,
+ please let me know, and these files will become completely
+ implemented as demand is met.
+
+ - Included premade Makefiles and configure script.
+
+ - Added "make convertdb", which will compile the database
+ conversion utility, which encrypts the passwords in your
+ userlist.db file.
+
+ - I added a Makefile.am in the toplevel, and in the source
+ directory. These files are used in conjunction with
+ GNU Automake to produce a Makefile.
+
+ - Added Makefile.ams and configure.ac for autoconf/automake.
+
+Darbkot 7f2: April 05, 2004
+
+ - Fixed the google function. Google changed some text that
+ the bot was using to tell if the search was successful.
+
+Darkbot 7f1: Mar 06th, 2004
+
+ - Made a short dirty fix for "!randq *" crashing the bot.
+ If you do a randq query consisting entirely of * and ?
+ characters, the bot will now just spit out a random quote.
+ This needs to be fixed better, obviously, but this will
+ keep peoples' bots from crashing until the issue can be
+ properly addressed.
+
+ - Changed unlink() calls to remove(). remove() is ANSI C.
+
+ - Private message responses no longer have that "sent by"
+ thing on them. It was annoying, and pointless.
+
+ - Renamed the log() function db_log() to avoid a conflict
+ with a function internal with gcc. Apparently this only
+ affects newer versions of gcc.
+
+ - Removed two unused variables in convertdb.c. I also changed
+ 'unlink' to 'remove', to comply with the ANSI standard.
+
+ - Changed forum URL to http://forum.darkbot.org, since that
+ works too, looks cooler, and is shorter. :)
+
+ - Fixed a bug that caused the bot to never respond to anything
+ after being killed. The same problem was also fixed in a
+ number of other situations that it was popping up. gs26()
+ was being called both before, and during prepare_bot(), so
+ I made the call happen only during prepare_bot().
+
+ - Fixed a minor flaw in convertdb.c. It said the syntax was
+ "convertdb -convert", even if the executable wasn't named
+ convertdb.
+
+ - Taiwanish file got dumped somehow, it's back now.
+
+ - New setting in defines.h, AUTOHELP_GUESTS, makes the bot send
+ a message to the channel, whenever a user with the word "Guest"
+ in their nickname joins, asking them if they need help. This
+ can be used in help channels, to avoid Guest users just joining
+ the channel, and moving on because nobody is talking.
+
+ - I'm fairly sure I have dbcron fixed now. I can't test it,
+ because I don't have a system with crond, but the fix was
+ made using basic shell syntax. >> instead of >. :)
+
+ - Please remember to include which operating system you're using
+ when reporting bugs. This information is crucial because (all?)
+ operating systems have subtle differences that can cause any
+ number of problems in various situations. It's impossible to
+ keep all of these conditions in mind when writing code, because
+ there's just so many of them. Any other information that you can
+ provide will, more than likely, be greatly appreciated.
+
+ - I don't see why this is a development version anymore, so
+ I've moved it to final. As always, any malfunctions or
+ problems may be reported via the forum.
+
+ - darkbot.info isn't resolving anymore, so references to this
+ site have been removed. I left the support emails, until
+ updated email addresses are known of. If your email needs
+ to be updated anywhere in the code, and I didn't realize it,
+ let me know.
+
+ - Changed setup.ini, WHATSNEW, according to previous statement.
+
+ - Updated some text in defines.h
+
+ - Updated the title screen in main.c
+
+ - Removed references of "make cygwin". Just use "make win"
+ from now on.
+
+ - Fixed a typo in the Makefile.
+
+ - You can use comments in the performs file now by appending
+ a '#' to the beginning of the line.
+
+Darkbot 7.0-RC9: Oct 19th, 2003
+
+ - Added new channel command, "QUOTE". All this does right
+ now is display a random line from randomstuff.ini on
+ command.
+
+Darkbot 7.0-RC9: Oct 5th, 2003
+ - This feature was already added, but I never documented it...
+ The R~ variable (random nickname) now works in RDB topic
+ responses. Look for randomstuff compatibility in the near
+ future, but first i have to rewrite do_random_stuff() to
+ accept a channel arguement.
+
+ - I was reading through this WHATSNEW file, and corrected
+ a few typos that were made.
+
+ - I removed the run_deop() code. It didn't work very
+ well anyway, or at all actually. I plan on reintroducing
+ this whenever I can get some free time.
+
+ - Fixed Ebonic language file.
+
+ - Added Taiwanish language option.
+
+Darkbot 7.0-RC8: June 20th, 2003
+ - I screwed up the Makefile by accident, adding some
+ new features, and I hadn't finished yet when I
+ committed. OOPS. Fixed now.
+
+ - Updated more depricated URL strings.
+
+ - Updated language files.
+
+ - Minor changes on startup splash screen.
+
+ - Support forum URL is now http://www.darkbot.org/forum
+
+ - Updated the default servers.ini file to reflect the
+ changes.
+
+ - You can now use Darkbot on servers which require a
+ connection password. Check servers.ini for an
+ example.
+
+ - Updated some outdated text in the configure script.
+
+ - Darkbots now default to irc.darkbot.org #darkbot.
+ Please edit your setup.ini and servers.ini files to
+ minimize traffic, since that is also our help channel.
+
+Darkbot 7.0-RC7: June 2nd, 2003
+
+ - Updated the INSTALL.txt file to reflect some support
+ changes.
+
+ - Fix for possible problems with counting in datasearch
+ algorithm. long was changed to size_t.
+
+ - Fixed bug that prevented ACTIONs from being used on
+ RDB responses.
+
+ - Suppressed more warnings when compiling on Solaris
+ from chan.c, in the do_math function.
+
+ - Removed another unused variable from url.c
+
+ - Removed an unused variable from random.c
+
+ - Removed the .runonce script from executing during the
+ "make" process. The funcionality this script produced
+ is depricated. Also removed this file from the distro.
+
+ - Darkbot will now properly compile on Solaris. To make
+ this happen, you need to manually edit source/Makefile,
+ and remove a comment symbol before the word "LIBS".
+
+ - Suppressed a warning message from main.h that happened
+ when compiling on Solaris.
+
+ - Makefile now works correctly on Solaris.
+
+ - The MEM command is now limited to only users with admin
+ (level 3) access on the bot.
+
+ - On startup, we now run_performs() BEFORE we join our home
+ channel. This fixes an issue that happened chiefly on
+ Undernet, and allows the bot to authenticate and set
+ umode +x, before it joins any channels. I hope to fix
+ this in a better way, but for now it's driving me nuts.
+
+ - The startup screen now actually reflects what version this
+ is. Sorry, I forgot all about that startup screen, because
+ it's hard coded. hehe.
+
+ - The Q~ variable in topic replies now works correctly. It
+ was chopping all but the first word off, before.
+
+ - Added MrSiMo to the list of contributors for his Arabic
+ translation.
+
+ - The sleep command now accepts an arguement for the number
+ of seconds you want the bot to sleep for.
+
+ - DEFAULT_UMODE is now set immediately upon connection.
+ Several users said this was not being done, it was. It was
+ just waiting >300 seconds, for whatever reason. Also, the
+ bot command PERFORMS now sets DEFAULT_UMODE in addition
+ to running the performs file.
+
+ - New command line option.
+ -I now specifies the location of the directory containing
+ the data files (by default, dat/).
+
+ - Multiple command line arguements are now supported.
+ I have no clue why this wasn't done before.
+
+ - The .debug and .debug2 scripts were missing from the
+ distribution. They're back now.
+
+ - Found another place where the bot wasn't deleting old
+ userlist entries. This has been fixed.
+
+ - Added the CHANUSERS command. All this does is return
+ a list of users on either the specified channel, or
+ the current channel, if none is specified. I may
+ remove this eventually, as i'm just using it for
+ debugging purposes right now.
+
+ - CHANINFO command will output to whatever channel it
+ received the command from now, instead of the channel
+ it's showing data about.
+
+ - The CHANINFO command now supports a channel name
+ parameter. Dunno why it didn't have that before...
+
+ - Darkbot is on CVS now at SourceForge!
+
+ - Soapta revamped the google module.
+
+ - The MEM command now displays the correct process. I removed
+ the -x flag from the ps command it was issuing, and it fixed
+ it. If anyone sees any reason the -x flag should be used,
+ let me know and i'll recode the whole thing.
+
+ - Added SETHOST alias for the VHOST command.
+
+ - Updates to the Ebonic and French languages which define
+ Lbadtopic and Lbadtopic2 now. Other languages still need
+ this added.
+
+ - The RDB command, which gives information about the number
+ of RDB files, can now be used with an arguement, to tell
+ how many lines are in a specific RDB file. It was supposed
+ to do this before, but it didn't work properly. This
+ command is still unavailable in Windows.
+
+ - Removed a warning concerning do_randq that happened if you
+ compiled with RANDOM_STUFF undefined.
+
+ - Fixed another bug that was causing the bot to never remove
+ old entries from it's internal user list. This time it wasn't
+ parsing the channel name for PARTs correctly. I also removed
+ some parsing being done on an unused variable whenever
+ someone parted a channel.
+
+ - Fix for RDB command... i forgot to change this when I moved
+ all of the RDB files to their own directory. OOPS! :)
+
+Darkbot 7.0-RC6: Oct 30th, 2002
+
+ - Added Arabic language.
+
+ - You can now toggle the use of encrypted userlist.db passwords.
+ Check defines.h for this.
+
+ - Fix for the bot not executing performs when it connects to
+ a server which does not have an MOTD. Also cleaned up a small
+ amount of redundant code dealing with performs.
+
+ - The bot will no longer crash if it encounters blank lines in
+ the info2.db during data searches (DSEARCH and SEARCH commands).
+
+
+Darkbot 7.0-RC5: Sep 24th, 2002
+
+ - Fixed do_randomtopic(), so it's now possible to output the first
+ quote. it never did this before (oops).
+
+ - Fixed the socket connection routines for windows.
+
+ - Fixed a rather large bug that caused the bot to never actually delete
+ users from the internal user list when necessary.
+ This also fixes another problem where the bot would put return a
+ nickname from R~ that is not actually on the channel.
+
+ - RDB topics now support the use of tokenized responses. This includes
+ the use of tokenized responses in the WHUT and DUNNO replies.
+
+ - Added timers directory to the distribution, it was missing.
+
+ - Got rid of the do_randomtopic2() function for the random dunno, and
+ random whut replies. do_randomtopic() now handles everything. This
+ cut down the size of the code a bit, and should have been how it was
+ done originally, anyway. This also means variables and also raw
+ commands can now be used in the replies for whut, and dunno, also.
+
+ - Added a level 3 helper command, "PERFORMS", which just executes all
+ all commands that are in the bot's performs.ini file, at any time.
+
+ - Fixed minor oversight that I created when adding a check for illegal
+ characters in !nick, it now lets you use all legal characters.
+
+ - RDB topic responses can now contain raw commands.
+
+ - RDB files are now stored in their own directory. By default, this is
+ dat/rdb.
+
+ - Changed get_word() function to make it a little more useful.
+
+ - Changed some error replies in the RANDQ function, and added a response
+ for the condition of randomstuff.ini being empty.
+
+ - Cleaned up the prototypes.h file, it looked really ugly. :)
+ This also reduced the total amount of code by a bit, but i'm not going
+ to bother checking just how much. :P
+
+ - Fixed an issue in seen, that might cause the bot to improperly count
+ the number of seens in the database.
+
+ - Fixed minor bug in add_randstuff() that caused the bot to say there was
+ one more randomstuff in the file it's adding to than there actually was.
+
+ - Fixed a bug in do_random_stuff() that prevented the bot from outputting
+ randomstuffs, in very rare instances. This suspectedly was causing some
+ strangeness noted in Debian, and some other OSs.
+
+ - Added a new alias for randomstuff, RS.
+
+ - Fixed a bug in !USERLIST, that caused the bot to flood itself, and not
+ show of all of the users it was supposed to show.
+ !USERLIST now works correctly, and hopefully on ALL OS.
+
+ - Fixed a bug in !BANLIST that caused it to not output correctly on some
+ OS.
+
+ - Due to abuse and channel cluttering, the !VARIABLES command now messages
+ the user with the output, instead of sending it to the current channel.
+
+ - Fixed a compilation error concerning BITCH_DEOP_REASON being undeclared.
+ What i did is remove this, and now if BITCH_ABOUT_DEOP is turned on, it
+ just runs the list of commands in deop.ini. If BITCH_ABOUT_DEOP is turned
+ off, it does nothing when the bot is deoped. Apparently, before this
+ version, it ALWAYS ran deop.ini, and the BITCH_ABOUT_DEOP just toggled the
+ bot saying whatever line was defined in BITCH_DEOP_REASON. That seemed kind
+ of pointless, to me, but i never noticed it before now.
+
+Darkbot 7.0-RC4: Jun 24th, 2002
+ Again, Ron did a couple necessary and urgent changes and fixes:
+ - Finally, the bug in windows concerning DEL and REPLACE has
+ been corrected. A function which checks readability and
+ writeability was leaving the info2.db file open at startup,
+ and causing all sorts of problems, since the new code structure
+ was implemented.
+
+ - NO NEED FOR TOP LINE WITH NUMBER ANYMORE on random phrase files.
+ ... After yet even more problems with randomstuffs being counted
+ improperly, I've recoded the entire randomstuff routine.
+ They no longer rely on any number at the top of the file, which
+ means you can remove that number from your randomstuff.ini.
+ Optimizations made to make randomstuff more random, also.
+
+ - Fixed a bug where Darkbot would crash when you use !nick
+ with illegal characters.
+
+ - Patched a socket issue in create_connection() that appeared
+ only in windows.
+
+ - Eliminated a warning dealing with the redefinition of size_t
+ when compiling the bot in windows.
+
+ - Eliminated all of the casting done on malloc in the program.
+ Casting malloc is totally unnecessary, and can mask other
+ errors.
+
+ - Improved the fix for topics that consist entirely of "*"
+ characters. It now checks for "?" also. This prevents
+ segmentation faults, and topics which are entirely wild-
+ cards are seriously annoying anyway. Sorry if it's in any
+ inconvenience to anyone.
+
+ - Minor cosmetic fix to the output of DBSIZE, it'll now say
+ that the database is "1 byte in size", instead of "1 bytes
+ in size", if it's only 1 byte. This should never happen,
+ but if it does, it'll look nice. :)
+
+ - Added #define MSG_RESPONSES to defines.h to have Darkbot
+ answering or not to private queries. Check next 2 defines.
+ (default is OFF)
+
+ - Added #define ALLOW_ADD_IN_MSG to turn ON or OFF the
+ possibility of ADDing database entries to Darkbot in
+ private message. (default = OFF)
+
+ - Added #define ALLOW_DEL_IN_MSG to turn ON or OFF the
+ possibility of DELeting database entries from Darkbot in
+ private message. (default = OFF)
+
+ - Added RANDQ function and alias RANDQUOTE, to output a random
+ line from your randomstuff.ini that contains a specified search
+ string.
+ RANDQ output returns a (11/23) type thing at the beginning of
+ the line, which tells which quote it's showing, out of how many
+ were matched in your search.
+ RANDQ can be used from any channel, and in MSG. It wont output
+ An obvious side effect to this, is that the ~ variable in
+ randomstuffs will evaluate to a nickname, if it's used in private
+ message (The nickname of whoever invoked it).
+ To make the function toggleable a directive with the same name
+ was made on defines.h (default = ON)
+ Try it out, !RANDQ <stuff>
+
+ - Added RANDQ2 command, which is the same as RANDQ, only it
+ matches case sensitively.
+
+ - Added BACKUP_RANDOMSTUFF define to backup randomstuff.ini
+ file every time a random phrase is added. This was done due
+ to missing contents when adding an entry on a file with a high
+ ammount of phrases. Latest fixes resolves the problem but this
+ define will stay to play on the safe side and/or if user likes
+ to backup changed files.
+
+ - Added hostmask code, where the bot converts hostmasks to
+ *jason@*.superlink.net, or *jason@203.203.203.*.
+
+ - After lots of complaints, the second line in the info reply
+ only shows up with the stats command now.
+
+ Shell utilities
+ - Adjusted check-integrity to the non necessity anymore of top
+ line with number of random entries on random phrases files.
+ - configure script now forces entering at least one server
+ and at least one user level 3, on servers.ini and userlist.db
+ files respectively, in case those files are empty.
+ (working on checking errors on user input).
+ - added an option on 'configure' to import servers.ini and
+ userlist.db from another location.
+ - Added BSDs compatibility to all shell scripts.
+ - Added Cygwin compatibility to AddServer, AddUser,
+ check-integrity and download-databases scripts (live-update
+ and dbcron not fully tested yet).
+
+Darkbot 7.0-RC3: May 22nd, 2002
+
+ ron@darkbot.org has worked on the following 4 issues:
+ - Fixed a bug that caused crashes if the bot responds to a
+ topic containing R~ in private message.
+
+ - Fixed a bug that caused excess floods if the bot were to
+ send private messages to itself.
+
+ - Fixed a bug concerning topics that consists entirely of the
+ '*' character, which caused segmentation faults. Darkbot
+ will not allow you to add a topic like this now.
+
+ - Fixed the Makefile, on my computer it kept compiling all
+ of the source files seperately and then compiling them all
+ together instead of linking the .o files it made.
+
+ - Added directory logs lost in action. It is now within dat directory
+
+ - Fixed .Stripdb and .Stripdb2 - so now points to the correct bin path
+
+ Shell utilities: (all changed/improved - read docs/README_UTILS)
+ - Added README_UTILS to docs directory with information about shell utils
+
+ - Added compatibility to wget (besides lynx) on scripts that needs to
+ connect to internet
+
+ - All utility scripts now share working directory .scriptutils instead of
+ having dynamic files all over scripts directory
+
+ - download-databases now integrated on live-update (besides standalone)
+ (if updated on RC3 the change will take effect next time live-update
+ is executed)
+
+ - Added a couple more features and improved others for more accuracy on
+ check-integrity engine. USE IT before asking for help or going into
+ paranoia if you suspect you have data errors or even if you are not
+ sure eventual errors became from bad entries on data files.
+
+ - Added a few features to AddUser utility
+
+ - configure script now bypasses previously configured items. Just hit
+ ENTER key to go to the next setup. Also it gets already configured
+ parameters and use it as session defaults instead of the usual Darkbot
+ defaults. The script is now linked to AddUser and AddServer with all
+ features those utilities now have.
+
+
+Darkbot 7.0-RC2: Apr 13th, 2002
+
+ - Windows port. Not much to do at this time. Last changes
+ on the core code made some commands not working properly.
+ Any interested coder... the affected commands
+ are DELETE, which do not delete, and REPLACE, which leaves
+ in info2.db 2 entries with the same topic. I should remind
+ all coders that the source must be sent together with it's
+ executable/bin files. Any coder willing to participate use
+ the email on top of this info or directly to me
+ at LuizCB@darkbot.info . (only development matters please)
+
+ - The following are a couple Unix scripts to help on Darkbot
+ management. Most are complete, some needs small adjustments
+ or more features. I've used basic sh technics on it's making,
+ I should say, while learning the language on the fly.
+ Please test them and send any modiffs in case you are able
+ to. The idea of these shell scripts is mainly to open a door
+ to C coders to implement them so it will be possible to port
+ it to other platforms.
+
+ - A more featured AddServer. Downloads and installs servers
+ of the network you choose. Thanks to the folks at the
+ International Federation of IRC - http://ifirc.com
+ for a job well done on your site! The merit of that will
+ go to our web page on the credits area as soon as stable
+ version 7 is released.
+
+ - New crontab setup utility. Run dbcron on scripts dir and
+ if crontab is active on your shell the script will do
+ everything for you (10 mins interval cron job).
+
+ - Implemented a new update utility. On scripts
+ directory type ./live-update -h for help on it's
+ usage. At this stage the update engine will not
+ transfer your previous directives on defines.h
+ or darkbot.c to the new file, so you'll have to
+ edit defines.h manually and compile Darkbot.
+ The script is compatible with all Darkbot releases
+ and can be launched standalone providing it's in
+ scripts directory. To install it ( in case you don't have
+ it with your Darkbot) type
+ lynx -source http://live-update.darkbot.info > live-update
+ then chmod +x live-update
+ (get-latest will no longer be available)
+
+ - New download-databases utility. ( it will be integrated soon on
+ live-update engine but can also work standalone).
+
+ - New file-integrity utility ( still needs some ajustments and
+ more features but you can use it already - works with
+ download-databases utility or by itself). Type
+ ./check-integrity to check info2.db. Due to unpredictable
+ user entries on info2.db this utility could behave
+ abnormally on some special characters. Please send me all
+ info2.db file in case anything like that happens so I can
+ make exclusions on the code.
+
+ Changes applied by reet:
+ - Fixed major bug when adding users - the password wasn't
+ encrypted, thus user could never login.
+
+ - Added new commands IGNORE & UNIGNORE syntax is:
+ <bot> ignore <nick>
+ <bot> unignore <nick>
+ The ignore list is only stored in RAM, changing
+ nicks will get around this ignore. This is useful
+ to ignore people who query the bot too much.
+
+ - Applied code optimization patches on info and check_permban,
+ submited by Neil Darlow
+
+ - Preview for next full release: adjustments on shell utilities
+ and a full featured menu GUI might be finished. Minor
+ changes in meanwhile can be updated using live-update
+ engine.
+
+
+Darkbot 7.0-RC1: Mar 2nd, 2002
+
+ - Fixed get-latest script; besides checking for code updates
+ also looks for latest news. Database files updates
+ will be also done/actualized soon. It's not linked
+ anywhere by now so if you want to use it type it's
+ name.
+
+ - Organized file structure; all scripts are now on scripts
+ directory, documents on docs except README which is
+ now on Darkbot's root dir. A new contributors file
+ was created with the list of colaborators.
+
+ - defines.h is now organized in different way and prepared
+ to a "shell GUI" to be released soon.
+
+ - Organized 'configure' in a different way. Now it starts
+ with defines.h editing and then it goes to data files.
+
+ - scripts/dbcron - a new script to execute crontab. There is
+ plenty of help how to use in it. Read it. Soon the
+ reconnection process will me automated.
+
+ - Updated makefile to reflect the new directory tree.
+
+ - Code contributors please use this release as the base of
+ your changes.
+
+ - The next changes are code modifications also in preparation
+ for release 7, mostly adapted, updated or implemented
+ by reet, paul @ darkbot.info
+
+ - Added GOOGLE feature. Simply type:
+ <bot> google <search string>
+ The bot will then return the first URL google
+ returns.
+ #define GOOGLE ON to use this feature.
+
+ - ********** IMPORTANT **********************************
+ - userlist.db passwords are now *ENCRYPTED*
+ If you are using an older version userlist.db
+ you MUST set all the passwords to 0 *** OR ***
+ Cygwin/Windows users run convert.exe
+ UNIX users run ./convert
+ and your userlist.db will be converted
+ *******************************************************
+
+ - #define PERFORM_TIMER ON if you want darkbot to send its
+ PERFORM.INI to the IRC server every 60 seconds, useful
+ if your bot is banned from a channel, or couldn't
+ log in to channel services due to a net split etc.
+ It's in defines.h
+
+
+Darkbot 7 (alpha 2.1): Dec 23rd, 2001
+
+ - Fixed 'INFO2.DB must have at least one topic' problem. Bot
+ should work normally, even if INFO2.DB is empty.
+
+ - Added 'stats' support to darkbot, <botnick> stats will return
+ total number of questions asked since it started
+ recording. You can also do <botnick> stats <nickname>
+ to get indivdual stats from a user. dat/stats.db holds
+ the data.
+
+ - Added 'quiz' support to darkbot, <botnick> quiz to execute
+ the quiz, it will pick a random question/answer from
+ dat/quiz.db. The format of the question answer in the
+ file should be <question>@<answer>
+ e.g. What is 1+1?@The answer is 2!
+ quiz is still in experimental stages, check defines.h
+ to enable/set it up.
+
+
+Darkbot 7 (alpha 2): Dec 17th, 2001
+
+ - New define - #define VOICE_USERS_ON_JOIN [on/off]
+
+ - New commands: /msg bot infosize or /msg bot dbsize
+ or in channel: bot infosize or bot dbsize
+ returns the file size of INFO2.DB
+
+ - New command: bot whisper <nick> about <topic>
+ darkbot will NOTICE the user, instead of PRIVMSG
+
+ - Moved source code and Makefile to source directory -
+ this keeps the root tree of darkbot clean, nothing
+ changes for the user, they still type make in the
+ darkbot root, and the binary will be copied there.
+
+ - Repaired get_rand_nick() problem - bot was still returning
+ it's own nick - *should* be ok now.
+
+ - Added Ron's random whut, and dunno function.
+
+Darkbot 7 (alpha 2): Dec 16th, 2001
+
+ - Removed #ifdef WIN32 references for sprintf/snprintf,
+ have included the function snprintf() in general.c,
+ for older compilers - #define SNPRINTF_SUPPORT should
+ be switched OFF if your compiler supports snprintf()
+ this is quite a change.
+
+ - Due to lots of people not reading #defines.h and complaining
+ about make error (clock_t), the configure script
+ will display an alert about this just before defines.h
+ is about to be edited.
+
+ - New defines - #define CONNECT_WAIT_TIMEOUT [seconds]
+ #define OP_USERS_ON_LOGIN [on/off]
+
+ - New PRIVMSG commands - OP, DEOP, VOICE/V, DEVOICE/DEV/DV/,
+ DVOICE, KICK/WACK/K, DELETE/REMOVE/
+ FORGET/DEL, TELL, ADD/REMEMBER/SAVE,
+ WHERE/WHO, ADDUSER, DIE
+ Some of them aren't new, but didn't work, and are now fixed.
+ Just /msg bot tell nick about topic, these commands
+ usually NOTICE the user, rather than PRIVMSG.
+
+ - The connection routine to the server should be better -
+ instead of quitting after failing to connect, it
+ will constantly cycle all the servers.
+
+ - I've added CYGWIN support in the Makefile - just to hide
+ those size_t warnings if you get them. If you use
+ CYGWIN, just use make cygwin
+
+ - Permban bug fixed.
+
+ - Info/Info2 bug fixed.
+
+ - NICK bug fixed - bot will keep the new nick until it quits.
+
+ - There is a bug/feature where if a nick has a pipe (|) and
+ requests a topic that has raw - commands, it ignores
+ them - looking in to this.
+
+
+
diff --git a/beta/Makefile.in b/beta/Makefile.in
index 768f52e..188d161 100644
--- a/beta/Makefile.in
+++ b/beta/Makefile.in
@@ -1,509 +1,528 @@
# Makefile.in generated by automake 1.7.9 from Makefile.am.
# @configure_input@
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
# Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.
@SET_MAKE@
srcdir = @srcdir@
top_srcdir = @top_srcdir@
VPATH = @srcdir@
pkgdatadir = $(datadir)/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
pkgincludedir = $(includedir)/@PACKAGE@
top_builddir = .
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
INSTALL = @INSTALL@
install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
INSTALL_HEADER = $(INSTALL_DATA)
transform = $(program_transform_name)
NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
ACLOCAL = @ACLOCAL@
AMDEP_FALSE = @AMDEP_FALSE@
AMDEP_TRUE = @AMDEP_TRUE@
AMTAR = @AMTAR@
AUTOCONF = @AUTOCONF@
AUTOHEADER = @AUTOHEADER@
AUTOMAKE = @AUTOMAKE@
AWK = @AWK@
CC = @CC@
CCDEPMODE = @CCDEPMODE@
CFLAGS = @CFLAGS@
CP = @CP@
CPP = @CPP@
CPPFLAGS = @CPPFLAGS@
CYGPATH_W = @CYGPATH_W@
DEFS = @DEFS@
DEPDIR = @DEPDIR@
ECHO_C = @ECHO_C@
ECHO_N = @ECHO_N@
ECHO_T = @ECHO_T@
EGREP = @EGREP@
EXEEXT = @EXEEXT@
INSTALL_DATA = @INSTALL_DATA@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
LDFLAGS = @LDFLAGS@
LIBOBJS = @LIBOBJS@
LIBS = @LIBS@
LTLIBOBJS = @LTLIBOBJS@
MAKEINFO = @MAKEINFO@
OBJEXT = @OBJEXT@
PACKAGE = @PACKAGE@
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
PACKAGE_NAME = @PACKAGE_NAME@
PACKAGE_STRING = @PACKAGE_STRING@
PACKAGE_TARNAME = @PACKAGE_TARNAME@
PACKAGE_VERSION = @PACKAGE_VERSION@
PATH_SEPARATOR = @PATH_SEPARATOR@
RM = @RM@
SET_MAKE = @SET_MAKE@
SHELL = @SHELL@
STRIP = @STRIP@
VERSION = @VERSION@
ac_ct_CC = @ac_ct_CC@
ac_ct_STRIP = @ac_ct_STRIP@
am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
am__include = @am__include@
am__leading_dot = @am__leading_dot@
am__quote = @am__quote@
bindir = @bindir@
build_alias = @build_alias@
datadir = @datadir@
exec_prefix = @exec_prefix@
host_alias = @host_alias@
includedir = @includedir@
infodir = @infodir@
install_sh = @install_sh@
libdir = @libdir@
libexecdir = @libexecdir@
localstatedir = @localstatedir@
mandir = @mandir@
oldincludedir = @oldincludedir@
prefix = @prefix@
program_transform_name = @program_transform_name@
sbindir = @sbindir@
sharedstatedir = @sharedstatedir@
sysconfdir = @sysconfdir@
target_alias = @target_alias@
EXTRA_DIST = scripts/* docs/* dat/* source/langs/* Makefile source/Makefile
SUBDIRS = source
DIST_SUBDIRS = source
subdir = .
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_HEADER = $(top_builddir)/source/config.h
-CONFIG_CLEAN_FILES =
+CONFIG_CLEAN_FILES = source/Makefile
DIST_SOURCES =
RECURSIVE_TARGETS = info-recursive dvi-recursive pdf-recursive \
ps-recursive install-info-recursive uninstall-info-recursive \
all-recursive install-data-recursive install-exec-recursive \
installdirs-recursive install-recursive uninstall-recursive \
check-recursive installcheck-recursive
-DIST_COMMON = README $(srcdir)/Makefile.in $(srcdir)/configure AUTHORS \
- COPYING ChangeLog INSTALL Makefile.am NEWS aclocal.m4 \
- config.guess config.sub configure configure.ac depcomp \
- install-sh missing mkinstalldirs
+DIST_COMMON = README $(srcdir)/Makefile.in $(srcdir)/configure \
+ ./source/config.h.in AUTHORS COPYING ChangeLog INSTALL \
+ Makefile.am NEWS aclocal.m4 config.guess config.sub configure \
+ configure.ac install-sh
all: all-recursive
.SUFFIXES:
am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
configure.lineno
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.ac $(ACLOCAL_M4)
cd $(top_srcdir) && \
$(AUTOMAKE) --gnu Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)
$(top_builddir)/config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
$(SHELL) ./config.status --recheck
$(srcdir)/configure: $(srcdir)/configure.ac $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
cd $(srcdir) && $(AUTOCONF)
$(ACLOCAL_M4): configure.ac
cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
+
+source/config.h: source/stamp-h1
+ @if test ! -f $@; then \
+ rm -f source/stamp-h1; \
+ $(MAKE) source/stamp-h1; \
+ else :; fi
+
+source/stamp-h1: $(srcdir)/./source/config.h.in $(top_builddir)/config.status
+ @rm -f source/stamp-h1
+ cd $(top_builddir) && $(SHELL) ./config.status source/config.h
+
+$(srcdir)/./source/config.h.in: $(top_srcdir)/configure.ac $(ACLOCAL_M4)
+ cd $(top_srcdir) && $(AUTOHEADER)
+ touch $(srcdir)/./source/config.h.in
+
+distclean-hdr:
+ -rm -f source/config.h source/stamp-h1
+source/Makefile: $(top_builddir)/config.status $(top_srcdir)/source/Makefile.in
+ cd $(top_builddir) && $(SHELL) ./config.status $@
uninstall-info-am:
# This directory's subdirectories are mostly independent; you can cd
# into them and run `make' without going through this Makefile.
# To change the values of `make' variables: instead of editing Makefiles,
# (1) if the variable is set in `config.status', edit `config.status'
# (which will cause the Makefiles to be regenerated when you run `make');
# (2) otherwise, pass the desired values on the `make' command line.
$(RECURSIVE_TARGETS):
@set fnord $$MAKEFLAGS; amf=$$2; \
dot_seen=no; \
target=`echo $@ | sed s/-recursive//`; \
list='$(SUBDIRS)'; for subdir in $$list; do \
echo "Making $$target in $$subdir"; \
if test "$$subdir" = "."; then \
dot_seen=yes; \
local_target="$$target-am"; \
else \
local_target="$$target"; \
fi; \
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|| case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
done; \
if test "$$dot_seen" = "no"; then \
$(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
fi; test -z "$$fail"
mostlyclean-recursive clean-recursive distclean-recursive \
maintainer-clean-recursive:
@set fnord $$MAKEFLAGS; amf=$$2; \
dot_seen=no; \
case "$@" in \
distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
*) list='$(SUBDIRS)' ;; \
esac; \
rev=''; for subdir in $$list; do \
if test "$$subdir" = "."; then :; else \
rev="$$subdir $$rev"; \
fi; \
done; \
rev="$$rev ."; \
target=`echo $@ | sed s/-recursive//`; \
for subdir in $$rev; do \
echo "Making $$target in $$subdir"; \
if test "$$subdir" = "."; then \
local_target="$$target-am"; \
else \
local_target="$$target"; \
fi; \
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|| case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
done && test -z "$$fail"
tags-recursive:
list='$(SUBDIRS)'; for subdir in $$list; do \
test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
done
ctags-recursive:
list='$(SUBDIRS)'; for subdir in $$list; do \
test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
done
ETAGS = etags
ETAGSFLAGS =
CTAGS = ctags
CTAGSFLAGS =
tags: TAGS
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
unique=`for i in $$list; do \
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
done | \
$(AWK) ' { files[$$0] = 1; } \
END { for (i in files) print i; }'`; \
mkid -fID $$unique
TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
$(TAGS_FILES) $(LISP)
tags=; \
here=`pwd`; \
if (etags --etags-include --version) >/dev/null 2>&1; then \
include_option=--etags-include; \
else \
include_option=--include; \
fi; \
list='$(SUBDIRS)'; for subdir in $$list; do \
if test "$$subdir" = .; then :; else \
test -f $$subdir/TAGS && \
tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
fi; \
done; \
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
unique=`for i in $$list; do \
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
done | \
$(AWK) ' { files[$$0] = 1; } \
END { for (i in files) print i; }'`; \
test -z "$(ETAGS_ARGS)$$tags$$unique" \
|| $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
$$tags $$unique
ctags: CTAGS
CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
$(TAGS_FILES) $(LISP)
tags=; \
here=`pwd`; \
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
unique=`for i in $$list; do \
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
done | \
$(AWK) ' { files[$$0] = 1; } \
END { for (i in files) print i; }'`; \
test -z "$(CTAGS_ARGS)$$tags$$unique" \
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
$$tags $$unique
GTAGS:
here=`$(am__cd) $(top_builddir) && pwd` \
&& cd $(top_srcdir) \
&& gtags -i $(GTAGS_ARGS) $$here
distclean-tags:
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
top_distdir = .
distdir = $(PACKAGE)-$(VERSION)
am__remove_distdir = \
{ test ! -d $(distdir) \
|| { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
&& rm -fr $(distdir); }; }
GZIP_ENV = --best
distuninstallcheck_listfiles = find . -type f -print
distcleancheck_listfiles = find . -type f -print
distdir: $(DISTFILES)
$(am__remove_distdir)
mkdir $(distdir)
- $(mkinstalldirs) $(distdir)/dat $(distdir)/docs $(distdir)/scripts $(distdir)/source $(distdir)/source/langs
+ $(mkinstalldirs) $(distdir)/./source $(distdir)/dat $(distdir)/docs $(distdir)/scripts $(distdir)/source $(distdir)/source/langs
@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
list='$(DISTFILES)'; for file in $$list; do \
case $$file in \
$(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
$(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
esac; \
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
dir="/$$dir"; \
$(mkinstalldirs) "$(distdir)$$dir"; \
else \
dir=''; \
fi; \
if test -d $$d/$$file; then \
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
fi; \
cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
else \
test -f $(distdir)/$$file \
|| cp -p $$d/$$file $(distdir)/$$file \
|| exit 1; \
fi; \
done
list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
if test "$$subdir" = .; then :; else \
test -d $(distdir)/$$subdir \
|| mkdir $(distdir)/$$subdir \
|| exit 1; \
(cd $$subdir && \
$(MAKE) $(AM_MAKEFLAGS) \
top_distdir="$(top_distdir)" \
distdir=../$(distdir)/$$subdir \
distdir) \
|| exit 1; \
fi; \
done
-find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
! -type d ! -perm -400 -exec chmod a+r {} \; -o \
! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
|| chmod -R a+r $(distdir)
dist-gzip: distdir
$(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
$(am__remove_distdir)
dist dist-all: distdir
$(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
$(am__remove_distdir)
# This target untars the dist file and tries a VPATH configuration. Then
# it guarantees that the distribution is self-contained by making another
# tarfile.
distcheck: dist
$(am__remove_distdir)
GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf -
chmod -R a-w $(distdir); chmod a+w $(distdir)
mkdir $(distdir)/_build
mkdir $(distdir)/_inst
chmod a-w $(distdir)
dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
&& dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
&& cd $(distdir)/_build \
&& ../configure --srcdir=.. --prefix="$$dc_install_base" \
$(DISTCHECK_CONFIGURE_FLAGS) \
&& $(MAKE) $(AM_MAKEFLAGS) \
&& $(MAKE) $(AM_MAKEFLAGS) dvi \
&& $(MAKE) $(AM_MAKEFLAGS) check \
&& $(MAKE) $(AM_MAKEFLAGS) install \
&& $(MAKE) $(AM_MAKEFLAGS) installcheck \
&& $(MAKE) $(AM_MAKEFLAGS) uninstall \
&& $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
distuninstallcheck \
&& chmod -R a-w "$$dc_install_base" \
&& ({ \
(cd ../.. && $(mkinstalldirs) "$$dc_destdir") \
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
} || { rm -rf "$$dc_destdir"; exit 1; }) \
&& rm -rf "$$dc_destdir" \
&& $(MAKE) $(AM_MAKEFLAGS) dist-gzip \
&& rm -f $(distdir).tar.gz \
&& $(MAKE) $(AM_MAKEFLAGS) distcleancheck
$(am__remove_distdir)
@echo "$(distdir).tar.gz is ready for distribution" | \
sed 'h;s/./=/g;p;x;p;x'
distuninstallcheck:
@cd $(distuninstallcheck_dir) \
&& test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
|| { echo "ERROR: files left after uninstall:" ; \
if test -n "$(DESTDIR)"; then \
echo " (check DESTDIR support)"; \
fi ; \
$(distuninstallcheck_listfiles) ; \
exit 1; } >&2
distcleancheck: distclean
@if test '$(srcdir)' = . ; then \
echo "ERROR: distcleancheck can only run from a VPATH build" ; \
exit 1 ; \
fi
@test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
|| { echo "ERROR: files left in build directory after distclean:" ; \
$(distcleancheck_listfiles) ; \
exit 1; } >&2
check-am: all-am
check: check-recursive
all-am: Makefile
installdirs: installdirs-recursive
installdirs-am:
install: install-recursive
install-exec: install-exec-recursive
install-data: install-data-recursive
uninstall: uninstall-recursive
install-am: all-am
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
installcheck: installcheck-recursive
install-strip:
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
`test -z '$(STRIP)' || \
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
mostlyclean-generic:
clean-generic:
distclean-generic:
-rm -f $(CONFIG_CLEAN_FILES)
maintainer-clean-generic:
@echo "This command is intended for maintainers to use"
@echo "it deletes files that may require special tools to rebuild."
clean: clean-recursive
clean-am: clean-generic mostlyclean-am
distclean: distclean-recursive
-rm -f $(am__CONFIG_DISTCLEAN_FILES)
-rm -f Makefile
-distclean-am: clean-am distclean-generic distclean-tags
+distclean-am: clean-am distclean-generic distclean-hdr distclean-tags
dvi: dvi-recursive
dvi-am:
info: info-recursive
info-am:
install-data-am:
install-exec-am: install-exec-local
install-info: install-info-recursive
install-man:
installcheck-am:
maintainer-clean: maintainer-clean-recursive
-rm -f $(am__CONFIG_DISTCLEAN_FILES)
-rm -rf $(top_srcdir)/autom4te.cache
-rm -f Makefile
maintainer-clean-am: distclean-am maintainer-clean-generic
mostlyclean: mostlyclean-recursive
mostlyclean-am: mostlyclean-generic
pdf: pdf-recursive
pdf-am:
ps: ps-recursive
ps-am:
uninstall-am: uninstall-info-am
uninstall-info: uninstall-info-recursive
.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am clean \
clean-generic clean-recursive ctags ctags-recursive dist \
dist-all dist-gzip distcheck distclean distclean-generic \
- distclean-recursive distclean-tags distcleancheck distdir \
- distuninstallcheck dvi dvi-am dvi-recursive info info-am \
- info-recursive install install-am install-data install-data-am \
- install-data-recursive install-exec install-exec-am \
- install-exec-local install-exec-recursive install-info \
- install-info-am install-info-recursive install-man \
+ distclean-hdr distclean-recursive distclean-tags distcleancheck \
+ distdir distuninstallcheck dvi dvi-am dvi-recursive info \
+ info-am info-recursive install install-am install-data \
+ install-data-am install-data-recursive install-exec \
+ install-exec-am install-exec-local install-exec-recursive \
+ install-info install-info-am install-info-recursive install-man \
install-recursive install-strip installcheck installcheck-am \
installdirs installdirs-am installdirs-recursive \
maintainer-clean maintainer-clean-generic \
maintainer-clean-recursive mostlyclean mostlyclean-generic \
mostlyclean-recursive pdf pdf-am pdf-recursive ps ps-am \
ps-recursive tags tags-recursive uninstall uninstall-am \
uninstall-info-am uninstall-info-recursive uninstall-recursive
all-am: source/darkbot$(EXEEXT)
cp -f source/darkbot$(EXEEXT) .
convertdb: source/convertdb$(EXEEXT)
cp -f source/convertdb$(EXEEXT) .
install-exec-local:
$(INSTALL) -d -m 755 $(prefix)
$(INSTALL) -m 744 ./source/darkbot $(prefix)
@echo
@echo darkbot-`cat VERSION` has been installed to $(prefix)
@echo
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:
diff --git a/beta/config.log b/beta/config.log
index d646f7e..f5b3d64 100644
--- a/beta/config.log
+++ b/beta/config.log
@@ -1,818 +1,158 @@
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by configure, which was
generated by GNU Autoconf 2.59. Invocation command line was
$ ./configure
## --------- ##
## Platform. ##
## --------- ##
hostname = robbins
uname -m = i686
uname -r = 1.5.9(0.112/4/2)
uname -s = CYGWIN_NT-5.0
uname -v = 2004-03-18 23:05
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /usr/X11R6/bin
PATH: /usr/local/bin
PATH: /usr/bin
PATH: /bin
PATH: /cygdrive/c/WINNT/system32
PATH: /cygdrive/c/WINNT
PATH: /cygdrive/c/WINNT/System32/Wbem
PATH: /cygdrive/c/Program Files/SecureCRT 3.0
PATH: /cygdrive/c
PATH: /cygdrive/c/winnt
PATH: /cygdrive/c/winnt/system32
PATH: .
PATH: /usr/bin
## ----------- ##
## Core tests. ##
## ----------- ##
-configure:1340: checking for a BSD-compatible install
-configure:1395: result: /usr/bin/install -c
-configure:1406: checking whether build environment is sane
-configure:1449: result: yes
-configure:1482: checking for gawk
-configure:1498: found /usr/bin/gawk
-configure:1508: result: gawk
-configure:1518: checking whether make sets $(MAKE)
-configure:1538: result: yes
-configure:1749: checking for gcc
-configure:1765: found /usr/bin/gcc
-configure:1775: result: gcc
-configure:2019: checking for C compiler version
-configure:2022: gcc --version </dev/null >&5
-gcc (GCC) 3.3.1 (cygming special)
-Copyright (C) 2003 Free Software Foundation, Inc.
-This is free software; see the source for copying conditions. There is NO
-warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-
-configure:2025: $? = 0
-configure:2027: gcc -v </dev/null >&5
-Reading specs from /usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/specs
-Configured with: /GCC/gcc-3.3.1-3/configure --with-gcc --with-gnu-ld --with-gnu-as --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --libdir=/usr/lib --libexecdir=/usr/sbin --mandir=/usr/share/man --infodir=/usr/share/info --enable-languages=c,ada,c++,f77,pascal,java,objc --enable-libgcj --enable-threads=posix --with-system-zlib --enable-nls --without-included-gettext --enable-interpreter --enable-sjlj-exceptions --disable-version-specific-runtime-libs --enable-shared --disable-win32-registry --enable-java-gc=boehm --disable-hash-synchronization --verbose --target=i686-pc-cygwin --host=i686-pc-cygwin --build=i686-pc-cygwin
-Thread model: posix
-gcc version 3.3.1 (cygming special)
-configure:2030: $? = 0
-configure:2032: gcc -V </dev/null >&5
-gcc: `-V' option must have argument
-configure:2035: $? = 1
-configure:2058: checking for C compiler default output file name
-configure:2061: gcc conftest.c >&5
-configure:2064: $? = 0
-configure:2110: result: a.exe
-configure:2115: checking whether the C compiler works
-configure:2121: ./a.exe
-configure:2124: $? = 0
-configure:2141: result: yes
-configure:2148: checking whether we are cross compiling
-configure:2150: result: no
-configure:2153: checking for suffix of executables
-configure:2155: gcc -o conftest.exe conftest.c >&5
-configure:2158: $? = 0
-configure:2183: result: .exe
-configure:2189: checking for suffix of object files
-configure:2210: gcc -c conftest.c >&5
-configure:2213: $? = 0
-configure:2235: result: o
-configure:2239: checking whether we are using the GNU C compiler
-configure:2263: gcc -c conftest.c >&5
-configure:2269: $? = 0
-configure:2273: test -z
- || test ! -s conftest.err
-configure:2276: $? = 0
-configure:2279: test -s conftest.o
-configure:2282: $? = 0
-configure:2295: result: yes
-configure:2301: checking whether gcc accepts -g
-configure:2322: gcc -c -g conftest.c >&5
-configure:2328: $? = 0
-configure:2332: test -z
- || test ! -s conftest.err
-configure:2335: $? = 0
-configure:2338: test -s conftest.o
-configure:2341: $? = 0
-configure:2352: result: yes
-configure:2369: checking for gcc option to accept ANSI C
-configure:2439: gcc -c -g -O2 conftest.c >&5
-configure:2445: $? = 0
-configure:2449: test -z
- || test ! -s conftest.err
-configure:2452: $? = 0
-configure:2455: test -s conftest.o
-configure:2458: $? = 0
-configure:2476: result: none needed
-configure:2494: gcc -c -g -O2 conftest.c >&5
-conftest.c:2: error: syntax error before "me"
-configure:2500: $? = 1
-configure: failed program was:
-| #ifndef __cplusplus
-| choke me
-| #endif
-configure:2644: checking for style of include used by make
-configure:2672: result: GNU
-configure:2700: checking dependency style of gcc
-configure:2783: result: gcc3
-configure:2800: checking whether make sets $(MAKE)
-configure:2820: result: yes
-configure:2831: checking for rm
-configure:2849: found /usr/bin/rm
-configure:2861: result: /usr/bin/rm
-configure:2870: checking for cp
-configure:2888: found /usr/bin/cp
-configure:2900: result: /usr/bin/cp
-configure:2910: checking for main in -lcrypt
-configure:2934: gcc -o conftest.exe -g -O2 conftest.c -lcrypt >&5
-configure:2940: $? = 0
-configure:2944: test -z
- || test ! -s conftest.err
-configure:2947: $? = 0
-configure:2950: test -s conftest.exe
-configure:2953: $? = 0
-configure:2966: result: yes
-configure:2978: checking for main in -luser32
-configure:3002: gcc -o conftest.exe -g -O2 conftest.c -luser32 -lcrypt >&5
-configure:3008: $? = 0
-configure:3012: test -z
- || test ! -s conftest.err
-configure:3015: $? = 0
-configure:3018: test -s conftest.exe
-configure:3021: $? = 0
-configure:3034: result: yes
-configure:3054: checking for dirent.h that defines DIR
-configure:3078: gcc -c -g -O2 conftest.c >&5
-configure:3084: $? = 0
-configure:3088: test -z
- || test ! -s conftest.err
-configure:3091: $? = 0
-configure:3094: test -s conftest.o
-configure:3097: $? = 0
-configure:3108: result: yes
-configure:3121: checking for library containing opendir
-configure:3151: gcc -o conftest.exe -g -O2 conftest.c -luser32 -lcrypt >&5
-configure:3157: $? = 0
-configure:3161: test -z
- || test ! -s conftest.err
-configure:3164: $? = 0
-configure:3167: test -s conftest.exe
-configure:3170: $? = 0
-configure:3240: result: none required
-configure:3381: checking how to run the C preprocessor
-configure:3416: gcc -E conftest.c
-configure:3422: $? = 0
-configure:3454: gcc -E conftest.c
-conftest.c:14:28: ac_nonexistent.h: No such file or directory
-configure:3460: $? = 1
-configure: failed program was:
-| /* confdefs.h. */
-|
-| #define PACKAGE_NAME ""
-| #define PACKAGE_TARNAME ""
-| #define PACKAGE_VERSION ""
-| #define PACKAGE_STRING ""
-| #define PACKAGE_BUGREPORT ""
-| #define PACKAGE "darkbot"
-| #define VERSION "7f3"
-| #define HAVE_LIBCRYPT 1
-| #define HAVE_LIBUSER32 1
-| #define HAVE_DIRENT_H 1
-| /* end confdefs.h. */
-| #include <ac_nonexistent.h>
-configure:3499: result: gcc -E
-configure:3523: gcc -E conftest.c
-configure:3529: $? = 0
-configure:3561: gcc -E conftest.c
-conftest.c:14:28: ac_nonexistent.h: No such file or directory
-configure:3567: $? = 1
-configure: failed program was:
-| /* confdefs.h. */
-|
-| #define PACKAGE_NAME ""
-| #define PACKAGE_TARNAME ""
-| #define PACKAGE_VERSION ""
-| #define PACKAGE_STRING ""
-| #define PACKAGE_BUGREPORT ""
-| #define PACKAGE "darkbot"
-| #define VERSION "7f3"
-| #define HAVE_LIBCRYPT 1
-| #define HAVE_LIBUSER32 1
-| #define HAVE_DIRENT_H 1
-| /* end confdefs.h. */
-| #include <ac_nonexistent.h>
-configure:3611: checking for egrep
-configure:3621: result: grep -E
-configure:3626: checking for ANSI C header files
-configure:3651: gcc -c -g -O2 conftest.c >&5
-configure:3657: $? = 0
-configure:3661: test -z
- || test ! -s conftest.err
-configure:3664: $? = 0
-configure:3667: test -s conftest.o
-configure:3670: $? = 0
-configure:3756: gcc -o conftest.exe -g -O2 conftest.c -luser32 -lcrypt >&5
-configure:3759: $? = 0
-configure:3761: ./conftest.exe
-configure:3764: $? = 0
-configure:3779: result: yes
-configure:3804: checking for sys/types.h
-configure:3820: gcc -c -g -O2 conftest.c >&5
-configure:3826: $? = 0
-configure:3830: test -z
- || test ! -s conftest.err
-configure:3833: $? = 0
-configure:3836: test -s conftest.o
-configure:3839: $? = 0
-configure:3850: result: yes
-configure:3804: checking for sys/stat.h
-configure:3820: gcc -c -g -O2 conftest.c >&5
-configure:3826: $? = 0
-configure:3830: test -z
- || test ! -s conftest.err
-configure:3833: $? = 0
-configure:3836: test -s conftest.o
-configure:3839: $? = 0
-configure:3850: result: yes
-configure:3804: checking for stdlib.h
-configure:3820: gcc -c -g -O2 conftest.c >&5
-configure:3826: $? = 0
-configure:3830: test -z
- || test ! -s conftest.err
-configure:3833: $? = 0
-configure:3836: test -s conftest.o
-configure:3839: $? = 0
-configure:3850: result: yes
-configure:3804: checking for string.h
-configure:3820: gcc -c -g -O2 conftest.c >&5
-configure:3826: $? = 0
-configure:3830: test -z
- || test ! -s conftest.err
-configure:3833: $? = 0
-configure:3836: test -s conftest.o
-configure:3839: $? = 0
-configure:3850: result: yes
-configure:3804: checking for memory.h
-configure:3820: gcc -c -g -O2 conftest.c >&5
-configure:3826: $? = 0
-configure:3830: test -z
- || test ! -s conftest.err
-configure:3833: $? = 0
-configure:3836: test -s conftest.o
-configure:3839: $? = 0
-configure:3850: result: yes
-configure:3804: checking for strings.h
-configure:3820: gcc -c -g -O2 conftest.c >&5
-configure:3826: $? = 0
-configure:3830: test -z
- || test ! -s conftest.err
-configure:3833: $? = 0
-configure:3836: test -s conftest.o
-configure:3839: $? = 0
-configure:3850: result: yes
-configure:3804: checking for inttypes.h
-configure:3820: gcc -c -g -O2 conftest.c >&5
-configure:3826: $? = 0
-configure:3830: test -z
- || test ! -s conftest.err
-configure:3833: $? = 0
-configure:3836: test -s conftest.o
-configure:3839: $? = 0
-configure:3850: result: yes
-configure:3804: checking for stdint.h
-configure:3820: gcc -c -g -O2 conftest.c >&5
-configure:3826: $? = 0
-configure:3830: test -z
- || test ! -s conftest.err
-configure:3833: $? = 0
-configure:3836: test -s conftest.o
-configure:3839: $? = 0
-configure:3850: result: yes
-configure:3804: checking for unistd.h
-configure:3820: gcc -c -g -O2 conftest.c >&5
-configure:3826: $? = 0
-configure:3830: test -z
- || test ! -s conftest.err
-configure:3833: $? = 0
-configure:3836: test -s conftest.o
-configure:3839: $? = 0
-configure:3850: result: yes
-configure:3878: checking fcntl.h usability
-configure:3890: gcc -c -g -O2 conftest.c >&5
-configure:3896: $? = 0
-configure:3900: test -z
- || test ! -s conftest.err
-configure:3903: $? = 0
-configure:3906: test -s conftest.o
-configure:3909: $? = 0
-configure:3919: result: yes
-configure:3923: checking fcntl.h presence
-configure:3933: gcc -E conftest.c
-configure:3939: $? = 0
-configure:3959: result: yes
-configure:3994: checking for fcntl.h
-configure:4001: result: yes
-configure:3878: checking sys/time.h usability
-configure:3890: gcc -c -g -O2 conftest.c >&5
-configure:3896: $? = 0
-configure:3900: test -z
- || test ! -s conftest.err
-configure:3903: $? = 0
-configure:3906: test -s conftest.o
-configure:3909: $? = 0
-configure:3919: result: yes
-configure:3923: checking sys/time.h presence
-configure:3933: gcc -E conftest.c
-configure:3939: $? = 0
-configure:3959: result: yes
-configure:3994: checking for sys/time.h
-configure:4001: result: yes
-configure:3869: checking for unistd.h
-configure:3874: result: yes
-configure:4024: checking windows.h usability
-configure:4036: gcc -c -g -O2 conftest.c >&5
-configure:4042: $? = 0
-configure:4046: test -z
- || test ! -s conftest.err
-configure:4049: $? = 0
-configure:4052: test -s conftest.o
-configure:4055: $? = 0
-configure:4065: result: yes
-configure:4069: checking windows.h presence
-configure:4079: gcc -E conftest.c
-configure:4085: $? = 0
-configure:4105: result: yes
-configure:4140: checking for windows.h
-configure:4147: result: yes
-configure:4160: checking for
-configure:4184: gcc -c -g -O2 conftest.c >&5
-conftest.c: In function `main':
-conftest.c:65: error: syntax error before ')' token
-conftest.c:67: error: syntax error before ')' token
-configure:4190: $? = 1
-configure: failed program was:
-| /* confdefs.h. */
-|
-| #define PACKAGE_NAME ""
-| #define PACKAGE_TARNAME ""
-| #define PACKAGE_VERSION ""
-| #define PACKAGE_STRING ""
-| #define PACKAGE_BUGREPORT ""
-| #define PACKAGE "darkbot"
-| #define VERSION "7f3"
-| #define HAVE_LIBCRYPT 1
-| #define HAVE_LIBUSER32 1
-| #define HAVE_DIRENT_H 1
-| #define STDC_HEADERS 1
-| #define HAVE_SYS_TYPES_H 1
-| #define HAVE_SYS_STAT_H 1
-| #define HAVE_STDLIB_H 1
-| #define HAVE_STRING_H 1
-| #define HAVE_MEMORY_H 1
-| #define HAVE_STRINGS_H 1
-| #define HAVE_INTTYPES_H 1
-| #define HAVE_STDINT_H 1
-| #define HAVE_UNISTD_H 1
-| #define HAVE_FCNTL_H 1
-| #define HAVE_SYS_TIME_H 1
-| #define HAVE_UNISTD_H 1
-| #define WIN32
-| /* end confdefs.h. */
-| #include <stdio.h>
-| #if HAVE_SYS_TYPES_H
-| # include <sys/types.h>
-| #endif
-| #if HAVE_SYS_STAT_H
-| # include <sys/stat.h>
-| #endif
-| #if STDC_HEADERS
-| # include <stdlib.h>
-| # include <stddef.h>
-| #else
-| # if HAVE_STDLIB_H
-| # include <stdlib.h>
-| # endif
-| #endif
-| #if HAVE_STRING_H
-| # if !STDC_HEADERS && HAVE_MEMORY_H
-| # include <memory.h>
-| # endif
-| # include <string.h>
-| #endif
-| #if HAVE_STRINGS_H
-| # include <strings.h>
-| #endif
-| #if HAVE_INTTYPES_H
-| # include <inttypes.h>
-| #else
-| # if HAVE_STDINT_H
-| # include <stdint.h>
-| # endif
-| #endif
-| #if HAVE_UNISTD_H
-| # include <unistd.h>
-| #endif
-| int
-| main ()
-| {
-| if (( *) 0)
-| return 0;
-| if (sizeof ())
-| return 0;
-| ;
-| return 0;
-| }
-configure:4214: result: no
-configure:4225: checking for an ANSI C-conforming const
-configure:4292: gcc -c -g -O2 conftest.c >&5
-configure:4298: $? = 0
-configure:4302: test -z
- || test ! -s conftest.err
-configure:4305: $? = 0
-configure:4308: test -s conftest.o
-configure:4311: $? = 0
-configure:4322: result: yes
-configure:4332: checking for size_t
-configure:4356: gcc -c -g -O2 conftest.c >&5
-configure:4362: $? = 0
-configure:4366: test -z
- || test ! -s conftest.err
-configure:4369: $? = 0
-configure:4372: test -s conftest.o
-configure:4375: $? = 0
-configure:4386: result: yes
-configure:4398: checking whether time.h and sys/time.h may both be included
-configure:4423: gcc -c -g -O2 conftest.c >&5
-configure:4429: $? = 0
-configure:4433: test -z
- || test ! -s conftest.err
-configure:4436: $? = 0
-configure:4439: test -s conftest.o
-configure:4442: $? = 0
-configure:4453: result: yes
-configure:4464: checking return type of signal handlers
-configure:4495: gcc -c -g -O2 conftest.c >&5
-configure:4501: $? = 0
-configure:4505: test -z
- || test ! -s conftest.err
-configure:4508: $? = 0
-configure:4511: test -s conftest.o
-configure:4514: $? = 0
-configure:4525: result: void
-configure:4537: checking for vprintf
-configure:4594: gcc -o conftest.exe -g -O2 conftest.c -luser32 -lcrypt >&5
-conftest.c:54: warning: conflicting types for built-in function `vprintf'
-configure:4600: $? = 0
-configure:4604: test -z
- || test ! -s conftest.err
-configure:4607: $? = 0
-configure:4610: test -s conftest.exe
-configure:4613: $? = 0
-configure:4625: result: yes
-configure:4632: checking for _doprnt
-configure:4689: gcc -o conftest.exe -g -O2 conftest.c -luser32 -lcrypt >&5
-/cygdrive/c/DOCUME~1/ADMINI~1.ROB/LOCALS~1/Temp/ccqt2s93.o(.text+0x1d): In function `main':
-/home/ron/darkbot/beta/conftest.c:71: undefined reference to `__doprnt'
-/cygdrive/c/DOCUME~1/ADMINI~1.ROB/LOCALS~1/Temp/ccqt2s93.o(.data+0x0):/home/ron/darkbot/beta/conftest.c:70: undefined reference to `__doprnt'
-collect2: ld returned 1 exit status
-configure:4695: $? = 1
-configure: failed program was:
-| /* confdefs.h. */
-|
-| #define PACKAGE_NAME ""
-| #define PACKAGE_TARNAME ""
-| #define PACKAGE_VERSION ""
-| #define PACKAGE_STRING ""
-| #define PACKAGE_BUGREPORT ""
-| #define PACKAGE "darkbot"
-| #define VERSION "7f3"
-| #define HAVE_LIBCRYPT 1
-| #define HAVE_LIBUSER32 1
-| #define HAVE_DIRENT_H 1
-| #define STDC_HEADERS 1
-| #define HAVE_SYS_TYPES_H 1
-| #define HAVE_SYS_STAT_H 1
-| #define HAVE_STDLIB_H 1
-| #define HAVE_STRING_H 1
-| #define HAVE_MEMORY_H 1
-| #define HAVE_STRINGS_H 1
-| #define HAVE_INTTYPES_H 1
-| #define HAVE_STDINT_H 1
-| #define HAVE_UNISTD_H 1
-| #define HAVE_FCNTL_H 1
-| #define HAVE_SYS_TIME_H 1
-| #define HAVE_UNISTD_H 1
-| #define WIN32
-| #define TIME_WITH_SYS_TIME 1
-| #define RETSIGTYPE void
-| #define HAVE_VPRINTF 1
-| /* end confdefs.h. */
-| /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
-| For example, HP-UX 11i <limits.h> declares gettimeofday. */
-| #define _doprnt innocuous__doprnt
-|
-| /* System header to define __stub macros and hopefully few prototypes,
-| which can conflict with char _doprnt (); below.
-| Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
-| <limits.h> exists even on freestanding compilers. */
-|
-| #ifdef __STDC__
-| # include <limits.h>
-| #else
-| # include <assert.h>
-| #endif
-|
-| #undef _doprnt
-|
-| /* Override any gcc2 internal prototype to avoid an error. */
-| #ifdef __cplusplus
-| extern "C"
-| {
-| #endif
-| /* We use char because int might match the return type of a gcc2
-| builtin and then its argument prototype would still apply. */
-| char _doprnt ();
-| /* The GNU C library defines this for functions which it implements
-| to always fail with ENOSYS. Some functions are actually named
-| something starting with __ and the normal name is an alias. */
-| #if defined (__stub__doprnt) || defined (__stub____doprnt)
-| choke me
-| #else
-| char (*f) () = _doprnt;
-| #endif
-| #ifdef __cplusplus
-| }
-| #endif
-|
-| int
-| main ()
-| {
-| return f != _doprnt;
-| ;
-| return 0;
-| }
-configure:4720: result: no
-configure:4742: checking for select
-configure:4799: gcc -o conftest.exe -g -O2 conftest.c -luser32 -lcrypt >&5
-configure:4805: $? = 0
-configure:4809: test -z
- || test ! -s conftest.err
-configure:4812: $? = 0
-configure:4815: test -s conftest.exe
-configure:4818: $? = 0
-configure:4830: result: yes
-configure:4742: checking for socket
-configure:4799: gcc -o conftest.exe -g -O2 conftest.c -luser32 -lcrypt >&5
-configure:4805: $? = 0
-configure:4809: test -z
- || test ! -s conftest.err
-configure:4812: $? = 0
-configure:4815: test -s conftest.exe
-configure:4818: $? = 0
-configure:4830: result: yes
-configure:4742: checking for strspn
-configure:4799: gcc -o conftest.exe -g -O2 conftest.c -luser32 -lcrypt >&5
-conftest.c:57: warning: conflicting types for built-in function `strspn'
-configure:4805: $? = 0
-configure:4809: test -z
- || test ! -s conftest.err
-configure:4812: $? = 0
-configure:4815: test -s conftest.exe
-configure:4818: $? = 0
-configure:4830: result: yes
-configure:4742: checking for strstr
-configure:4799: gcc -o conftest.exe -g -O2 conftest.c -luser32 -lcrypt >&5
-conftest.c:58: warning: conflicting types for built-in function `strstr'
-configure:4805: $? = 0
-configure:4809: test -z
- || test ! -s conftest.err
-configure:4812: $? = 0
-configure:4815: test -s conftest.exe
-configure:4818: $? = 0
-configure:4830: result: yes
-configure:4742: checking for strtol
-configure:4799: gcc -o conftest.exe -g -O2 conftest.c -luser32 -lcrypt >&5
-configure:4805: $? = 0
-configure:4809: test -z
- || test ! -s conftest.err
-configure:4812: $? = 0
-configure:4815: test -s conftest.exe
-configure:4818: $? = 0
-configure:4830: result: yes
-configure:4956: creating ./config.status
-
-## ---------------------- ##
-## Running config.status. ##
-## ---------------------- ##
-
-This file was extended by config.status, which was
-generated by GNU Autoconf 2.59. Invocation command line was
-
- CONFIG_FILES =
- CONFIG_HEADERS =
- CONFIG_LINKS =
- CONFIG_COMMANDS =
- $ ./config.status
-
-on robbins
-
-config.status:689: creating source/Makefile
-config.status:689: creating Makefile
-config.status:793: creating source/config.h
-config.status:929: source/config.h is unchanged
-config.status:1109: executing depfiles commands
+configure:1319: error: cannot find install-sh or install.sh in .. ../.. ../../..
## ---------------- ##
## Cache variables. ##
## ---------------- ##
-ac_cv_c_compiler_gnu=yes
-ac_cv_c_const=yes
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
-ac_cv_exeext=.exe
-ac_cv_func__doprnt=no
-ac_cv_func_select=yes
-ac_cv_func_socket=yes
-ac_cv_func_strspn=yes
-ac_cv_func_strstr=yes
-ac_cv_func_strtol=yes
-ac_cv_func_vprintf=yes
-ac_cv_header_dirent_dirent_h=yes
-ac_cv_header_fcntl_h=yes
-ac_cv_header_inttypes_h=yes
-ac_cv_header_memory_h=yes
-ac_cv_header_stdc=yes
-ac_cv_header_stdint_h=yes
-ac_cv_header_stdlib_h=yes
-ac_cv_header_string_h=yes
-ac_cv_header_strings_h=yes
-ac_cv_header_sys_stat_h=yes
-ac_cv_header_sys_time_h=yes
-ac_cv_header_sys_types_h=yes
-ac_cv_header_time=yes
-ac_cv_header_unistd_h=yes
-ac_cv_header_windows_h=yes
-ac_cv_lib_crypt_main=yes
-ac_cv_lib_user32_main=yes
-ac_cv_objext=o
-ac_cv_path_CP=/usr/bin/cp
-ac_cv_path_RM=/usr/bin/rm
-ac_cv_path_install='/usr/bin/install -c'
-ac_cv_prog_AWK=gawk
-ac_cv_prog_CPP='gcc -E'
-ac_cv_prog_ac_ct_CC=gcc
-ac_cv_prog_cc_g=yes
-ac_cv_prog_cc_stdc=
-ac_cv_prog_egrep='grep -E'
-ac_cv_prog_make_make_set=yes
-ac_cv_search_opendir='none required'
-ac_cv_type_=no
-ac_cv_type_signal=void
-ac_cv_type_size_t=yes
-am_cv_CC_dependencies_compiler_type=gcc3
## ----------------- ##
## Output variables. ##
## ----------------- ##
-ACLOCAL='${SHELL} /home/ron/darkbot/beta/missing --run aclocal-1.7'
-AMDEPBACKSLASH='\'
-AMDEP_FALSE='#'
+ACLOCAL=''
+AMDEPBACKSLASH=''
+AMDEP_FALSE=''
AMDEP_TRUE=''
-AMTAR='${SHELL} /home/ron/darkbot/beta/missing --run tar'
-AUTOCONF='${SHELL} /home/ron/darkbot/beta/missing --run autoconf'
-AUTOHEADER='${SHELL} /home/ron/darkbot/beta/missing --run autoheader'
-AUTOMAKE='${SHELL} /home/ron/darkbot/beta/missing --run automake-1.7'
-AWK='gawk'
-CC='gcc'
-CCDEPMODE='depmode=gcc3'
-CFLAGS='-g -O2'
-CP='/usr/bin/cp'
-CPP='gcc -E'
+AMTAR=''
+AUTOCONF=''
+AUTOHEADER=''
+AUTOMAKE=''
+AWK=''
+CC=''
+CCDEPMODE=''
+CFLAGS=''
+CP=''
+CPP=''
CPPFLAGS=''
-CYGPATH_W='cygpath -w'
-DEFS='-DHAVE_CONFIG_H'
-DEPDIR='.deps'
+CYGPATH_W=''
+DEFS=''
+DEPDIR=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
-EGREP='grep -E'
-EXEEXT='.exe'
-INSTALL_DATA='${INSTALL} -m 644'
-INSTALL_PROGRAM='${INSTALL}'
-INSTALL_SCRIPT='${INSTALL}'
-INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
+EGREP=''
+EXEEXT=''
+INSTALL_DATA=''
+INSTALL_PROGRAM=''
+INSTALL_SCRIPT=''
+INSTALL_STRIP_PROGRAM=''
LDFLAGS=''
LIBOBJS=''
-LIBS='-luser32 -lcrypt '
+LIBS=''
LTLIBOBJS=''
-MAKEINFO='${SHELL} /home/ron/darkbot/beta/missing --run makeinfo'
-OBJEXT='o'
-PACKAGE='darkbot'
+MAKEINFO=''
+OBJEXT=''
+PACKAGE=''
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
-RM='/usr/bin/rm'
+RM=''
SET_MAKE=''
SHELL='/bin/bash'
STRIP=''
-VERSION='7f3'
-ac_ct_CC='gcc'
+VERSION=''
+ac_ct_CC=''
ac_ct_STRIP=''
-am__fastdepCC_FALSE='#'
+am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
-am__include='include'
-am__leading_dot='.'
+am__include=''
+am__leading_dot=''
am__quote=''
bindir='${exec_prefix}/bin'
build_alias=''
datadir='${prefix}/share'
-exec_prefix='${prefix}'
+exec_prefix='NONE'
host_alias=''
includedir='${prefix}/include'
infodir='${prefix}/info'
-install_sh='/home/ron/darkbot/beta/install-sh'
+install_sh=''
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
oldincludedir='/usr/include'
-prefix='/usr/local'
+prefix='NONE'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
-#define HAVE_DIRENT_H 1
-#define HAVE_FCNTL_H 1
-#define HAVE_INTTYPES_H 1
-#define HAVE_LIBCRYPT 1
-#define HAVE_LIBUSER32 1
-#define HAVE_MEMORY_H 1
-#define HAVE_SELECT 1
-#define HAVE_SOCKET 1
-#define HAVE_STDINT_H 1
-#define HAVE_STDLIB_H 1
-#define HAVE_STRINGS_H 1
-#define HAVE_STRING_H 1
-#define HAVE_STRSPN 1
-#define HAVE_STRSTR 1
-#define HAVE_STRTOL 1
-#define HAVE_SYS_STAT_H 1
-#define HAVE_SYS_TIME_H 1
-#define HAVE_SYS_TYPES_H 1
-#define HAVE_UNISTD_H 1
-#define HAVE_UNISTD_H 1
-#define HAVE_VPRINTF 1
-#define PACKAGE "darkbot"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME ""
#define PACKAGE_STRING ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
-#define RETSIGTYPE void
-#define STDC_HEADERS 1
-#define TIME_WITH_SYS_TIME 1
-#define VERSION "7f3"
-#define WIN32
-configure: exit 0
+configure: exit 1
diff --git a/beta/install-sh b/beta/install-sh
new file mode 100755
index 0000000..6ce63b9
--- /dev/null
+++ b/beta/install-sh
@@ -0,0 +1,294 @@
+#!/bin/sh
+#
+# install - install a program, script, or datafile
+#
+# This originates from X11R5 (mit/util/scripts/install.sh), which was
+# later released in X11R6 (xc/config/util/install.sh) with the
+# following copyright and license.
+#
+# Copyright (C) 1994 X Consortium
+#
+# Permission is hereby granted, free of charge, to any person obtaining a copy
+# of this software and associated documentation files (the "Software"), to
+# deal in the Software without restriction, including without limitation the
+# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
+# sell copies of the Software, and to permit persons to whom the Software is
+# furnished to do so, subject to the following conditions:
+#
+# The above copyright notice and this permission notice shall be included in
+# all copies or substantial portions of the Software.
+#
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+# X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
+# AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC-
+# TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+#
+# Except as contained in this notice, the name of the X Consortium shall not
+# be used in advertising or otherwise to promote the sale, use or other deal-
+# ings in this Software without prior written authorization from the X Consor-
+# tium.
+#
+#
+# FSF changes to this file are in the public domain.
+#
+# Calling this script install-sh is preferred over install.sh, to prevent
+# `make' implicit rules from creating a file called install from it
+# when there is no Makefile.
+#
+# This script is compatible with the BSD install script, but was written
+# from scratch. It can only install one file at a time, a restriction
+# shared with many OS's install programs.
+
+
+# set DOITPROG to echo to test this script
+
+# Don't use :- since 4.3BSD and earlier shells don't like it.
+doit="${DOITPROG-}"
+
+
+# put in absolute paths if you don't have them in your path; or use env. vars.
+
+mvprog="${MVPROG-mv}"
+cpprog="${CPPROG-cp}"
+chmodprog="${CHMODPROG-chmod}"
+chownprog="${CHOWNPROG-chown}"
+chgrpprog="${CHGRPPROG-chgrp}"
+stripprog="${STRIPPROG-strip}"
+rmprog="${RMPROG-rm}"
+mkdirprog="${MKDIRPROG-mkdir}"
+
+transformbasename=""
+transform_arg=""
+instcmd="$mvprog"
+chmodcmd="$chmodprog 0755"
+chowncmd=""
+chgrpcmd=""
+stripcmd=""
+rmcmd="$rmprog -f"
+mvcmd="$mvprog"
+src=""
+dst=""
+dir_arg=""
+
+while [ x"$1" != x ]; do
+ case $1 in
+ -c) instcmd=$cpprog
+ shift
+ continue;;
+
+ -d) dir_arg=true
+ shift
+ continue;;
+
+ -m) chmodcmd="$chmodprog $2"
+ shift
+ shift
+ continue;;
+
+ -o) chowncmd="$chownprog $2"
+ shift
+ shift
+ continue;;
+
+ -g) chgrpcmd="$chgrpprog $2"
+ shift
+ shift
+ continue;;
+
+ -s) stripcmd=$stripprog
+ shift
+ continue;;
+
+ -t=*) transformarg=`echo $1 | sed 's/-t=//'`
+ shift
+ continue;;
+
+ -b=*) transformbasename=`echo $1 | sed 's/-b=//'`
+ shift
+ continue;;
+
+ *) if [ x"$src" = x ]
+ then
+ src=$1
+ else
+ # this colon is to work around a 386BSD /bin/sh bug
+ :
+ dst=$1
+ fi
+ shift
+ continue;;
+ esac
+done
+
+if [ x"$src" = x ]
+then
+ echo "$0: no input file specified" >&2
+ exit 1
+else
+ :
+fi
+
+if [ x"$dir_arg" != x ]; then
+ dst=$src
+ src=""
+
+ if [ -d "$dst" ]; then
+ instcmd=:
+ chmodcmd=""
+ else
+ instcmd=$mkdirprog
+ fi
+else
+
+# Waiting for this to be detected by the "$instcmd $src $dsttmp" command
+# might cause directories to be created, which would be especially bad
+# if $src (and thus $dsttmp) contains '*'.
+
+ if [ -f "$src" ] || [ -d "$src" ]
+ then
+ :
+ else
+ echo "$0: $src does not exist" >&2
+ exit 1
+ fi
+
+ if [ x"$dst" = x ]
+ then
+ echo "$0: no destination specified" >&2
+ exit 1
+ else
+ :
+ fi
+
+# If destination is a directory, append the input filename; if your system
+# does not like double slashes in filenames, you may need to add some logic
+
+ if [ -d "$dst" ]
+ then
+ dst=$dst/`basename "$src"`
+ else
+ :
+ fi
+fi
+
+## this sed command emulates the dirname command
+dstdir=`echo "$dst" | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'`
+
+# Make sure that the destination directory exists.
+# this part is taken from Noah Friedman's mkinstalldirs script
+
+# Skip lots of stat calls in the usual case.
+if [ ! -d "$dstdir" ]; then
+defaultIFS='
+ '
+IFS="${IFS-$defaultIFS}"
+
+oIFS=$IFS
+# Some sh's can't handle IFS=/ for some reason.
+IFS='%'
+set - `echo "$dstdir" | sed -e 's@/@%@g' -e 's@^%@/@'`
+IFS=$oIFS
+
+pathcomp=''
+
+while [ $# -ne 0 ] ; do
+ pathcomp=$pathcomp$1
+ shift
+
+ if [ ! -d "$pathcomp" ] ;
+ then
+ $mkdirprog "$pathcomp"
+ else
+ :
+ fi
+
+ pathcomp=$pathcomp/
+done
+fi
+
+if [ x"$dir_arg" != x ]
+then
+ $doit $instcmd "$dst" &&
+
+ if [ x"$chowncmd" != x ]; then $doit $chowncmd "$dst"; else : ; fi &&
+ if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd "$dst"; else : ; fi &&
+ if [ x"$stripcmd" != x ]; then $doit $stripcmd "$dst"; else : ; fi &&
+ if [ x"$chmodcmd" != x ]; then $doit $chmodcmd "$dst"; else : ; fi
+else
+
+# If we're going to rename the final executable, determine the name now.
+
+ if [ x"$transformarg" = x ]
+ then
+ dstfile=`basename "$dst"`
+ else
+ dstfile=`basename "$dst" $transformbasename |
+ sed $transformarg`$transformbasename
+ fi
+
+# don't allow the sed command to completely eliminate the filename
+
+ if [ x"$dstfile" = x ]
+ then
+ dstfile=`basename "$dst"`
+ else
+ :
+ fi
+
+# Make a couple of temp file names in the proper directory.
+
+ dsttmp=$dstdir/_inst.$$_
+ rmtmp=$dstdir/_rm.$$_
+
+# Trap to clean up temp files at exit.
+
+ trap 'status=$?; rm -f "$dsttmp" "$rmtmp" && exit $status' 0
+ trap '(exit $?); exit' 1 2 13 15
+
+# Move or copy the file name to the temp name
+
+ $doit $instcmd "$src" "$dsttmp" &&
+
+# and set any options; do chmod last to preserve setuid bits
+
+# If any of these fail, we abort the whole thing. If we want to
+# ignore errors from any of these, just make sure not to ignore
+# errors from the above "$doit $instcmd $src $dsttmp" command.
+
+ if [ x"$chowncmd" != x ]; then $doit $chowncmd "$dsttmp"; else :;fi &&
+ if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd "$dsttmp"; else :;fi &&
+ if [ x"$stripcmd" != x ]; then $doit $stripcmd "$dsttmp"; else :;fi &&
+ if [ x"$chmodcmd" != x ]; then $doit $chmodcmd "$dsttmp"; else :;fi &&
+
+# Now remove or move aside any old file at destination location. We try this
+# two ways since rm can't unlink itself on some systems and the destination
+# file might be busy for other reasons. In this case, the final cleanup
+# might fail but the new file should still install successfully.
+
+{
+ if [ -f "$dstdir/$dstfile" ]
+ then
+ $doit $rmcmd -f "$dstdir/$dstfile" 2>/dev/null ||
+ $doit $mvcmd -f "$dstdir/$dstfile" "$rmtmp" 2>/dev/null ||
+ {
+ echo "$0: cannot unlink or rename $dstdir/$dstfile" >&2
+ (exit 1); exit
+ }
+ else
+ :
+ fi
+} &&
+
+# Now rename the file to the real destination.
+
+ $doit $mvcmd "$dsttmp" "$dstdir/$dstfile"
+
+fi &&
+
+# The final little trick to "correctly" pass the exit status to the exit trap.
+
+{
+ (exit 0); exit
+}
diff --git a/beta/missing b/beta/missing
new file mode 100755
index 0000000..fc54c64
--- /dev/null
+++ b/beta/missing
@@ -0,0 +1,336 @@
+#! /bin/sh
+# Common stub for a few missing GNU programs while installing.
+# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003 Free Software Foundation, Inc.
+# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
+
+# 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, or (at your option)
+# any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+# 02111-1307, USA.
+
+# As a special exception to the GNU General Public License, if you
+# distribute this file as part of a program that contains a
+# configuration script generated by Autoconf, you may include it under
+# the same distribution terms that you use for the rest of that program.
+
+if test $# -eq 0; then
+ echo 1>&2 "Try \`$0 --help' for more information"
+ exit 1
+fi
+
+run=:
+
+# In the cases where this matters, `missing' is being run in the
+# srcdir already.
+if test -f configure.ac; then
+ configure_ac=configure.ac
+else
+ configure_ac=configure.in
+fi
+
+case "$1" in
+--run)
+ # Try to run requested program, and just exit if it succeeds.
+ run=
+ shift
+ "$@" && exit 0
+ ;;
+esac
+
+# If it does not exist, or fails to run (possibly an outdated version),
+# try to emulate it.
+case "$1" in
+
+ -h|--h|--he|--hel|--help)
+ echo "\
+$0 [OPTION]... PROGRAM [ARGUMENT]...
+
+Handle \`PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an
+error status if there is no known handling for PROGRAM.
+
+Options:
+ -h, --help display this help and exit
+ -v, --version output version information and exit
+ --run try to run the given command, and emulate it if it fails
+
+Supported PROGRAM values:
+ aclocal touch file \`aclocal.m4'
+ autoconf touch file \`configure'
+ autoheader touch file \`config.h.in'
+ automake touch all \`Makefile.in' files
+ bison create \`y.tab.[ch]', if possible, from existing .[ch]
+ flex create \`lex.yy.c', if possible, from existing .c
+ help2man touch the output file
+ lex create \`lex.yy.c', if possible, from existing .c
+ makeinfo touch the output file
+ tar try tar, gnutar, gtar, then tar without non-portable flags
+ yacc create \`y.tab.[ch]', if possible, from existing .[ch]"
+ ;;
+
+ -v|--v|--ve|--ver|--vers|--versi|--versio|--version)
+ echo "missing 0.4 - GNU automake"
+ ;;
+
+ -*)
+ echo 1>&2 "$0: Unknown \`$1' option"
+ echo 1>&2 "Try \`$0 --help' for more information"
+ exit 1
+ ;;
+
+ aclocal*)
+ if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
+ # We have it, but it failed.
+ exit 1
+ fi
+
+ echo 1>&2 "\
+WARNING: \`$1' is missing on your system. You should only need it if
+ you modified \`acinclude.m4' or \`${configure_ac}'. You might want
+ to install the \`Automake' and \`Perl' packages. Grab them from
+ any GNU archive site."
+ touch aclocal.m4
+ ;;
+
+ autoconf)
+ if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
+ # We have it, but it failed.
+ exit 1
+ fi
+
+ echo 1>&2 "\
+WARNING: \`$1' is missing on your system. You should only need it if
+ you modified \`${configure_ac}'. You might want to install the
+ \`Autoconf' and \`GNU m4' packages. Grab them from any GNU
+ archive site."
+ touch configure
+ ;;
+
+ autoheader)
+ if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
+ # We have it, but it failed.
+ exit 1
+ fi
+
+ echo 1>&2 "\
+WARNING: \`$1' is missing on your system. You should only need it if
+ you modified \`acconfig.h' or \`${configure_ac}'. You might want
+ to install the \`Autoconf' and \`GNU m4' packages. Grab them
+ from any GNU archive site."
+ files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' ${configure_ac}`
+ test -z "$files" && files="config.h"
+ touch_files=
+ for f in $files; do
+ case "$f" in
+ *:*) touch_files="$touch_files "`echo "$f" |
+ sed -e 's/^[^:]*://' -e 's/:.*//'`;;
+ *) touch_files="$touch_files $f.in";;
+ esac
+ done
+ touch $touch_files
+ ;;
+
+ automake*)
+ if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
+ # We have it, but it failed.
+ exit 1
+ fi
+
+ echo 1>&2 "\
+WARNING: \`$1' is missing on your system. You should only need it if
+ you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'.
+ You might want to install the \`Automake' and \`Perl' packages.
+ Grab them from any GNU archive site."
+ find . -type f -name Makefile.am -print |
+ sed 's/\.am$/.in/' |
+ while read f; do touch "$f"; done
+ ;;
+
+ autom4te)
+ if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
+ # We have it, but it failed.
+ exit 1
+ fi
+
+ echo 1>&2 "\
+WARNING: \`$1' is needed, and you do not seem to have it handy on your
+ system. You might have modified some files without having the
+ proper tools for further handling them.
+ You can get \`$1' as part of \`Autoconf' from any GNU
+ archive site."
+
+ file=`echo "$*" | sed -n 's/.*--output[ =]*\([^ ]*\).*/\1/p'`
+ test -z "$file" && file=`echo "$*" | sed -n 's/.*-o[ ]*\([^ ]*\).*/\1/p'`
+ if test -f "$file"; then
+ touch $file
+ else
+ test -z "$file" || exec >$file
+ echo "#! /bin/sh"
+ echo "# Created by GNU Automake missing as a replacement of"
+ echo "# $ $@"
+ echo "exit 0"
+ chmod +x $file
+ exit 1
+ fi
+ ;;
+
+ bison|yacc)
+ echo 1>&2 "\
+WARNING: \`$1' is missing on your system. You should only need it if
+ you modified a \`.y' file. You may need the \`Bison' package
+ in order for those modifications to take effect. You can get
+ \`Bison' from any GNU archive site."
+ rm -f y.tab.c y.tab.h
+ if [ $# -ne 1 ]; then
+ eval LASTARG="\${$#}"
+ case "$LASTARG" in
+ *.y)
+ SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'`
+ if [ -f "$SRCFILE" ]; then
+ cp "$SRCFILE" y.tab.c
+ fi
+ SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'`
+ if [ -f "$SRCFILE" ]; then
+ cp "$SRCFILE" y.tab.h
+ fi
+ ;;
+ esac
+ fi
+ if [ ! -f y.tab.h ]; then
+ echo >y.tab.h
+ fi
+ if [ ! -f y.tab.c ]; then
+ echo 'main() { return 0; }' >y.tab.c
+ fi
+ ;;
+
+ lex|flex)
+ echo 1>&2 "\
+WARNING: \`$1' is missing on your system. You should only need it if
+ you modified a \`.l' file. You may need the \`Flex' package
+ in order for those modifications to take effect. You can get
+ \`Flex' from any GNU archive site."
+ rm -f lex.yy.c
+ if [ $# -ne 1 ]; then
+ eval LASTARG="\${$#}"
+ case "$LASTARG" in
+ *.l)
+ SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'`
+ if [ -f "$SRCFILE" ]; then
+ cp "$SRCFILE" lex.yy.c
+ fi
+ ;;
+ esac
+ fi
+ if [ ! -f lex.yy.c ]; then
+ echo 'main() { return 0; }' >lex.yy.c
+ fi
+ ;;
+
+ help2man)
+ if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
+ # We have it, but it failed.
+ exit 1
+ fi
+
+ echo 1>&2 "\
+WARNING: \`$1' is missing on your system. You should only need it if
+ you modified a dependency of a manual page. You may need the
+ \`Help2man' package in order for those modifications to take
+ effect. You can get \`Help2man' from any GNU archive site."
+
+ file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'`
+ if test -z "$file"; then
+ file=`echo "$*" | sed -n 's/.*--output=\([^ ]*\).*/\1/p'`
+ fi
+ if [ -f "$file" ]; then
+ touch $file
+ else
+ test -z "$file" || exec >$file
+ echo ".ab help2man is required to generate this page"
+ exit 1
+ fi
+ ;;
+
+ makeinfo)
+ if test -z "$run" && (makeinfo --version) > /dev/null 2>&1; then
+ # We have makeinfo, but it failed.
+ exit 1
+ fi
+
+ echo 1>&2 "\
+WARNING: \`$1' is missing on your system. You should only need it if
+ you modified a \`.texi' or \`.texinfo' file, or any other file
+ indirectly affecting the aspect of the manual. The spurious
+ call might also be the consequence of using a buggy \`make' (AIX,
+ DU, IRIX). You might want to install the \`Texinfo' package or
+ the \`GNU make' package. Grab either from any GNU archive site."
+ file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'`
+ if test -z "$file"; then
+ file=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'`
+ file=`sed -n '/^@setfilename/ { s/.* \([^ ]*\) *$/\1/; p; q; }' $file`
+ fi
+ touch $file
+ ;;
+
+ tar)
+ shift
+ if test -n "$run"; then
+ echo 1>&2 "ERROR: \`tar' requires --run"
+ exit 1
+ fi
+
+ # We have already tried tar in the generic part.
+ # Look for gnutar/gtar before invocation to avoid ugly error
+ # messages.
+ if (gnutar --version > /dev/null 2>&1); then
+ gnutar "$@" && exit 0
+ fi
+ if (gtar --version > /dev/null 2>&1); then
+ gtar "$@" && exit 0
+ fi
+ firstarg="$1"
+ if shift; then
+ case "$firstarg" in
+ *o*)
+ firstarg=`echo "$firstarg" | sed s/o//`
+ tar "$firstarg" "$@" && exit 0
+ ;;
+ esac
+ case "$firstarg" in
+ *h*)
+ firstarg=`echo "$firstarg" | sed s/h//`
+ tar "$firstarg" "$@" && exit 0
+ ;;
+ esac
+ fi
+
+ echo 1>&2 "\
+WARNING: I can't seem to be able to run \`tar' with the given arguments.
+ You may want to install GNU tar or Free paxutils, or check the
+ command line arguments."
+ exit 1
+ ;;
+
+ *)
+ echo 1>&2 "\
+WARNING: \`$1' is needed, and you do not seem to have it handy on your
+ system. You might have modified some files without having the
+ proper tools for further handling them. Check the \`README' file,
+ it often tells you about the needed prerequisites for installing
+ this package. You may also peek at any GNU archive site, in case
+ some other package would contain this missing \`$1' program."
+ exit 1
+ ;;
+esac
+
+exit 0
diff --git a/beta/mkinstalldirs b/beta/mkinstalldirs
new file mode 100755
index 0000000..d2d5f21
--- /dev/null
+++ b/beta/mkinstalldirs
@@ -0,0 +1,111 @@
+#! /bin/sh
+# mkinstalldirs --- make directory hierarchy
+# Author: Noah Friedman <friedman@prep.ai.mit.edu>
+# Created: 1993-05-16
+# Public domain
+
+errstatus=0
+dirmode=""
+
+usage="\
+Usage: mkinstalldirs [-h] [--help] [-m mode] dir ..."
+
+# process command line arguments
+while test $# -gt 0 ; do
+ case $1 in
+ -h | --help | --h*) # -h for help
+ echo "$usage" 1>&2
+ exit 0
+ ;;
+ -m) # -m PERM arg
+ shift
+ test $# -eq 0 && { echo "$usage" 1>&2; exit 1; }
+ dirmode=$1
+ shift
+ ;;
+ --) # stop option processing
+ shift
+ break
+ ;;
+ -*) # unknown option
+ echo "$usage" 1>&2
+ exit 1
+ ;;
+ *) # first non-opt arg
+ break
+ ;;
+ esac
+done
+
+for file
+do
+ if test -d "$file"; then
+ shift
+ else
+ break
+ fi
+done
+
+case $# in
+ 0) exit 0 ;;
+esac
+
+case $dirmode in
+ '')
+ if mkdir -p -- . 2>/dev/null; then
+ echo "mkdir -p -- $*"
+ exec mkdir -p -- "$@"
+ fi
+ ;;
+ *)
+ if mkdir -m "$dirmode" -p -- . 2>/dev/null; then
+ echo "mkdir -m $dirmode -p -- $*"
+ exec mkdir -m "$dirmode" -p -- "$@"
+ fi
+ ;;
+esac
+
+for file
+do
+ set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'`
+ shift
+
+ pathcomp=
+ for d
+ do
+ pathcomp="$pathcomp$d"
+ case $pathcomp in
+ -*) pathcomp=./$pathcomp ;;
+ esac
+
+ if test ! -d "$pathcomp"; then
+ echo "mkdir $pathcomp"
+
+ mkdir "$pathcomp" || lasterr=$?
+
+ if test ! -d "$pathcomp"; then
+ errstatus=$lasterr
+ else
+ if test ! -z "$dirmode"; then
+ echo "chmod $dirmode $pathcomp"
+ lasterr=""
+ chmod "$dirmode" "$pathcomp" || lasterr=$?
+
+ if test ! -z "$lasterr"; then
+ errstatus=$lasterr
+ fi
+ fi
+ fi
+ fi
+
+ pathcomp="$pathcomp/"
+ done
+done
+
+exit $errstatus
+
+# Local Variables:
+# mode: shell-script
+# sh-indentation: 2
+# End:
+# mkinstalldirs ends here
diff --git a/beta/source/config.h.in b/beta/source/config.h.in
new file mode 100644
index 0000000..e04e8d1
--- /dev/null
+++ b/beta/source/config.h.in
@@ -0,0 +1,118 @@
+/* source/config.h.in. Generated from configure.ac by autoheader. */
+
+/* Define to 1 if the system has the type `'. */
+#undef HAVE_
+
+/* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
+ */
+#undef HAVE_DIRENT_H
+
+/* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */
+#undef HAVE_DOPRNT
+
+/* Define to 1 if you have the <fcntl.h> header file. */
+#undef HAVE_FCNTL_H
+
+/* Define to 1 if you have the <inttypes.h> header file. */
+#undef HAVE_INTTYPES_H
+
+/* Define to 1 if you have the `crypt' library (-lcrypt). */
+#undef HAVE_LIBCRYPT
+
+/* Define to 1 if you have the `user32' library (-luser32). */
+#undef HAVE_LIBUSER32
+
+/* Define to 1 if you have the <memory.h> header file. */
+#undef HAVE_MEMORY_H
+
+/* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
+#undef HAVE_NDIR_H
+
+/* Define to 1 if you have the `select' function. */
+#undef HAVE_SELECT
+
+/* Define to 1 if you have the `socket' function. */
+#undef HAVE_SOCKET
+
+/* Define to 1 if you have the <stdint.h> header file. */
+#undef HAVE_STDINT_H
+
+/* Define to 1 if you have the <stdlib.h> header file. */
+#undef HAVE_STDLIB_H
+
+/* Define to 1 if you have the <strings.h> header file. */
+#undef HAVE_STRINGS_H
+
+/* Define to 1 if you have the <string.h> header file. */
+#undef HAVE_STRING_H
+
+/* Define to 1 if you have the `strspn' function. */
+#undef HAVE_STRSPN
+
+/* Define to 1 if you have the `strstr' function. */
+#undef HAVE_STRSTR
+
+/* Define to 1 if you have the `strtol' function. */
+#undef HAVE_STRTOL
+
+/* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
+ */
+#undef HAVE_SYS_DIR_H
+
+/* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
+ */
+#undef HAVE_SYS_NDIR_H
+
+/* Define to 1 if you have the <sys/stat.h> header file. */
+#undef HAVE_SYS_STAT_H
+
+/* Define to 1 if you have the <sys/time.h> header file. */
+#undef HAVE_SYS_TIME_H
+
+/* Define to 1 if you have the <sys/types.h> header file. */
+#undef HAVE_SYS_TYPES_H
+
+/* Define to 1 if you have the <unistd.h> header file. */
+#undef HAVE_UNISTD_H
+
+/* Define to 1 if you have the `vprintf' function. */
+#undef HAVE_VPRINTF
+
+/* Name of package */
+#undef PACKAGE
+
+/* Define to the address where bug reports for this package should be sent. */
+#undef PACKAGE_BUGREPORT
+
+/* Define to the full name of this package. */
+#undef PACKAGE_NAME
+
+/* Define to the full name and version of this package. */
+#undef PACKAGE_STRING
+
+/* Define to the one symbol short name of this package. */
+#undef PACKAGE_TARNAME
+
+/* Define to the version of this package. */
+#undef PACKAGE_VERSION
+
+/* Define as the return type of signal handlers (`int' or `void'). */
+#undef RETSIGTYPE
+
+/* Define to 1 if you have the ANSI C header files. */
+#undef STDC_HEADERS
+
+/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
+#undef TIME_WITH_SYS_TIME
+
+/* Version number of package */
+#undef VERSION
+
+/* windows.h */
+#undef WIN32
+
+/* Define to empty if `const' does not conform to ANSI C. */
+#undef const
+
+/* Define to `unsigned' if <sys/types.h> does not define. */
+#undef size_t

File Metadata

Mime Type
text/x-diff
Expires
Wed, Jul 2, 20:56 (6 h, 33 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2779766
Default Alt Text
(96 KB)

Event Timeline