diff configure.ac @ 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 67b6f3514ffc
children 4c038e89d563
line wrap: on
line diff
--- 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)