FOR MSWINDOWS PLATFORMS ONLY

This patch fixes two build problems discovered immediately after
release of 21.4.2.

(1) The include of events-mod.h went missing from src/event-msw.c.
    Prevents build on all Windows platforms.
(2) ./configure finds linux-soundplay, which causes a fatal link error.
    Prevents build on Cygwin, only.

Index: src/event-msw.c
===================================================================
RCS file: /usr/CVSroot/XEmacs/xemacs/src/event-msw.c,v
retrieving revision 1.47.2.1
retrieving revision 1.47
diff -u -r1.47.2.1 -r1.47
--- src/event-msw.c	2001/05/09 09:54:05	1.47.2.1
+++ src/event-msw.c	2001/04/12 18:23:41	1.47
@@ -65,6 +65,7 @@
 #include "sysdep.h"
 #include "objects-msw.h"
 
+#include "events-mod.h"
 #ifdef HAVE_MSG_SELECT
 #include "sysfile.h"
 #include "console-tty.h"

Index: configure.in
===================================================================
RCS file: /usr/CVSroot/XEmacs/xemacs/configure.in,v
retrieving revision 1.152
diff -u -r1.152 configure.in
--- configure.in	2001/05/05 08:26:04	1.152
+++ configure.in	2001/05/10 12:58:32
@@ -4040,6 +4040,14 @@
     esac
   fi
 
+  dnl Win32 Native uses native sound
+  if test -z "$sound_found"; then
+    if test "$with_msw" = "yes"; then
+    sound_found=yes
+    native_sound_lib=
+    fi
+  fi
+
   dnl Check for Linux/BSD native sound
   if test -z "$sound_found"; then
     for dir in "machine" "sys" "linux"; do
@@ -4050,14 +4058,6 @@
         [AC_DEFINE_UNQUOTED(SOUNDCARD_H_FILE, "${dir}/soundcard.h")]
         break)
     done
-  fi
-
-  dnl Win32 Native uses native sound
-  if test -z "$sound_found"; then
-    if test "$with_msw" = "yes"; then
-    sound_found=yes
-    native_sound_lib=
-    fi
   fi
 
   test "$sound_found" = "yes" && with_native_sound=yes


