With this patch, I can build 21.4.2 native under Win NT, but without it, I
can not.
- vin
"Stephen J. Turnbull" <turnbull@sk.tsukuba.ac.jp>(a)xemacs.org on 05/11/2001
02:42:18 AM
Sent by: xemacs-winnt-admin(a)xemacs.org
To: Alexander Reinwarth <alexander(a)reinwarth.de>
cc: xemacs-beta(a)xemacs.org, xemacs-nt(a)xemacs.org
Subject: XEmacs 21.4.2 does not build under cygwin
>>>>> "Alexander" == Alexander Reinwarth <alexander(a)reinwarth.de> writes:
Alexander> The beta-versions from 21.2-b45 onward, 21.4.0 and
Alexander> 21.4.1 as well as 21.5.0 and 21.5.1 built smoothly on
Alexander> this machine, nevertheless 21.4.2 does not.
This is in part patchup lossage; an incorrect patch to that file was
submitted, had to be reverted, and a new one applied. I probably
screwed up the application.
I've spent a couple of hours installing Cygwin, and I just installed
VC++ last week. The first patch following allows me to build native
under VC++, but the Cygwin build doesn't run to completion because of
a conflict in the sound support.
The second patch was submitted by Paul Stodghill and should fix the
sound conflict.
I'll release 21.4.3 early next week when the Windows team confirms
these fixes.
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
--
University of Tsukuba Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
Institute of Policy and Planning Sciences Tel/fax: +81 (298) 53-5091
_________________ _________________ _________________ _________________
What are those straight lines for? "XEmacs rules."