[cvslog] [CVS] Module eggdrop1.8: Change committed

cvs at eggheads.org cvs at eggheads.org
Mon Oct 25 16:11:34 CST 2010


CVSROOT    : /usr/local/cvsroot
Module     : eggdrop1.8
Commit time: 2010-10-25 22:11:34 UTC
Committer  : Rumen Stoyanov <pseudo at egg6.net>

Modified files:
     aclocal.m4 configure doc/Changes1.8 src/patch.h

Log message:

Removed -mwin32 on Windows. It's no longer necessary and causes problems with Cygwin 1.7.

---------------------- diff included ----------------------
Index: eggdrop1.8/aclocal.m4
diff -u eggdrop1.8/aclocal.m4:1.11 eggdrop1.8/aclocal.m4:1.12
--- eggdrop1.8/aclocal.m4:1.11	Sun Oct 24 07:41:53 2010
+++ eggdrop1.8/aclocal.m4	Mon Oct 25 16:11:23 2010
@@ -16,7 +16,7 @@
 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.11 2010/10/24 13:41:53 pseudo Exp $
+dnl $Id: aclocal.m4,v 1.12 2010/10/25 22:11:23 pseudo Exp $
 dnl
 
 
@@ -680,9 +680,7 @@
       esac
     ;;
     CYGWI*)
-      AC_PROG_CC_WIN32
       SHLIB_LD="$CC -shared"
-      CC="$CC $WIN32FLAGS"
       MOD_CC="$CC"
       MOD_LD="$CC"
       EGG_CYGWIN="yes"
@@ -1775,45 +1773,6 @@
 ])
 
 
-dnl AC_PROG_CC_WIN32()
-dnl
-AC_DEFUN([AC_PROG_CC_WIN32],
-[
-  AC_MSG_CHECKING([how to access the Win32 API])
-  WIN32FLAGS=
-  AC_COMPILE_IFELSE([[
-    #ifndef WIN32
-    #  ifndef _WIN32
-    #    error WIN32 or _WIN32 not defined
-    #  endif
-    #endif
-  ]], [
-    AC_MSG_RESULT([present by default])
-  ], [
-    ac_compile_save="$ac_compile"
-    save_CC="$CC"
-    ac_compile="$ac_compile -mwin32"
-    CC="$CC -mwin32"
-    AC_COMPILE_IFELSE([[
-      #ifndef WIN32
-      #  ifndef _WIN32
-      #    error WIN32 or _WIN32 not defined
-      #  endif
-      #endif
-    ]], [
-      AC_MSG_RESULT([found via -mwin32])
-      ac_compile="$ac_compile_save"
-      CC="$save_CC"
-      WIN32FLAGS="-mwin32"
-    ], [
-      ac_compile="$ac_compile_save"
-      CC="$save_CC"
-      AC_MSG_RESULT([not found])
-    ])
-  ])
-])
-
-
 dnl EGG_IPV6_COMPAT
 dnl
 AC_DEFUN([EGG_IPV6_COMPAT],
Index: eggdrop1.8/configure
diff -u eggdrop1.8/configure:1.12 eggdrop1.8/configure:1.13
--- eggdrop1.8/configure:1.12	Sun Oct 24 07:41:53 2010
+++ eggdrop1.8/configure	Mon Oct 25 16:11:23 2010
@@ -5387,64 +5387,7 @@
       esac
     ;;
     CYGWI*)
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to access the Win32 API" >&5
-$as_echo_n "checking how to access the Win32 API... " >&6; }
-  WIN32FLAGS=
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-
-    #ifndef WIN32
-    #  ifndef _WIN32
-    #    error WIN32 or _WIN32 not defined
-    #  endif
-    #endif
-
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-
-    { $as_echo "$as_me:${as_lineno-$LINENO}: result: present by default" >&5
-$as_echo "present by default" >&6; }
-
-else
-
-    ac_compile_save="$ac_compile"
-    save_CC="$CC"
-    ac_compile="$ac_compile -mwin32"
-    CC="$CC -mwin32"
-    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-
-      #ifndef WIN32
-      #  ifndef _WIN32
-      #    error WIN32 or _WIN32 not defined
-      #  endif
-      #endif
-
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-
-      { $as_echo "$as_me:${as_lineno-$LINENO}: result: found via -mwin32" >&5
-$as_echo "found via -mwin32" >&6; }
-      ac_compile="$ac_compile_save"
-      CC="$save_CC"
-      WIN32FLAGS="-mwin32"
-
-else
-
-      ac_compile="$ac_compile_save"
-      CC="$save_CC"
-      { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
-$as_echo "not found" >&6; }
-
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-
       SHLIB_LD="$CC -shared"
-      CC="$CC $WIN32FLAGS"
       MOD_CC="$CC"
       MOD_LD="$CC"
       EGG_CYGWIN="yes"
Index: eggdrop1.8/doc/Changes1.8
diff -u eggdrop1.8/doc/Changes1.8:1.28 eggdrop1.8/doc/Changes1.8:1.29
--- eggdrop1.8/doc/Changes1.8:1.28	Mon Oct 25 13:47:49 2010
+++ eggdrop1.8/doc/Changes1.8	Mon Oct 25 16:11:23 2010
@@ -1,4 +1,4 @@
-$Id: Changes1.8,v 1.28 2010/10/25 19:47:49 pseudo Exp $
+$Id: Changes1.8,v 1.29 2010/10/25 22:11:23 pseudo Exp $
 
 Eggdrop Changes (since version 1.8.0)
 
@@ -6,6 +6,10 @@
 
 1.8.0 (CVS):
 
+  - Removed -mwin32 on Windows. It's no longer necessary and causes problems
+    with Cygwin 1.7.
+    Patch by: Kirben, pseudo
+
   - Removed few wire.mod leftovers. Removed IRC_FUNKICK.
     Patch by: pseudo
 
Index: eggdrop1.8/src/patch.h
diff -u eggdrop1.8/src/patch.h:1.17 eggdrop1.8/src/patch.h:1.18
--- eggdrop1.8/src/patch.h:1.17	Mon Oct 25 13:47:49 2010
+++ eggdrop1.8/src/patch.h	Mon Oct 25 16:11:23 2010
@@ -10,7 +10,7 @@
  * statement, leave the rest of the file alone, this allows better
  * overlapping patches.
  *
- * $Id: patch.h,v 1.17 2010/10/25 19:47:49 pseudo Exp $
+ * $Id: patch.h,v 1.18 2010/10/25 22:11:23 pseudo Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -41,12 +41,12 @@
  *
  *
  */
-patch("1288035881");            /* current unixtime */
+patch("1288044358");            /* current unixtime */
 /*
  *
  *
  */
-patch("miscfix");
+patch("w32");
 /*
  *
  *
----------------------- End of diff -----------------------


More information about the Changes mailing list