changeset 3060:7679bfa253c2

[xemacs-hg @ 2005-11-13 07:31:55 by ben] fix inclusion of ntplay.o configure.ac: Dependent on operating system, not on window system.
author ben
date Sun, 13 Nov 2005 07:31:55 +0000
parents 23046b62bf91
children fd1acd2f457a
files ChangeLog configure.ac
diffstat 2 files changed, 9 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Sun Nov 13 07:29:34 2005 +0000
+++ b/ChangeLog	Sun Nov 13 07:31:55 2005 +0000
@@ -1,3 +1,8 @@
+2005-11-13  Ben Wing  <ben@xemacs.org>
+
+	* configure.ac (win32 native sound):
+	Dependent on operating system, not on window system.
+
 2005-11-07  Stephen J. Turnbull  <stephen@xemacs.org>
 
 	* configure.ac (AC_INIT): Use it correctly.
--- a/configure.ac	Sun Nov 13 07:29:34 2005 +0000
+++ b/configure.ac	Sun Nov 13 07:31:55 2005 +0000
@@ -4821,13 +4821,14 @@
     esac
   fi
 
-  dnl Win32 Native uses native sound
+  dnl Win32 uses native sound
   if test -z "$sound_found"; then
-    if test "$with_msw" = "yes"; then
+    case "$opsys" in cygwin* | mingw* )
       sound_found=yes
       with_native_sound_lib=
       XE_ADD_OBJS(ntplay.o)
-    fi
+      ;;
+    esac
   fi
 
   dnl Check for Linux/BSD native sound (also on recent Cygwins)