comparison configure.in @ 553:5c6dc7d576ad

[xemacs-hg @ 2001-05-21 08:02:46 by yoshiki] Paul's patch "Patch for sound under latest Cygwin", <yz1ae4lz76u.fsf@milhouse.cs.cornell.edu> * configure.in: Reverse the order of Windows and Linux sound tests so that Cygwin will find Windows first.
author yoshiki
date Mon, 21 May 2001 08:02:55 +0000
parents e9a3f8b4de53
children f486da5f1a3b
comparison
equal deleted inserted replaced
552:a3adcf42bcec 553:5c6dc7d576ad
4048 fi 4048 fi
4049 fi ;; 4049 fi ;;
4050 esac 4050 esac
4051 fi 4051 fi
4052 4052
4053 dnl Win32 Native uses native sound
4054 if test -z "$sound_found"; then
4055 if test "$with_msw" = "yes"; then
4056 sound_found=yes
4057 native_sound_lib=
4058 fi
4059 fi
4060
4053 dnl Check for Linux/BSD native sound 4061 dnl Check for Linux/BSD native sound
4054 if test -z "$sound_found"; then 4062 if test -z "$sound_found"; then
4055 for dir in "machine" "sys" "linux"; do 4063 for dir in "machine" "sys" "linux"; do
4056 AC_CHECK_HEADER(${dir}/soundcard.h, 4064 AC_CHECK_HEADER(${dir}/soundcard.h,
4057 sound_found=yes 4065 sound_found=yes
4058 need_miscplay=yes 4066 need_miscplay=yes
4059 XE_ADD_OBJS(linuxplay.o) 4067 XE_ADD_OBJS(linuxplay.o)
4060 [AC_DEFINE_UNQUOTED(SOUNDCARD_H_FILE, "${dir}/soundcard.h")] 4068 [AC_DEFINE_UNQUOTED(SOUNDCARD_H_FILE, "${dir}/soundcard.h")]
4061 break) 4069 break)
4062 done 4070 done
4063 fi
4064
4065 dnl Win32 Native uses native sound
4066 if test -z "$sound_found"; then
4067 if test "$with_msw" = "yes"; then
4068 sound_found=yes
4069 native_sound_lib=
4070 fi
4071 fi 4071 fi
4072 4072
4073 test "$sound_found" = "yes" && with_native_sound=yes 4073 test "$sound_found" = "yes" && with_native_sound=yes
4074 fi 4074 fi
4075 4075