[cvslog] (2008-07-04 01:53:05 UTC) Module eggdrop1.6: Change committed!

cvslog cvs at tsss.org
Thu Jul 3 19:53:05 CST 2008


CVSROOT    : /usr/local/cvsroot
Module     : eggdrop1.6
Commit time: 2008-07-04 01:53:05 UTC
Commited by: Tothwolf <tothwolf at techmonkeys.org>

Modified files:
     Makefile.in aclocal.m4 configure configure.ac doc/UPDATES1.6
     src/main.c

Log message:

Refactored root Makefile.in variables.

Removed unnecessary '-g' flag from LD variables (-g is ignored).

Renamed DEBCFLAGS to DEBCFLGS

Moved -g3 compiler flag to DEBCFLGS variable.

Removed double quoting "`command`" in autoconf macro tests.

Changed autoconf macro 'test ! foo = bar' tests to 'test foo !=  bar'. Both are portable but '!=' is now more common in autoconf macros and is easier to read.

---------------------- diff included ----------------------
Index: eggdrop1.6/Makefile.in
diff -u eggdrop1.6/Makefile.in:1.40 eggdrop1.6/Makefile.in:1.41
--- eggdrop1.6/Makefile.in:1.40	Sat Aug 28 01:43:21 2004
+++ eggdrop1.6/Makefile.in	Thu Jul  3 20:52:55 2008
@@ -2,7 +2,7 @@
 #  This is the Makefile for EGGDROP (the IRC bot)
 #  You should never need to edit this.
 #
-# $Id: Makefile.in,v 1.40 2004-08-28 06:43:21 wcc Exp $
+# $Id: Makefile.in,v 1.41 2008-07-04 01:52:55 tothwolf Exp $
 
 SHELL = @SHELL@
 top_srcdir = @top_srcdir@
@@ -15,7 +15,10 @@
 EGGEXEC = @EGGEXEC@
 EGGVERSION = @EGGVERSION@
 
-# things you can put here:
+# Extra compiler flags
+#
+# Things you can put here:
+#
 #   -Wall            if you're using gcc and it supports it
 #                    (configure usually detects this anyway now)
 #
@@ -24,27 +27,29 @@
 #                    These can both be set by using 'make debug'
 #                    or 'make sdebug'
 CFLGS =
+DEBCFLGS = -g3 -DDEBUG_ASSERT -DDEBUG_MEM
 
-# ./configure SHOULD set these; however you may need to tweak them to
-# get modules to compile. If you do, PLEASE let the development team know,
-# so we can incorporate needed changes into the next release. You can
-# contact us at eggdev at eggheads.org, as always.
+# ./configure SHOULD set these; however you may need to tweak them to get
+# modules to compile. If you do, PLEASE let the development team know so
+# we can incorporate any required changes into the next release. You can
+# contact us via eggdev at eggheads.org
 
-# Compiler
+# Defaults
 CC = @CC@
-MOD_CC = @MOD_CC@
-SHLIB_CC = @SHLIB_CC@
-
-# Linker
 LD = @CC@
-MOD_LD = @MOD_LD@
-SHLIB_LD = @SHLIB_LD@
-
-# Stripping
-# To turn STRIP off, use 'STRIP = touch' not 'STRIP ='.
 STRIP = @STRIP@
+RANLIB = @RANLIB@
+
+# make 'modegg'
+MOD_CC = @MOD_CC@
+MOD_LD = @MOD_LD@
 MOD_STRIP = @MOD_STRIP@
+
+# make 'modules'
+SHLIB_CC = @SHLIB_CC@
+SHLIB_LD = @SHLIB_LD@
 SHLIB_STRIP = @SHLIB_STRIP@
+MOD_EXT = @MOD_EXT@
 
 # Programs make install uses
 LN_S = @LN_S@
@@ -53,21 +58,18 @@
 INSTALL_DATA = @INSTALL_DATA@
 INSTALL_SCRIPT = @INSTALL_SCRIPT@
 
-# Misc
-RANLIB = @RANLIB@
-MOD_EXT = @MOD_EXT@
-XREQS = @TCL_REQS@
+# Stuff for Tcl
 TCLLIB = @TCLLIB@
 TCLLIBFN = @TCLLIBFN@
+XREQS = @TCL_REQS@
 
 # Extra libraries
-# XLIBS will be linked with everything; MODULE_XLIBS will only be linked with
-# the actual module objects.
+# XLIBS will be linked with everything
+# MODULE_XLIBS will only be linked with the module objects
 XLIBS = @TCL_LIBS@ @LIBS@
 MODULE_XLIBS = @MODULE_XLIBS@
 
-# Shouldn't need to touch anything below here.
-DEBCFLAGS = -DDEBUG_ASSERT -DDEBUG_MEM
+# You shouldn't need to edit anything below this line.
 
 modconf = $(top_srcdir)/misc/modconfig --top_srcdir=$(top_srcdir)
 
@@ -92,8 +94,8 @@
 'XLIBS=$(XLIBS)' 'EGGEXEC=$(EGGEXEC)' 'EGGBUILD=(standard build)' 'MODOBJS='
 
 MAKE_MODULES = $(MAKE) 'MAKE=$(MAKE)' 'CC=$(SHLIB_CC)' 'LD=$(SHLIB_LD)' \
-'STRIP=$(SHLIB_STRIP)' 'CFLGS=$(CFLGS)' 'XLIBS=$(XLIBS)' 'MOD_EXT=$(MOD_EXT)' \
-'MODULE_XLIBS=$(MODULE_XLIBS)'
+'STRIP=$(SHLIB_STRIP)' 'CFLGS=$(CFLGS)' 'XLIBS=$(XLIBS)' \
+'MOD_EXT=$(MOD_EXT)' 'MODULE_XLIBS=$(MODULE_XLIBS)'
 
 MAKE_STATIC = $(MAKE) 'MAKE=$(MAKE)' 'CC=$(CC)' 'LD=$(LD)' \
 'STRIP=$(STRIP)' 'RANLIB=$(RANLIB)' 'CFLGS=$(CFLGS) -DSTATIC' \
@@ -101,17 +103,17 @@
 'XLIBS=$(XLIBS)' 'EGGEXEC=$(EGGEXEC)' 'EGGBUILD=(static version)' \
 'MODOBJS=mod/*.o'
 
-MAKE_DEBEGG = $(MAKE) 'MAKE=$(MAKE)' 'CC=$(MOD_CC)' 'LD=$(MOD_LD) -g' \
-'STRIP=touch' 'RANLIB=$(RANLIB)' 'CFLGS=-g3 $(DEBCFLAGS) $(CFLGS)' \
+MAKE_DEBEGG = $(MAKE) 'MAKE=$(MAKE)' 'CC=$(MOD_CC)' 'LD=$(MOD_LD)' \
+'STRIP=touch' 'RANLIB=$(RANLIB)' 'CFLGS=$(DEBCFLGS) $(CFLGS)' \
 'TCLLIB=$(TCLLIB)' 'TCLLIBFN=$(TCLLIBFN)' 'XREQS=$(XREQS)' \
 'XLIBS=$(XLIBS)' 'EGGEXEC=$(EGGEXEC)' 'EGGBUILD=(debug version)' 'MODOBJS='
 
 MAKE_DEBMODULES = $(MAKE) 'MAKE=$(MAKE)' 'CC=$(SHLIB_CC)' 'LD=$(SHLIB_LD)' \
-'XLIBS=$(XLIBS)' 'STRIP=touch' 'CFLGS=-g3 $(DEBCFLAGS) $(CFLGS)' \
+'XLIBS=$(XLIBS)' 'STRIP=touch' 'CFLGS=$(DEBCFLGS) $(CFLGS)' \
 'MOD_EXT=$(MOD_EXT)' 'MODULE_XLIBS=$(MODULE_XLIBS)'
 
-MAKE_SDEBUG = $(MAKE) 'MAKE=$(MAKE)' 'CC=$(CC)' 'LD=$(LD) -g' \
-'STRIP=touch' 'RANLIB=$(RANLIB)' 'CFLGS=-g3 $(DEBCFLAGS) -DSTATIC $(CFLGS)' \
+MAKE_SDEBUG = $(MAKE) 'MAKE=$(MAKE)' 'CC=$(CC)' 'LD=$(LD)' \
+'STRIP=touch' 'RANLIB=$(RANLIB)' 'CFLGS=$(DEBCFLGS) $(CFLGS) -DSTATIC' \
 'TCLLIB=$(TCLLIB)' 'TCLLIBFN=$(TCLLIBFN)' 'XREQS=$(XREQS)' 'XLIBS=$(XLIBS)' \
 'EGGEXEC=$(EGGEXEC)' 'EGGBUILD=(static debug version)' 'MODOBJS=mod/*.o'
 
Index: eggdrop1.6/aclocal.m4
diff -u eggdrop1.6/aclocal.m4:1.107 eggdrop1.6/aclocal.m4:1.108
--- eggdrop1.6/aclocal.m4:1.107	Wed Jul  2 02:31:26 2008
+++ eggdrop1.6/aclocal.m4	Thu Jul  3 20:52:55 2008
@@ -16,12 +16,12 @@
 dnl along with this program; if not, write to the Free Software
 dnl Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 dnl
-dnl $Id: aclocal.m4,v 1.107 2008-07-02 07:31:26 tothwolf Exp $
+dnl $Id: aclocal.m4,v 1.108 2008-07-04 01:52:55 tothwolf Exp $
 dnl
 
 
 dnl
-dnl Message functions.
+dnl Message macros.
 dnl
 
 
@@ -47,7 +47,7 @@
 ])
 
 
-dnl EGG_MSG_WEIRDOS
+dnl EGG_MSG_WEIRDOS()
 dnl
 dnl Print some messages at the end of configure to give extra information to
 dnl users of 'weird' operating systems.
@@ -56,7 +56,7 @@
 [
   AC_MSG_RESULT([Operating System: $egg_cv_var_system_type $egg_cv_var_system_release])
   AC_MSG_RESULT
-  if test "$UNKNOWN_OS" = "yes"; then
+  if test "$UNKNOWN_OS" = yes; then
     AC_MSG_RESULT([WARNING:])
     AC_MSG_RESULT
     AC_MSG_RESULT([  Unknown Operating System: $egg_cv_var_system_type $egg_cv_var_system_release])
@@ -68,7 +68,7 @@
     AC_MSG_RESULT([  information about the OS should be included.])
     AC_MSG_RESULT
   else
-    if test "$WEIRD_OS" = "yes"; then
+    if test "$WEIRD_OS" = yes; then
       AC_MSG_RESULT([WARNING:])
       AC_MSG_RESULT
       AC_MSG_RESULT([  The operating system you are using has not yet had a great])
@@ -102,7 +102,7 @@
 dnl
 AC_DEFUN([EGG_CHECK_CC],
 [
-  if test "x$cross_compiling" = "x"; then
+  if test "x$cross_compiling" = x; then
     cat << 'EOF' >&2
 configure: error:
 
@@ -119,7 +119,7 @@
 dnl
 AC_DEFUN([EGG_HEADER_STDC],
 [
-  if test "$ac_cv_header_stdc" = "no"; then
+  if test "$ac_cv_header_stdc" = no; then
     cat << 'EOF' >&2
 configure: error:
 
@@ -134,7 +134,7 @@
 
 dnl EGG_CHECK_CCPIPE()
 dnl
-dnl This function checks whether or not the compiler supports the `-pipe' flag,
+dnl This macro checks whether or not the compiler supports the `-pipe' flag,
 dnl which speeds up the compilation.
 dnl
 AC_DEFUN([EGG_CHECK_CCPIPE],
@@ -156,7 +156,7 @@
         CC="$ac_old_CC"
     ])
 
-    if test "$egg_cv_var_ccpipe" = "yes"; then
+    if test "$egg_cv_var_ccpipe" = yes; then
       CC="$CC -pipe"
     fi
   fi
@@ -186,7 +186,7 @@
       CFLAGS="$ac_old_CFLAGS"
     ])
 
-    if test "$egg_cv_var_ccwall" = "yes"; then
+    if test "$egg_cv_var_ccwall" = yes; then
       CFLAGS="$CFLAGS -Wall"
     fi
   fi
@@ -231,7 +231,7 @@
     ])
   ])
 
-  if test "$egg_cv_socklen_t" = "yes"; then
+  if test "$egg_cv_socklen_t" = yes; then
     AC_DEFINE(HAVE_SOCKLEN_T, 1, [Define to 1 if you have the `socklen_t' type.])
   fi
 ])
@@ -242,7 +242,7 @@
 AC_DEFUN([EGG_FUNC_VPRINTF],
 [
   AC_FUNC_VPRINTF
-  if test "$ac_cv_func_vprintf" = "no"; then
+  if test "$ac_cv_func_vprintf" = no; then
     cat << 'EOF' >&2
 configure: error:
 
@@ -262,7 +262,7 @@
 
 dnl EGG_PROG_HEAD_1()
 dnl
-dnl This function checks for the proper 'head -1' command variant to use.
+dnl This macro checks for the proper 'head -1' command variant to use.
 dnl
 AC_DEFUN([EGG_PROG_HEAD_1],
 [
@@ -279,7 +279,7 @@
         # Let the user override the test.
         ac_cv_prog_HEAD_1="$HEAD_1"
       else
-        if test "`cat conftest.head | $ac_prog`" = "a"; then
+        if test `cat conftest.head | $ac_prog` = a; then
           ac_cv_prog_HEAD_1="$ac_prog"
         fi
       fi
@@ -292,7 +292,7 @@
     fi
   done
 
-  if test "x$ac_cv_prog_HEAD_1" = "x"; then
+  if test "x$ac_cv_prog_HEAD_1" = x; then
     cat << 'EOF' >&2
 configure: error:
 
@@ -314,7 +314,7 @@
 AC_DEFUN([EGG_PROG_STRIP],
 [
   AC_CHECK_PROG(STRIP, strip, strip)
-  if test "x$STRIP" = "x"; then
+  if test "x$STRIP" = x; then
     STRIP=touch
   fi
 ])
@@ -325,7 +325,7 @@
 AC_DEFUN([EGG_PROG_AWK],
 [
   AC_PROG_AWK
-  if test "x$AWK" = "x"; then
+  if test "x$AWK" = x; then
     cat << 'EOF' >&2
 configure: error:
 
@@ -343,7 +343,7 @@
 AC_DEFUN([EGG_PROG_BASENAME],
 [
   AC_CHECK_PROG(BASENAME, basename, basename)
-  if test "x$BASENAME" = "x"; then
+  if test "x$BASENAME" = x; then
     cat << 'EOF' >&2
 configure: error:
 
@@ -361,10 +361,11 @@
 AC_DEFUN([EGG_ENABLE_STRIP],
 [
   AC_ARG_ENABLE([strip],
-                [  --enable-strip          enable stripping of executables ],
+                [  --enable-strip          enable stripping of binaries],
                 [enable_strip="$enableval"],
                 [enable_strip="no"])
-  if test "$enable_strip" = "yes"; then
+
+  if test "$enable_strip" = yes; then
     AC_DEFINE(ENABLE_STRIP, 1, [Define if stripping is enabled.])
     cat << 'EOF' >&2
 
@@ -406,7 +407,7 @@
 dnl
 AC_DEFUN([EGG_CYGWIN_BINMODE],
 [
-  if test $EGG_CYGWIN = "yes"; then
+  if test "$EGG_CYGWIN" = yes; then
     AC_MSG_CHECKING([for /usr/lib/binmode.o])
     if test -r /usr/lib/binmode.o; then
       AC_MSG_RESULT([yes])
@@ -438,7 +439,7 @@
     fi
   done
 
-  if test "x$BUNDLE" = "x"; then
+  if test "x$BUNDLE" = x; then
     cat << 'EOF' >&2
 configure: WARNING:
 
@@ -468,9 +469,11 @@
   AC_CHECK_HEADERS([dl.h dlfcn.h loader.h rld.h mach-o/dyld.h mach-o/rld.h])
   AC_CHECK_FUNCS([dlopen load NSLinkModule shl_load rld_load])
 
+  # Note to other maintainers:
+  # Bourne shell has no concept of "fall through"
   case "$egg_cv_var_system_type" in
     BSD/OS)
-      if test "`echo $egg_cv_var_system_release | cut -d . -f 1`" = "2"; then
+      if test `echo "$egg_cv_var_system_release" | cut -d . -f 1` = 2; then
         MODULES_OK="no"
       fi
     ;;
@@ -482,10 +485,10 @@
       LOAD_METHOD="shl"
     ;;
     dell)
-      # Fallthrough.
+      # do nothing
     ;;
     IRIX)
-      # Fallthrough.
+      # do nothing
     ;;
     Ultrix)
       # No dlopen() or similar on Ultrix. We can't use modules.
@@ -499,19 +502,19 @@
       WEIRD_OS="no"
     ;;
     Lynx)
-      # Fallthrough.
+      # do nothing
     ;;
     QNX)
-      # Fallthrough.
+      # do nothing
       # QNX (recent versions at least) support dlopen().
     ;;
     OSF1)
-      case "`echo $egg_cv_var_system_release | cut -d . -f 1`" in
+      case `echo "$egg_cv_var_system_release" | cut -d . -f 1` in
         1.*) LOAD_METHOD="loader" ;;
       esac
     ;;
     SunOS)
-      if test "`echo $egg_cv_var_system_release | cut -d . -f 1`" = "5"; then
+      if test `echo "$egg_cv_var_system_release" | cut -d . -f 1` = 5; then
         # We've had quite a bit of testing on Solaris.
         WEIRD_OS="no"
       else
@@ -527,7 +530,7 @@
     Darwin)
       # We should support Mac OS X (at least 10.1 and later) now.
       # Use rld on < 10.1.
-      if test "$ac_cv_func_NSLinkModule" = "no"; then
+      if test "$ac_cv_func_NSLinkModule" = no; then
         LOAD_METHOD="rld"
       fi
       LOAD_METHOD="dyld"
@@ -551,7 +554,7 @@
     ;;
   esac
 
-  if test "$MODULES_OK" = "yes"; then
+  if test "$MODULES_OK" = yes; then
     AC_DEFINE(MODULES_OK, 1, [Define if modules will work on your system.])
     case $LOAD_METHOD in
       dl)
@@ -574,7 +577,7 @@
     DEFAULT_MAKE="static"
   fi
 
-  if test "$WEIRD_OS" = "yes"; then
+  if test "$WEIRD_OS" = yes; then
     # Default to "make static" for 'weird' operating systems. Will print a
     # note at the end of configure explaining. This way, Eggdrop should compile
     # "out of the box" on most every operating system we know of, and they can
@@ -610,21 +613,21 @@
 
   case "$egg_cv_var_system_type" in
     BSD/OS)
-      case "`echo $egg_cv_var_system_release | cut -d . -f 1`" in
+      case `echo "$egg_cv_var_system_release" | cut -d . -f 1` in
         2)
-          # Fallthrough.
+          # do nothing
         ;;
         3)
           MOD_CC="shlicc"
           MOD_LD="shlicc"
-          if test ! "$STRIP" = "touch"; then
+          if test "$STRIP" != touch; then
             MOD_STRIP="$STRIP -d"
           fi
           SHLIB_LD="shlicc -r"
           SHLIB_STRIP="touch"
         ;;
         *)
-          if test ! "$STRIP" = "touch"; then
+          if test "$STRIP" != touch; then
             MOD_STRIP="$STRIP -d"
           fi
           SHLIB_CC="$CC -export-dynamic -fPIC"
@@ -644,7 +647,7 @@
     ;;
     HP-UX)
       HPUX="yes"
-      if test "$CC" = "cc"; then
+      if test "$CC" = cc; then
         # HP-UX ANSI C Compiler.
         MOD_LD="$CC +z"
         SHLIB_CC="$CC +z"
@@ -674,7 +677,7 @@
       SHLIB_CC="cc -G"
     ;;
     BeOS)
-      # Fallthrough.
+      # do nothing
     ;;
     Linux)
       LINUX="yes"
@@ -683,16 +686,16 @@
       SHLIB_LD="$CC -shared -nostartfiles"
     ;;
     Lynx)
-      # Fallthrough.
+      # do nothing
     ;;
     QNX)
       SHLIB_LD="ld -shared"
     ;;
     OSF1)
-      case "`echo $egg_cv_var_system_release | cut -d . -f 1`" in
+      case `echo "$egg_cv_var_system_release" | cut -d . -f 1` in
         V*)
           # Digital OSF uses an ancient version of gawk
-          if test "$AWK" = "gawk"; then
+          if test "$AWK" = gawk; then
             AWK="awk"
           fi
           SHLIB_LD="ld -shared -expect_unresolved \"'*'\""
@@ -710,7 +713,7 @@
       AC_DEFINE(STOP_UAC, 1, [Define if running on OSF/1 platform.])
     ;;
     SunOS)
-      if test "`echo $egg_cv_var_system_release | cut -d . -f 1`" = "5"; then
+      if test `echo "$egg_cv_var_system_release" | cut -d . -f 1` = 5; then
         # Solaris
         if test -n "$GCC"; then
           SHLIB_CC="$CC -fPIC"
@@ -773,7 +776,7 @@
 AC_DEFUN([EGG_CHECK_LIBS],
 [
   # FIXME: this needs to be fixed so that it works on IRIX
-  if test "$IRIX" = "yes"; then
+  if test "$IRIX" = yes; then
     AC_MSG_WARN([Skipping library tests because they CONFUSE IRIX.])
   else
     AC_CHECK_LIB(socket, socket)
@@ -805,11 +808,11 @@
       )]
     )])
 
-    if test "$SUNOS" = "yes"; then
+    if test "$SUNOS" = yes; then
       # For suns without yp
       AC_CHECK_LIB(dl, main)
     else
-      if test "$HPUX" = "yes"; then
+      if test "$HPUX" = yes; then
         AC_CHECK_LIB(dld, shl_load)
       fi
     fi
@@ -844,7 +847,7 @@
     ])
   ])
 
-  if test "$egg_cv_var_libsafe_sscanf" = "yes"; then
+  if test "$egg_cv_var_libsafe_sscanf" = yes; then
     AC_DEFINE(LIBSAFE_HACKS, 1, [Define if you have a version of libsafe with a broken sscanf().])
   fi
 ])
@@ -862,7 +865,7 @@
 AC_DEFUN([EGG_EXEEXT], [
   EGGEXEC="eggdrop"
   AC_EXEEXT
-  if test ! "x$EXEEXT" = "x"; then
+  if test "x$EXEEXT" != x; then
     EGGEXEC="eggdrop${EXEEXT}"
   fi
   AC_SUBST(EGGEXEC)
@@ -883,15 +886,15 @@
 
   WARN=0
   # Make sure either both or neither $tcllibname and $tclincname are set
-  if test ! "x$tcllibname" = "x"; then
-    if test "x$tclincname" = "x"; then
+  if test "x$tcllibname" != x; then
+    if test "x$tclincname" = x; then
       WARN=1
       tcllibname=""
       TCLLIB=""
       TCLINC=""
     fi
   else
-    if test ! "x$tclincname" = "x"; then
+    if test "x$tclincname" != x; then
       WARN=1
       tclincname=""
       TCLLIB=""
@@ -918,15 +921,15 @@
 [
   WARN=0
   # Make sure either both or neither $TCLLIB and $TCLINC are set
-  if test ! "x$TCLLIB" = "x"; then
-    if test "x$TCLINC" = "x"; then
+  if test "x$TCLLIB" != x; then
+    if test "x$TCLINC" = x; then
       WARN=1
       WVAR1=TCLLIB
       WVAR2=TCLINC
       TCLLIB=""
     fi
   else
-    if test ! "x$TCLINC" = "x"; then
+    if test "x$TCLINC" != x; then
       WARN=1
       WVAR1=TCLINC
       WVAR2=TCLLIB
@@ -953,7 +956,7 @@
 AC_DEFUN([EGG_TCL_WITH_TCLLIB],
 [
   # Look for Tcl library: if $tcllibname is set, check there first
-  if test ! "x$tcllibname" = "x"; then
+  if test "x$tcllibname" != x; then
     if test -f "$tcllibname" && test -r "$tcllibname"; then
       TCLLIB=`echo $tcllibname | sed 's%/[[^/]][[^/]]*$%%'`
       TCLLIBFN=`$BASENAME $tcllibname | cut -c4-`
@@ -984,7 +987,7 @@
 AC_DEFUN([EGG_TCL_WITH_TCLINC],
 [
   # Look for Tcl header: if $tclincname is set, check there first
-  if test ! "x$tclincname" = "x"; then
+  if test "x$tclincname" != x; then
     if test -f "$tclincname" && test -r "$tclincname"; then
       TCLINC=`echo $tclincname | sed 's%/[[^/]][[^/]]*$%%'`
       TCLINCFN=`$BASENAME $tclincname`
@@ -1013,7 +1016,7 @@
 AC_DEFUN([EGG_TCL_FIND_LIBRARY],
 [
   # Look for Tcl library: if $TCLLIB is set, check there first
-  if test "x$TCLLIBFN" = "x" && test ! "x$TCLLIB" = "x"; then
+  if test "x$TCLLIBFN" = x && test "x$TCLLIB" != x; then
     if test -d "$TCLLIB"; then
       for tcllibfns in $tcllibnames; do
         for tcllibext in $tcllibextensions; do
@@ -1027,7 +1030,7 @@
       done
     fi
 
-    if test "x$TCLLIBFN" = "x"; then
+    if test "x$TCLLIBFN" = x; then
       cat << 'EOF' >&2
 configure: WARNING:
 
@@ -1051,7 +1054,7 @@
 AC_DEFUN([EGG_TCL_FIND_HEADER],
 [
   # Look for Tcl header: if $TCLINC is set, check there first
-  if test "x$TCLINCFN" = "x" && test ! "x$TCLINC" = "x"; then
+  if test "x$TCLINCFN" = x && test "x$TCLINC" != x; then
     if test -d "$TCLINC"; then
       for tclheaderfn in $tclheadernames; do
         if test -r "${TCLINC}/${tclheaderfn}"; then
@@ -1061,7 +1064,7 @@
       done
     fi
 
-    if test "x$TCLINCFN" = "x"; then
+    if test "x$TCLINCFN" = x; then
       cat << 'EOF' >&2
 configure: WARNING:
 
@@ -1087,7 +1090,7 @@
   AC_MSG_CHECKING([for Tcl library])
 
   # Attempt autodetect for $TCLLIBFN if it's not set
-  if test ! "x$TCLLIBFN" = "x"; then
+  if test "x$TCLLIBFN" != x; then
     AC_MSG_RESULT([using ${TCLLIB}/lib${TCLLIBFN}])
   else
     for tcllibfns in $tcllibnames; do
@@ -1107,7 +1110,7 @@
   fi
 
   # Show if $TCLLIBFN wasn't found
-  if test "x$TCLLIBFN" = "x"; then
+  if test "x$TCLLIBFN" = x; then
     AC_MSG_RESULT([not found])
   fi
 
@@ -1123,7 +1126,7 @@
   AC_MSG_CHECKING([for Tcl header])
 
   # Attempt autodetect for $TCLINCFN if it's not set
-  if test ! "x$TCLINCFN" = "x"; then
+  if test "x$TCLINCFN" != x; then
     AC_MSG_RESULT([using ${TCLINC}/${TCLINCFN}])
   else
     for tclheaderpath in $tclheaderpaths; do
@@ -1138,7 +1141,7 @@
     done
 
     # FreeBSD hack ...
-    if test "x$TCLINCFN" = "x"; then
+    if test "x$TCLINCFN" = x; then
       for tcllibfns in $tcllibnames; do
         for tclheaderpath in $tclheaderpaths; do
           for tclheaderfn in $tclheadernames; do
@@ -1154,7 +1157,7 @@
     fi
   fi
 
-  if test "x$TCLINCFN" = "x"; then
+  if test "x$TCLINCFN" = x; then
     AC_MSG_RESULT([not found])
   fi
 
@@ -1186,13 +1189,13 @@
   AC_MSG_CHECKING([whether the Tcl system has changed])
   egg_tcl_changed="yes"
   egg_tcl_id="${TCLLIB}:${TCLLIBFN}:${TCLINC}:${TCLINCFN}"
-  if test ! "$egg_tcl_id" = ":::"; then
+  if test "$egg_tcl_id" != ":::"; then
     egg_tcl_cached="yes"
     AC_CACHE_VAL(egg_cv_var_tcl_id, [
       egg_cv_var_tcl_id="$egg_tcl_id"
       egg_tcl_cached="no"
     ])
-    if test "$egg_tcl_cached" = "yes"; then
+    if test "$egg_tcl_cached" = yes; then
       if test "x$egg_cv_var_tcl_id" = "x$egg_tcl_id"; then
         egg_tcl_changed="no"
       else
@@ -1201,7 +1204,7 @@
     fi
   fi
 
-  if test "$egg_tcl_changed" = "yes"; then
+  if test "$egg_tcl_changed" = yes; then
     AC_MSG_RESULT([yes])
   else
     AC_MSG_RESULT([no])
@@ -1215,11 +1218,11 @@
 [
   # Both TCLLIBFN & TCLINCFN must be set, or we bail
   TCL_FOUND=0
-  if test ! "x$TCLLIBFN" = "x" && test ! "x$TCLINCFN" = "x"; then
+  if test "x$TCLLIBFN" != x && test "x$TCLINCFN" != x; then
     TCL_FOUND=1
 
     # Check Tcl's version
-    if test "$egg_tcl_changed" = "yes"; then
+    if test "$egg_tcl_changed" = yes; then
       EGG_CACHE_UNSET(egg_cv_var_tcl_version)
     fi
 
@@ -1228,7 +1231,7 @@
       egg_cv_var_tcl_version=`grep TCL_VERSION $TCLINC/$TCLINCFN | $HEAD_1 | $AWK '{gsub(/\"/, "", [$]3); print [$]3}'`
     ])
 
-    if test ! "x$egg_cv_var_tcl_version" = "x"; then
+    if test "x$egg_cv_var_tcl_version" != x; then
       AC_MSG_RESULT([$egg_cv_var_tcl_version])
     else
       AC_MSG_RESULT([not found])
@@ -1236,7 +1239,7 @@
     fi
 
     # Check Tcl's patch level (if available)
-    if test "$egg_tcl_changed" = "yes"; then
+    if test "$egg_tcl_changed" = yes; then
       EGG_CACHE_UNSET(egg_cv_var_tcl_patch_level)
     fi
     AC_MSG_CHECKING([for Tcl patch level])
@@ -1244,7 +1247,7 @@
       eval "egg_cv_var_tcl_patch_level=`grep TCL_PATCH_LEVEL $TCLINC/$TCLINCFN | $HEAD_1 | $AWK '{gsub(/\"/, "", [$]3); print [$]3}'`"
     ])
 
-    if test ! "x$egg_cv_var_tcl_patch_level" = "x"; then
+    if test "x$egg_cv_var_tcl_patch_level" != x; then
       AC_MSG_RESULT([$egg_cv_var_tcl_patch_level])
     else
       egg_cv_var_tcl_patch_level="unknown"
@@ -1279,7 +1282,7 @@
 [
   # Is this version of Tcl too old for us to use ?
   TCL_VER_PRE70=`echo $egg_cv_var_tcl_version | $AWK '{split([$]1, i, "."); if (i[[1]] < 7) print "yes"; else print "no"}'`
-  if test "$TCL_VER_PRE70" = "yes"; then
+  if test "$TCL_VER_PRE70" = yes; then
     cat << EOF >&2
 configure: error:
 
@@ -1304,7 +1307,7 @@
   # Set variables for Tcl library tests
   TCL_TEST_LIB="$TCLLIBFNS"
   TCL_TEST_OTHERLIBS="-L$TCLLIB $EGG_MATH_LIB"
-  if test ! "x$ac_cv_lib_pthread" = "x"; then
+  if test "x$ac_cv_lib_pthread" != x; then
     TCL_TEST_OTHERLIBS="$TCL_TEST_OTHERLIBS $ac_cv_lib_pthread"
   fi
 ])
@@ -1314,14 +1317,14 @@
 dnl
 AC_DEFUN([EGG_TCL_CHECK_FREE],
 [
-  if test "$egg_tcl_changed" = "yes"; then
+  if test "$egg_tcl_changed" = yes; then
     EGG_CACHE_UNSET(egg_cv_var_tcl_free)
   fi
 
   # Check for Tcl_Free()
   AC_CHECK_LIB($TCL_TEST_LIB, Tcl_Free, [egg_cv_var_tcl_free="yes"], [egg_cv_var_tcl_free="no"], $TCL_TEST_OTHERLIBS)
 
-  if test "$egg_cv_var_tcl_free" = "yes"; then
+  if test "$egg_cv_var_tcl_free" = yes; then
     AC_DEFINE(HAVE_TCL_FREE, 1, [Define for Tcl that has Tcl_Free() (7.5p1 and later).])
   fi
 ])
@@ -1331,8 +1334,8 @@
 dnl
 AC_DEFUN([EGG_TCL_ENABLE_THREADS],
 [
-  AC_ARG_ENABLE(tcl-threads, [  --enable-tcl-threads    force threaded Tcl library support enabled], [enable_tcl_threads="$enableval"], [enable_tcl_threads="auto"])
-  AC_ARG_ENABLE(tcl-threads, [  --disable-tcl-threads   force threaded Tcl library support disabled], [enable_tcl_threads="$enableval"], [enable_tcl_threads="auto"])
+  AC_ARG_ENABLE(tcl-threads, [  --enable-tcl-threads    enable threaded Tcl library support (autodetect)], [enable_tcl_threads="$enableval"], [enable_tcl_threads="auto"])
+  AC_ARG_ENABLE(tcl-threads, [  --disable-tcl-threads   disable threaded Tcl library support], [enable_tcl_threads="$enableval"], [enable_tcl_threads="auto"])
 ])
 
 
@@ -1340,7 +1343,7 @@
 dnl
 AC_DEFUN([EGG_TCL_CHECK_THREADS],
 [
-  if test "$egg_tcl_changed" = "yes"; then
+  if test "$egg_tcl_changed" = yes; then
     EGG_CACHE_UNSET(egg_cv_var_tcl_threaded)
   fi
 
@@ -1352,25 +1355,25 @@
   # Do this check first just in case someone tries to use both
   # --enable-tcl-threads and --disable-tcl-threads or gives an
   # invalid --enable-tcl-threads=foo option.
-  if test "$egg_cv_var_tcl_threaded" = "yes"; then
+  if test "$egg_cv_var_tcl_threaded" = yes; then
     WANT_TCL_THREADS=1
   fi
 
   # Check if either --enable-tcl-threads or --disable-tcl-threads was used
-  if test ! "$enable_tcl_threads" = "auto"; then
+  if test "$enable_tcl_threads" != auto; then
 
     # Make sure an invalid option wasn't passed as --enable-tcl-threads=foo
-    if test ! "$enable_tcl_threads" = "yes" && test ! "$enable_tcl_threads" = "no"; then
+    if test "$enable_tcl_threads" != yes && test "$enable_tcl_threads" != no; then
       AC_MSG_WARN([Invalid option '$enable_tcl_threads' passed to --enable-tcl-threads, defaulting to 'yes'])
 
       enable_tcl_threads=yes
     fi
 
     # The --enable-tcl-threads option was used
-    if test "$enable_tcl_threads" = "yes"; then
+    if test "$enable_tcl_threads" = yes; then
       WANT_TCL_THREADS=1
 
-      if test "$egg_cv_var_tcl_threaded" = "no"; then
+      if test "$egg_cv_var_tcl_threaded" = no; then
         cat << 'EOF' >&2
 configure: WARNING:
 
@@ -1385,10 +1388,10 @@
     fi
 
     # The --disable-tcl-threads option was used
-    if test "$enable_tcl_threads" = "no"; then
+    if test "$enable_tcl_threads" = no; then
       WANT_TCL_THREADS=0
 
-      if test "$egg_cv_var_tcl_threaded" = "yes"; then
+      if test "$egg_cv_var_tcl_threaded" = yes; then
         cat << 'EOF' >&2
 configure: WARNING:
 
@@ -1410,7 +1413,7 @@
     AC_DEFINE(HAVE_TCL_THREADS, 1, [Define if Tcl library is threads-enabled.])
 
     # Add pthread library to $LIBS if we need it for threaded Tcl
-    if test ! "x$ac_cv_lib_pthread" = "x"; then
+    if test "x$ac_cv_lib_pthread" != x; then
       LIBS="$ac_cv_lib_pthread $LIBS"
     fi
   else
@@ -1423,16 +1426,16 @@
 dnl
 AC_DEFUN([EGG_TCL_LIB_REQS],
 [
-  if test "$EGG_CYGWIN" = "yes"; then
+  if test "$EGG_CYGWIN" = yes; then
     TCL_REQS="${TCLLIB}/lib${TCLLIBFN}"
     TCL_LIBS="-L$TCLLIB -l$TCLLIBFNS $EGG_MATH_LIB"
   else
-    if test ! "$TCLLIBEXT" = ".a"; then
+    if test "$TCLLIBEXT" != ".a"; then
       TCL_REQS="${TCLLIB}/lib${TCLLIBFN}"
       TCL_LIBS="-L$TCLLIB -l$TCLLIBFNS $EGG_MATH_LIB"
     else
       # Set default make as static for unshared Tcl library
-      if test ! "$DEFAULT_MAKE" = "static"; then
+      if test "$DEFAULT_MAKE" != static; then
         cat << 'EOF' >&2
 configure: WARNING:
 
@@ -1446,10 +1449,10 @@
 
       # Are we using a pre 7.4 Tcl version ?
       TCL_VER_PRE74=`echo $egg_cv_var_tcl_version | $AWK '{split([$]1, i, "."); if (((i[[1]] == 7) && (i[[2]] < 4)) || (i[[1]] < 7)) print "yes"; else print "no"}'`
-      if test "$TCL_VER_PRE74" = "no"; then
+      if test "$TCL_VER_PRE74" = no; then
 
         # Was the --with-tcllib option given ?
-        if test ! "x$tcllibname" = "x"; then
+        if test "x$tcllibname" != x; then
           TCL_REQS="${TCLLIB}/lib${TCLLIBFN}"
           TCL_LIBS="${TCLLIB}/lib${TCLLIBFN} $EGG_MATH_LIB"
         else
@@ -1489,7 +1492,7 @@
 dnl EGG_SUBST_DEST()
 AC_DEFUN([EGG_SUBST_DEST],
 [
-  if test "x$DEST" = "x"; then
+  if test "x$DEST" = x; then
     DEST=\${prefix}
   fi
   AC_SUBST(DEST)
Index: eggdrop1.6/configure
diff -u eggdrop1.6/configure:1.155 eggdrop1.6/configure:1.156
--- eggdrop1.6/configure:1.155	Wed Jul  2 02:31:27 2008
+++ eggdrop1.6/configure	Thu Jul  3 20:52:55 2008
@@ -1,5 +1,5 @@
 #! /bin/sh
-# From configure.ac Revision: 1.29 .
+# From configure.ac Revision: 1.30 .
 # Guess values for system-dependent variables and create Makefiles.
 # Generated by GNU Autoconf 2.61 for Eggdrop 1.6.20.
 #
@@ -667,6 +667,7 @@
 CPP
 GREP
 EGREP
+EGGEXEC
 INSTALL_PROGRAM
 INSTALL_SCRIPT
 INSTALL_DATA
@@ -699,7 +700,6 @@
 SHLIB_LD
 SHLIB_CC
 SHLIB_STRIP
-EGGEXEC
 TCLLIB
 TCLLIBFN
 TCLINC
@@ -1296,9 +1296,9 @@
 Optional Features:
   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
-  --enable-strip          enable stripping of executables
-  --enable-tcl-threads    force threaded Tcl library support enabled
-  --disable-tcl-threads   force threaded Tcl library support disabled
+  --enable-strip          enable stripping of binaries
+  --enable-tcl-threads    enable threaded Tcl library support (autodetect)
+  --disable-tcl-threads   disable threaded Tcl library support
 
 Optional Packages:
   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
@@ -2753,7 +2753,7 @@
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
-  if test "x$cross_compiling" = "x"; then
+  if test "x$cross_compiling" = x; then
     cat << 'EOF' >&2
 configure: error:
 
@@ -3673,21 +3673,21 @@
 
 # Check C compiler characteristics.
 
-  if test -n "$GCC" && test -z "$no_wall"; then
-    { echo "$as_me:$LINENO: checking whether the compiler understands -Wall" >&5
-echo $ECHO_N "checking whether the compiler understands -Wall... $ECHO_C" >&6; }
-if test "${egg_cv_var_ccwall+set}" = set; then
+  if test -n "$GCC" && test -z "$no_pipe"; then
+    { echo "$as_me:$LINENO: checking whether the compiler understands -pipe" >&5
+echo $ECHO_N "checking whether the compiler understands -pipe... $ECHO_C" >&6; }
+if test "${egg_cv_var_ccpipe+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
 
-      ac_old_CFLAGS="$CFLAGS"
-      CFLAGS="$CFLAGS -Wall"
-       cat >conftest.$ac_ext <<_ACEOF
+        ac_old_CC="$CC"
+        CC="$CC -pipe"
+        cat >conftest.$ac_ext <<_ACEOF
 
-         int main ()
-         {
-           return(0);
-         }
+          int main ()
+          {
+            return(0);
+          }
 
 _ACEOF
 rm -f conftest.$ac_objext
@@ -3708,45 +3708,45 @@
 	 test ! -s conftest.err
        } && test -s conftest.$ac_objext; then
 
-         egg_cv_var_ccwall="yes"
+          egg_cv_var_ccpipe="yes"
 
 else
   echo "$as_me: failed program was:" >&5
 sed 's/^/| /' conftest.$ac_ext >&5
 
 
-         egg_cv_var_ccwall="no"
+          egg_cv_var_ccpipe="no"
 
 fi
 
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      CFLAGS="$ac_old_CFLAGS"
+        CC="$ac_old_CC"
 
 fi
-{ echo "$as_me:$LINENO: result: $egg_cv_var_ccwall" >&5
-echo "${ECHO_T}$egg_cv_var_ccwall" >&6; }
+{ echo "$as_me:$LINENO: result: $egg_cv_var_ccpipe" >&5
+echo "${ECHO_T}$egg_cv_var_ccpipe" >&6; }
 
-    if test "$egg_cv_var_ccwall" = "yes"; then
-      CFLAGS="$CFLAGS -Wall"
+    if test "$egg_cv_var_ccpipe" = yes; then
+      CC="$CC -pipe"
     fi
   fi
 
 
-  if test -n "$GCC" && test -z "$no_pipe"; then
-    { echo "$as_me:$LINENO: checking whether the compiler understands -pipe" >&5
-echo $ECHO_N "checking whether the compiler understands -pipe... $ECHO_C" >&6; }
-if test "${egg_cv_var_ccpipe+set}" = set; then
+  if test -n "$GCC" && test -z "$no_wall"; then
+    { echo "$as_me:$LINENO: checking whether the compiler understands -Wall" >&5
+echo $ECHO_N "checking whether the compiler understands -Wall... $ECHO_C" >&6; }
+if test "${egg_cv_var_ccwall+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
 
-        ac_old_CC="$CC"
-        CC="$CC -pipe"
-        cat >conftest.$ac_ext <<_ACEOF
+      ac_old_CFLAGS="$CFLAGS"
+      CFLAGS="$CFLAGS -Wall"
+       cat >conftest.$ac_ext <<_ACEOF
 
-          int main ()
-          {
-            return(0);
-          }
+         int main ()
+         {
+           return(0);
+         }
 
 _ACEOF
 rm -f conftest.$ac_objext
@@ -3767,31 +3767,42 @@
 	 test ! -s conftest.err
        } && test -s conftest.$ac_objext; then
 
-          egg_cv_var_ccpipe="yes"
+         egg_cv_var_ccwall="yes"
 
 else
   echo "$as_me: failed program was:" >&5
 sed 's/^/| /' conftest.$ac_ext >&5
 
 
-          egg_cv_var_ccpipe="no"
+         egg_cv_var_ccwall="no"
 
 fi
 
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-        CC="$ac_old_CC"
+      CFLAGS="$ac_old_CFLAGS"
 
 fi
-{ echo "$as_me:$LINENO: result: $egg_cv_var_ccpipe" >&5
-echo "${ECHO_T}$egg_cv_var_ccpipe" >&6; }
+{ echo "$as_me:$LINENO: result: $egg_cv_var_ccwall" >&5
+echo "${ECHO_T}$egg_cv_var_ccwall" >&6; }
 
-    if test "$egg_cv_var_ccpipe" = "yes"; then
-      CC="$CC -pipe"
+    if test "$egg_cv_var_ccwall" = yes; then
+      CFLAGS="$CFLAGS -Wall"
     fi
   fi
 
 
 
+# Check for executable extension.
+
+  EGGEXEC="eggdrop"
+
+  if test "x$EXEEXT" != x; then
+    EGGEXEC="eggdrop${EXEEXT}"
+  fi
+
+
+
+
 # Checks for programs.
 # Find a good install program.  We prefer a C program (faster),
 # so one script is as good as another.  But avoid the broken or
@@ -4028,7 +4039,7 @@
         # Let the user override the test.
         ac_cv_prog_HEAD_1="$HEAD_1"
       else
-        if test "`cat conftest.head | $ac_prog`" = "a"; then
+        if test `cat conftest.head | $ac_prog` = a; then
           ac_cv_prog_HEAD_1="$ac_prog"
         fi
       fi
@@ -4045,7 +4056,7 @@
     fi
   done
 
-  if test "x$ac_cv_prog_HEAD_1" = "x"; then
+  if test "x$ac_cv_prog_HEAD_1" = x; then
     cat << 'EOF' >&2
 configure: error:
 
@@ -4098,7 +4109,7 @@
 fi
 
 
-  if test "x$STRIP" = "x"; then
+  if test "x$STRIP" = x; then
     STRIP=touch
   fi
 
@@ -4145,7 +4156,7 @@
   test -n "$AWK" && break
 done
 
-  if test "x$AWK" = "x"; then
+  if test "x$AWK" = x; then
     cat << 'EOF' >&2
 configure: error:
 
@@ -4194,7 +4205,7 @@
 fi
 
 
-  if test "x$BASENAME" = "x"; then
+  if test "x$BASENAME" = x; then
     cat << 'EOF' >&2
 configure: error:
 
@@ -4254,7 +4265,8 @@
   enable_strip="no"
 fi
 
-  if test "$enable_strip" = "yes"; then
+
+  if test "$enable_strip" = yes; then
 
 cat >>confdefs.h <<\_ACEOF
 #define ENABLE_STRIP 1
@@ -4278,7 +4290,7 @@
 # Checks for system libraries.
 
   # FIXME: this needs to be fixed so that it works on IRIX
-  if test "$IRIX" = "yes"; then
+  if test "$IRIX" = yes; then
     { echo "$as_me:$LINENO: WARNING: Skipping library tests because they CONFUSE IRIX." >&5
 echo "$as_me: WARNING: Skipping library tests because they CONFUSE IRIX." >&2;}
   else
@@ -4939,7 +4951,7 @@
 fi
 
 
-    if test "$SUNOS" = "yes"; then
+    if test "$SUNOS" = yes; then
       # For suns without yp
 
 { echo "$as_me:$LINENO: checking for main in -ldl" >&5
@@ -5007,7 +5019,7 @@
 fi
 
     else
-      if test "$HPUX" = "yes"; then
+      if test "$HPUX" = yes; then
 
 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
@@ -5495,9 +5507,11 @@
 done
 
 
+  # Note to other maintainers:
+  # Bourne shell has no concept of "fall through"
   case "$egg_cv_var_system_type" in
     BSD/OS)
-      if test "`echo $egg_cv_var_system_release | cut -d . -f 1`" = "2"; then
+      if test `echo "$egg_cv_var_system_release" | cut -d . -f 1` = 2; then
         MODULES_OK="no"
       fi
     ;;
@@ -5509,10 +5523,10 @@
       LOAD_METHOD="shl"
     ;;
     dell)
-      # Fallthrough.
+      # do nothing
     ;;
     IRIX)
-      # Fallthrough.
+      # do nothing
     ;;
     Ultrix)
       # No dlopen() or similar on Ultrix. We can't use modules.
@@ -5526,19 +5540,19 @@
       WEIRD_OS="no"
     ;;
     Lynx)
-      # Fallthrough.
+      # do nothing
     ;;
     QNX)
-      # Fallthrough.
+      # do nothing
       # QNX (recent versions at least) support dlopen().
     ;;
     OSF1)
-      case "`echo $egg_cv_var_system_release | cut -d . -f 1`" in
+      case `echo "$egg_cv_var_system_release" | cut -d . -f 1` in
         1.*) LOAD_METHOD="loader" ;;
       esac
     ;;
     SunOS)
-      if test "`echo $egg_cv_var_system_release | cut -d . -f 1`" = "5"; then
+      if test `echo "$egg_cv_var_system_release" | cut -d . -f 1` = 5; then
         # We've had quite a bit of testing on Solaris.
         WEIRD_OS="no"
       else
@@ -5558,7 +5572,7 @@
     Darwin)
       # We should support Mac OS X (at least 10.1 and later) now.
       # Use rld on < 10.1.
-      if test "$ac_cv_func_NSLinkModule" = "no"; then
+      if test "$ac_cv_func_NSLinkModule" = no; then
         LOAD_METHOD="rld"
       fi
       LOAD_METHOD="dyld"
@@ -5578,7 +5592,7 @@
     fi
   done
 
-  if test "x$BUNDLE" = "x"; then
+  if test "x$BUNDLE" = x; then
     cat << 'EOF' >&2
 configure: WARNING:
 
@@ -5606,7 +5620,7 @@
     ;;
   esac
 
-  if test "$MODULES_OK" = "yes"; then
+  if test "$MODULES_OK" = yes; then
 
 cat >>confdefs.h <<\_ACEOF
 #define MODULES_OK 1
@@ -5653,7 +5667,7 @@
     DEFAULT_MAKE="static"
   fi
 
-  if test "$WEIRD_OS" = "yes"; then
+  if test "$WEIRD_OS" = yes; then
     # Default to "make static" for 'weird' operating systems. Will print a
     # note at the end of configure explaining. This way, Eggdrop should compile
     # "out of the box" on most every operating system we know of, and they can
@@ -5686,21 +5700,21 @@
 
   case "$egg_cv_var_system_type" in
     BSD/OS)
-      case "`echo $egg_cv_var_system_release | cut -d . -f 1`" in
+      case `echo "$egg_cv_var_system_release" | cut -d . -f 1` in
         2)
-          # Fallthrough.
+          # do nothing
         ;;
         3)
           MOD_CC="shlicc"
           MOD_LD="shlicc"
-          if test ! "$STRIP" = "touch"; then
+          if test "$STRIP" != touch; then
             MOD_STRIP="$STRIP -d"
           fi
           SHLIB_LD="shlicc -r"
           SHLIB_STRIP="touch"
         ;;
         *)
-          if test ! "$STRIP" = "touch"; then
+          if test "$STRIP" != touch; then
             MOD_STRIP="$STRIP -d"
           fi
           SHLIB_CC="$CC -export-dynamic -fPIC"
@@ -5809,7 +5823,7 @@
       MOD_LD="$CC"
       EGG_CYGWIN="yes"
 
-  if test $EGG_CYGWIN = "yes"; then
+  if test "$EGG_CYGWIN" = yes; then
     { echo "$as_me:$LINENO: checking for /usr/lib/binmode.o" >&5
 echo $ECHO_N "checking for /usr/lib/binmode.o... $ECHO_C" >&6; }
     if test -r /usr/lib/binmode.o; then
@@ -5832,7 +5846,7 @@
     ;;
     HP-UX)
       HPUX="yes"
-      if test "$CC" = "cc"; then
+      if test "$CC" = cc; then
         # HP-UX ANSI C Compiler.
         MOD_LD="$CC +z"
         SHLIB_CC="$CC +z"
@@ -5862,7 +5876,7 @@
       SHLIB_CC="cc -G"
     ;;
     BeOS)
-      # Fallthrough.
+      # do nothing
     ;;
     Linux)
       LINUX="yes"
@@ -5871,16 +5885,16 @@
       SHLIB_LD="$CC -shared -nostartfiles"
     ;;
     Lynx)
-      # Fallthrough.
+      # do nothing
     ;;
     QNX)
       SHLIB_LD="ld -shared"
     ;;
     OSF1)
-      case "`echo $egg_cv_var_system_release | cut -d . -f 1`" in
+      case `echo "$egg_cv_var_system_release" | cut -d . -f 1` in
         V*)
           # Digital OSF uses an ancient version of gawk
-          if test "$AWK" = "gawk"; then
+          if test "$AWK" = gawk; then
             AWK="awk"
           fi
           SHLIB_LD="ld -shared -expect_unresolved \"'*'\""
@@ -5906,7 +5920,7 @@
 
     ;;
     SunOS)
-      if test "`echo $egg_cv_var_system_release | cut -d . -f 1`" = "5"; then
+      if test `echo "$egg_cv_var_system_release" | cut -d . -f 1` = 5; then
         # Solaris
         if test -n "$GCC"; then
           SHLIB_CC="$CC -fPIC"
@@ -5973,7 +5987,7 @@
 
 # Checks for header files.
 
-  if test "$ac_cv_header_stdc" = "no"; then
+  if test "$ac_cv_header_stdc" = no; then
     cat << 'EOF' >&2
 configure: error:
 
@@ -7431,7 +7445,7 @@
 { echo "$as_me:$LINENO: result: $egg_cv_socklen_t" >&5
 echo "${ECHO_T}$egg_cv_socklen_t" >&6; }
 
-  if test "$egg_cv_socklen_t" = "yes"; then
+  if test "$egg_cv_socklen_t" = yes; then
 
 cat >>confdefs.h <<\_ACEOF
 #define HAVE_SOCKLEN_T 1
@@ -9193,7 +9207,7 @@
 done
 
 
-  if test "$ac_cv_func_vprintf" = "no"; then
+  if test "$ac_cv_func_vprintf" = no; then
     cat << 'EOF' >&2
 configure: error:
 
@@ -9868,7 +9882,7 @@
 { echo "$as_me:$LINENO: result: $egg_cv_var_libsafe_sscanf" >&5
 echo "${ECHO_T}$egg_cv_var_libsafe_sscanf" >&6; }
 
-  if test "$egg_cv_var_libsafe_sscanf" = "yes"; then
+  if test "$egg_cv_var_libsafe_sscanf" = yes; then
 
 cat >>confdefs.h <<\_ACEOF
 #define LIBSAFE_HACKS 1
@@ -9878,17 +9892,6 @@
 
 
 
-# Check for executable extension.
-
-  EGGEXEC="eggdrop"
-
-  if test ! "x$EXEEXT" = "x"; then
-    EGGEXEC="eggdrop${EXEEXT}"
-  fi
-
-
-
-
 # Tcl version to recommend if no Tcl is found, and the site where it can be
 # found for download.
 tclrecommendver="8.5.X"
@@ -9921,8 +9924,7 @@
                 /usr/pkg/lib /beos/system/include /beos/devel/include $HOME"
 
 
-# Misc Tcl checks. We save the cache (if used) here to speed things up if we
-# can't find Tcl.
+# We save the cache (if used) here to speed things up if we can't find Tcl.
 cat >confcache <<\_ACEOF
 # This file is a shell script that caches the results of configure
 # tests run on this system so they can be shared between configure
@@ -9997,6 +9999,8 @@
 fi
 rm -f confcache
 
+# Misc Tcl checks.
+
 
 # Check whether --with-tcllib was given.
 if test "${with_tcllib+set}" = set; then
@@ -10012,15 +10016,15 @@
 
   WARN=0
   # Make sure either both or neither $tcllibname and $tclincname are set
-  if test ! "x$tcllibname" = "x"; then
-    if test "x$tclincname" = "x"; then
+  if test "x$tcllibname" != x; then
+    if test "x$tclincname" = x; then
       WARN=1
       tcllibname=""
       TCLLIB=""
       TCLINC=""
     fi
   else
-    if test ! "x$tclincname" = "x"; then
+    if test "x$tclincname" != x; then
       WARN=1
       tclincname=""
       TCLLIB=""
@@ -10042,15 +10046,15 @@
 
   WARN=0
   # Make sure either both or neither $TCLLIB and $TCLINC are set
-  if test ! "x$TCLLIB" = "x"; then
-    if test "x$TCLINC" = "x"; then
+  if test "x$TCLLIB" != x; then
+    if test "x$TCLINC" = x; then
       WARN=1
       WVAR1=TCLLIB
       WVAR2=TCLINC
       TCLLIB=""
     fi
   else
-    if test ! "x$TCLINC" = "x"; then
+    if test "x$TCLINC" != x; then
       WARN=1
       WVAR1=TCLINC
       WVAR2=TCLLIB
@@ -10072,7 +10076,7 @@
 
 
   # Look for Tcl library: if $tcllibname is set, check there first
-  if test ! "x$tcllibname" = "x"; then
+  if test "x$tcllibname" != x; then
     if test -f "$tcllibname" && test -r "$tcllibname"; then
       TCLLIB=`echo $tcllibname | sed 's%/[^/][^/]*$%%'`
       TCLLIBFN=`$BASENAME $tcllibname | cut -c4-`
@@ -10098,7 +10102,7 @@
 
 
   # Look for Tcl header: if $tclincname is set, check there first
-  if test ! "x$tclincname" = "x"; then
+  if test "x$tclincname" != x; then
     if test -f "$tclincname" && test -r "$tclincname"; then
       TCLINC=`echo $tclincname | sed 's%/[^/][^/]*$%%'`
       TCLINCFN=`$BASENAME $tclincname`
@@ -10122,7 +10126,7 @@
 
 
   # Look for Tcl library: if $TCLLIB is set, check there first
-  if test "x$TCLLIBFN" = "x" && test ! "x$TCLLIB" = "x"; then
+  if test "x$TCLLIBFN" = x && test "x$TCLLIB" != x; then
     if test -d "$TCLLIB"; then
       for tcllibfns in $tcllibnames; do
         for tcllibext in $tcllibextensions; do
@@ -10136,7 +10140,7 @@
       done
     fi
 
-    if test "x$TCLLIBFN" = "x"; then
+    if test "x$TCLLIBFN" = x; then
       cat << 'EOF' >&2
 configure: WARNING:
 
@@ -10155,7 +10159,7 @@
 
 
   # Look for Tcl header: if $TCLINC is set, check there first
-  if test "x$TCLINCFN" = "x" && test ! "x$TCLINC" = "x"; then
+  if test "x$TCLINCFN" = x && test "x$TCLINC" != x; then
     if test -d "$TCLINC"; then
       for tclheaderfn in $tclheadernames; do
         if test -r "${TCLINC}/${tclheaderfn}"; then
@@ -10165,7 +10169,7 @@
       done
     fi
 
-    if test "x$TCLINCFN" = "x"; then
+    if test "x$TCLINCFN" = x; then
       cat << 'EOF' >&2
 configure: WARNING:
 
@@ -10187,7 +10191,7 @@
 echo $ECHO_N "checking for Tcl library... $ECHO_C" >&6; }
 
   # Attempt autodetect for $TCLLIBFN if it's not set
-  if test ! "x$TCLLIBFN" = "x"; then
+  if test "x$TCLLIBFN" != x; then
     { echo "$as_me:$LINENO: result: using ${TCLLIB}/lib${TCLLIBFN}" >&5
 echo "${ECHO_T}using ${TCLLIB}/lib${TCLLIBFN}" >&6; }
   else
@@ -10209,7 +10213,7 @@
   fi
 
   # Show if $TCLLIBFN wasn't found
-  if test "x$TCLLIBFN" = "x"; then
+  if test "x$TCLLIBFN" = x; then
     { echo "$as_me:$LINENO: result: not found" >&5
 echo "${ECHO_T}not found" >&6; }
   fi
@@ -10222,7 +10226,7 @@
 echo $ECHO_N "checking for Tcl header... $ECHO_C" >&6; }
 
   # Attempt autodetect for $TCLINCFN if it's not set
-  if test ! "x$TCLINCFN" = "x"; then
+  if test "x$TCLINCFN" != x; then
     { echo "$as_me:$LINENO: result: using ${TCLINC}/${TCLINCFN}" >&5
 echo "${ECHO_T}using ${TCLINC}/${TCLINCFN}" >&6; }
   else
@@ -10239,7 +10243,7 @@
     done
 
     # FreeBSD hack ...
-    if test "x$TCLINCFN" = "x"; then
+    if test "x$TCLINCFN" = x; then
       for tcllibfns in $tcllibnames; do
         for tclheaderpath in $tclheaderpaths; do
           for tclheaderfn in $tclheadernames; do
@@ -10256,7 +10260,7 @@
     fi
   fi
 
-  if test "x$TCLINCFN" = "x"; then
+  if test "x$TCLINCFN" = x; then
     { echo "$as_me:$LINENO: result: not found" >&5
 echo "${ECHO_T}not found" >&6; }
   fi
@@ -10269,7 +10273,7 @@
 echo $ECHO_N "checking whether the Tcl system has changed... $ECHO_C" >&6; }
   egg_tcl_changed="yes"
   egg_tcl_id="${TCLLIB}:${TCLLIBFN}:${TCLINC}:${TCLINCFN}"
-  if test ! "$egg_tcl_id" = ":::"; then
+  if test "$egg_tcl_id" != ":::"; then
     egg_tcl_cached="yes"
     if test "${egg_cv_var_tcl_id+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -10280,7 +10284,7 @@
 
 fi
 
-    if test "$egg_tcl_cached" = "yes"; then
+    if test "$egg_tcl_cached" = yes; then
       if test "x$egg_cv_var_tcl_id" = "x$egg_tcl_id"; then
         egg_tcl_changed="no"
       else
@@ -10289,7 +10293,7 @@
     fi
   fi
 
-  if test "$egg_tcl_changed" = "yes"; then
+  if test "$egg_tcl_changed" = yes; then
     { echo "$as_me:$LINENO: result: yes" >&5
 echo "${ECHO_T}yes" >&6; }
   else
@@ -10300,11 +10304,11 @@
 
   # Both TCLLIBFN & TCLINCFN must be set, or we bail
   TCL_FOUND=0
-  if test ! "x$TCLLIBFN" = "x" && test ! "x$TCLINCFN" = "x"; then
+  if test "x$TCLLIBFN" != x && test "x$TCLINCFN" != x; then
     TCL_FOUND=1
 
     # Check Tcl's version
-    if test "$egg_tcl_changed" = "yes"; then
+    if test "$egg_tcl_changed" = yes; then
       unset egg_cv_var_tcl_version
     fi
 
@@ -10319,7 +10323,7 @@
 fi
 
 
-    if test ! "x$egg_cv_var_tcl_version" = "x"; then
+    if test "x$egg_cv_var_tcl_version" != x; then
       { echo "$as_me:$LINENO: result: $egg_cv_var_tcl_version" >&5
 echo "${ECHO_T}$egg_cv_var_tcl_version" >&6; }
     else
@@ -10329,7 +10333,7 @@
     fi
 
     # Check Tcl's patch level (if available)
-    if test "$egg_tcl_changed" = "yes"; then
+    if test "$egg_tcl_changed" = yes; then
       unset egg_cv_var_tcl_patch_level
     fi
     { echo "$as_me:$LINENO: checking for Tcl patch level" >&5
@@ -10343,7 +10347,7 @@
 fi
 
 
-    if test ! "x$egg_cv_var_tcl_patch_level" = "x"; then
+    if test "x$egg_cv_var_tcl_patch_level" != x; then
       { echo "$as_me:$LINENO: result: $egg_cv_var_tcl_patch_level" >&5
 echo "${ECHO_T}$egg_cv_var_tcl_patch_level" >&6; }
     else
@@ -10375,7 +10379,7 @@
 
   # Is this version of Tcl too old for us to use ?
   TCL_VER_PRE70=`echo $egg_cv_var_tcl_version | $AWK '{split($1, i, "."); if (i[1] < 7) print "yes"; else print "no"}'`
-  if test "$TCL_VER_PRE70" = "yes"; then
+  if test "$TCL_VER_PRE70" = yes; then
     cat << EOF >&2
 configure: error:
 
@@ -10395,12 +10399,12 @@
   # Set variables for Tcl library tests
   TCL_TEST_LIB="$TCLLIBFNS"
   TCL_TEST_OTHERLIBS="-L$TCLLIB $EGG_MATH_LIB"
-  if test ! "x$ac_cv_lib_pthread" = "x"; then
+  if test "x$ac_cv_lib_pthread" != x; then
     TCL_TEST_OTHERLIBS="$TCL_TEST_OTHERLIBS $ac_cv_lib_pthread"
   fi
 
 
-  if test "$egg_tcl_changed" = "yes"; then
+  if test "$egg_tcl_changed" = yes; then
     unset egg_cv_var_tcl_free
   fi
 
@@ -10475,7 +10479,7 @@
 fi
 
 
-  if test "$egg_cv_var_tcl_free" = "yes"; then
+  if test "$egg_cv_var_tcl_free" = yes; then
 
 cat >>confdefs.h <<\_ACEOF
 #define HAVE_TCL_FREE 1
@@ -10500,7 +10504,7 @@
 
 
 
-  if test "$egg_tcl_changed" = "yes"; then
+  if test "$egg_tcl_changed" = yes; then
     unset egg_cv_var_tcl_threaded
   fi
 
@@ -10580,15 +10584,15 @@
   # Do this check first just in case someone tries to use both
   # --enable-tcl-threads and --disable-tcl-threads or gives an
   # invalid --enable-tcl-threads=foo option.
-  if test "$egg_cv_var_tcl_threaded" = "yes"; then
+  if test "$egg_cv_var_tcl_threaded" = yes; then
     WANT_TCL_THREADS=1
   fi
 
   # Check if either --enable-tcl-threads or --disable-tcl-threads was used
-  if test ! "$enable_tcl_threads" = "auto"; then
+  if test "$enable_tcl_threads" != auto; then
 
     # Make sure an invalid option wasn't passed as --enable-tcl-threads=foo
-    if test ! "$enable_tcl_threads" = "yes" && test ! "$enable_tcl_threads" = "no"; then
+    if test "$enable_tcl_threads" != yes && test "$enable_tcl_threads" != no; then
       { echo "$as_me:$LINENO: WARNING: Invalid option '$enable_tcl_threads' passed to --enable-tcl-threads, defaulting to 'yes'" >&5
 echo "$as_me: WARNING: Invalid option '$enable_tcl_threads' passed to --enable-tcl-threads, defaulting to 'yes'" >&2;}
 
@@ -10596,10 +10600,10 @@
     fi
 
     # The --enable-tcl-threads option was used
-    if test "$enable_tcl_threads" = "yes"; then
+    if test "$enable_tcl_threads" = yes; then
       WANT_TCL_THREADS=1
 
-      if test "$egg_cv_var_tcl_threaded" = "no"; then
+      if test "$egg_cv_var_tcl_threaded" = no; then
         cat << 'EOF' >&2
 configure: WARNING:
 
@@ -10614,10 +10618,10 @@
     fi
 
     # The --disable-tcl-threads option was used
-    if test "$enable_tcl_threads" = "no"; then
+    if test "$enable_tcl_threads" = no; then
       WANT_TCL_THREADS=0
 
-      if test "$egg_cv_var_tcl_threaded" = "yes"; then
+      if test "$egg_cv_var_tcl_threaded" = yes; then
         cat << 'EOF' >&2
 configure: WARNING:
 
@@ -10645,7 +10649,7 @@
 
 
     # Add pthread library to $LIBS if we need it for threaded Tcl
-    if test ! "x$ac_cv_lib_pthread" = "x"; then
+    if test "x$ac_cv_lib_pthread" != x; then
       LIBS="$ac_cv_lib_pthread $LIBS"
     fi
   else
@@ -10654,16 +10658,16 @@
   fi
 
 
-  if test "$EGG_CYGWIN" = "yes"; then
+  if test "$EGG_CYGWIN" = yes; then
     TCL_REQS="${TCLLIB}/lib${TCLLIBFN}"
     TCL_LIBS="-L$TCLLIB -l$TCLLIBFNS $EGG_MATH_LIB"
   else
-    if test ! "$TCLLIBEXT" = ".a"; then
+    if test "$TCLLIBEXT" != ".a"; then
       TCL_REQS="${TCLLIB}/lib${TCLLIBFN}"
       TCL_LIBS="-L$TCLLIB -l$TCLLIBFNS $EGG_MATH_LIB"
     else
       # Set default make as static for unshared Tcl library
-      if test ! "$DEFAULT_MAKE" = "static"; then
+      if test "$DEFAULT_MAKE" != static; then
         cat << 'EOF' >&2
 configure: WARNING:
 
@@ -10677,10 +10681,10 @@
 
       # Are we using a pre 7.4 Tcl version ?
       TCL_VER_PRE74=`echo $egg_cv_var_tcl_version | $AWK '{split($1, i, "."); if (((i[1] == 7) && (i[2] < 4)) || (i[1] < 7)) print "yes"; else print "no"}'`
-      if test "$TCL_VER_PRE74" = "no"; then
+      if test "$TCL_VER_PRE74" = no; then
 
         # Was the --with-tcllib option given ?
-        if test ! "x$tcllibname" = "x"; then
+        if test "x$tcllibname" != x; then
           TCL_REQS="${TCLLIB}/lib${TCLLIBFN}"
           TCL_LIBS="${TCLLIB}/lib${TCLLIBFN} $EGG_MATH_LIB"
         else
@@ -10724,7 +10728,7 @@
 
 
 
-  if test "x$DEST" = "x"; then
+  if test "x$DEST" = x; then
     DEST=\${prefix}
   fi
 
@@ -11436,6 +11440,7 @@
 CPP!$CPP$ac_delim
 GREP!$GREP$ac_delim
 EGREP!$EGREP$ac_delim
+EGGEXEC!$EGGEXEC$ac_delim
 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
 INSTALL_DATA!$INSTALL_DATA$ac_delim
@@ -11468,7 +11473,6 @@
 SHLIB_LD!$SHLIB_LD$ac_delim
 SHLIB_CC!$SHLIB_CC$ac_delim
 SHLIB_STRIP!$SHLIB_STRIP$ac_delim
-EGGEXEC!$EGGEXEC$ac_delim
 TCLLIB!$TCLLIB$ac_delim
 TCLLIBFN!$TCLLIBFN$ac_delim
 TCLINC!$TCLINC$ac_delim
@@ -11951,7 +11955,7 @@
 echo "${ECHO_T}Operating System: $egg_cv_var_system_type $egg_cv_var_system_release" >&6; }
   { echo "$as_me:$LINENO: result: " >&5
 echo "${ECHO_T}" >&6; }
-  if test "$UNKNOWN_OS" = "yes"; then
+  if test "$UNKNOWN_OS" = yes; then
     { echo "$as_me:$LINENO: result: WARNING:" >&5
 echo "${ECHO_T}WARNING:" >&6; }
     { echo "$as_me:$LINENO: result: " >&5
@@ -11973,7 +11977,7 @@
     { echo "$as_me:$LINENO: result: " >&5
 echo "${ECHO_T}" >&6; }
   else
-    if test "$WEIRD_OS" = "yes"; then
+    if test "$WEIRD_OS" = yes; then
       { echo "$as_me:$LINENO: result: WARNING:" >&5
 echo "${ECHO_T}WARNING:" >&6; }
       { echo "$as_me:$LINENO: result: " >&5
Index: eggdrop1.6/configure.ac
diff -u eggdrop1.6/configure.ac:1.30 eggdrop1.6/configure.ac:1.31
--- eggdrop1.6/configure.ac:1.30	Wed Jul  2 02:31:27 2008
+++ eggdrop1.6/configure.ac	Thu Jul  3 20:52:55 2008
@@ -1,11 +1,11 @@
 dnl configure.ac: this file is processed by autoconf to produce ./configure.
 dnl
-dnl $Id: configure.ac,v 1.30 2008-07-02 07:31:27 tothwolf Exp $
+dnl $Id: configure.ac,v 1.31 2008-07-04 01:52:55 tothwolf Exp $
 
 AC_PREREQ(2.59)
 AC_INIT([Eggdrop],[1.6.20],[bugs at eggheads.org])
 AC_COPYRIGHT([Copyright (C) 1999 - 2008 Eggheads Development Team])
-AC_REVISION($Revision: 1.30 $)
+AC_REVISION($Revision: 1.31 $)
 AC_CONFIG_SRCDIR(src/eggdrop.h)
 AC_CONFIG_AUX_DIR(misc)
 AC_CONFIG_HEADER(config.h)
@@ -31,8 +31,12 @@
 AC_MINIX
 
 # Check C compiler characteristics.
-EGG_CHECK_CCWALL
 EGG_CHECK_CCPIPE
+EGG_CHECK_CCWALL
+
+
+# Check for executable extension.
+EGG_EXEEXT
 
 
 # Checks for programs.
@@ -98,10 +102,6 @@
 EGG_CHECK_LIBSAFE_SSCANF
 
 
-# Check for executable extension.
-EGG_EXEEXT
-
-
 # Tcl version to recommend if no Tcl is found, and the site where it can be
 # found for download.
 tclrecommendver="8.5.X"
@@ -134,9 +134,10 @@
                 /usr/pkg/lib /beos/system/include /beos/devel/include $HOME"
 
 
-# Misc Tcl checks. We save the cache (if used) here to speed things up if we
-# can't find Tcl.
+# We save the cache (if used) here to speed things up if we can't find Tcl.
 AC_CACHE_SAVE
+
+# Misc Tcl checks.
 EGG_TCL_ARG_WITH
 EGG_TCL_ENV
 EGG_TCL_WITH_TCLLIB
Index: eggdrop1.6/doc/UPDATES1.6
diff -u eggdrop1.6/doc/UPDATES1.6:1.661 eggdrop1.6/doc/UPDATES1.6:1.662
--- eggdrop1.6/doc/UPDATES1.6:1.661	Wed Jul  2 02:31:27 2008
+++ eggdrop1.6/doc/UPDATES1.6	Thu Jul  3 20:52:55 2008
@@ -1,4 +1,4 @@
-$Id: UPDATES1.6,v 1.661 2008-07-02 07:31:27 tothwolf Exp $
+$Id: UPDATES1.6,v 1.662 2008-07-04 01:52:55 tothwolf Exp $
 
 Eggdrop Changes (since v1.6.0)
     _____________________________________________________________________
@@ -12,6 +12,16 @@
 
 
   1.6.20:
+    - Refactored root Makefile.in variables.
+    - Removed unnecessary '-g' flag from LD variables (-g is ignored).
+    - Renamed DEBCFLAGS to DEBCFLGS
+    - Moved -g3 compiler flag to DEBCFLGS variable.
+    - Removed double quoting "`command`" in autoconf macro tests.
+    - Changed autoconf macro 'test ! foo = bar' tests to 'test foo !=  bar'.
+      Both are portable but '!=' is now more common in autoconf macros and
+      is easier to read.
+    * Patch by: Tothwolf
+
     - Fixed EGG_PROG_HEAD_1 autoconf macro cache checking. You can't use
       AC_MSG_RESULT() within AC_CACHE_VAL().
     - Moved --enable-strip configure check from EGG_PROG_STRIP to it's own
@@ -56,6 +66,14 @@
       argument when there are no other arguments.
     * Patch by: Tothwolf
 
+    - Make custom configure warning messages' prefix match AC_MSG_WARN.
+    - Fixed broken EGG_TCL_CHECK_HEADER macro Tcl header 'not found' message.
+    - Don't use "${var-x}" in place of "x$var". The use of "x$var" is more
+      portable and standard practice in autoconf macros.
+    - Added AC_CANONICAL_* macros to EGG_OS_VERSION in preparation to move
+      from our old 'uname -s' and 'uname -r' hacks to a canonical triplet.
+    * Patch by: Tothwolf
+
     - Completely rewrote EGG_TCL_CHECK_THREADS autoconf macro to make
       --enable-tcl-threads and --disable-tcl-threads threaded Tcl library
       configure options more robust.
Index: eggdrop1.6/src/main.c
diff -u eggdrop1.6/src/main.c:1.122 eggdrop1.6/src/main.c:1.123
--- eggdrop1.6/src/main.c:1.122	Sat Apr 19 09:57:11 2008
+++ eggdrop1.6/src/main.c	Thu Jul  3 20:52:55 2008
@@ -5,7 +5,7 @@
  *   command line arguments
  *   context and assert debugging
  *
- * $Id: main.c,v 1.122 2008-04-19 14:57:11 guppy Exp $
+ * $Id: main.c,v 1.123 2008-07-04 01:52:55 tothwolf Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -50,7 +50,7 @@
 #  endif
 #endif
 
-#ifdef STOP_UAC                         /* osf/1 complains a lot */
+#ifdef STOP_UAC                         /* OSF/1 complains a lot */
 #  include <sys/sysinfo.h>
 #  define UAC_NOPRINT 0x00000001        /* Don't report unaligned fixups */
 #endif
@@ -69,7 +69,7 @@
 #endif
 
 #ifndef _POSIX_SOURCE
-#  define _POSIX_SOURCE 1 /* Solaris needs this */
+#  define _POSIX_SOURCE 1               /* Solaris needs this */
 #endif
 
 extern char origbotname[], userfile[], botnetnick[];
----------------------- End of diff -----------------------



More information about the Changes mailing list