comparison configure.in @ 2491:876c400e58d7

[xemacs-hg @ 2005-01-21 09:30:46 by aidan] NetBSD can use Linux's sound API, but it needs an extra library at link time to do so.
author aidan
date Fri, 21 Jan 2005 09:30:49 +0000
parents 97dd9f867cef
children 38caebdefb55
comparison
equal deleted inserted replaced
2490:1e634d6d5ac9 2491:876c400e58d7
4695 [AC_DEFINE_UNQUOTED(SOUNDCARD_H_FILE, "${dir}/soundcard.h")] 4695 [AC_DEFINE_UNQUOTED(SOUNDCARD_H_FILE, "${dir}/soundcard.h")]
4696 break) 4696 break)
4697 done 4697 done
4698 fi 4698 fi
4699 4699
4700 test "$sound_found" = "yes" && with_native_sound=yes 4700 if test "$sound_found" = "yes"; then
4701 with_native_sound=yes
4702
4703 dnl NetBSD can use Linux's sound API, but it needs an extra library at
4704 dnl link time to do so. (OpenBSD apparently needs the same; not written
4705 dnl or tested.)
4706 if test "$opsys" = "netbsd" ; then
4707 AC_CHECK_LIB(ossaudio, _oss_ioctl, native_sound_lib="-lossaudio")
4708 fi
4709 fi
4701 fi 4710 fi
4702 4711
4703 if test "$with_native_sound" = "yes"; then 4712 if test "$with_native_sound" = "yes"; then
4704 AC_DEFINE(HAVE_NATIVE_SOUND) 4713 AC_DEFINE(HAVE_NATIVE_SOUND)
4705 test -n "$native_sound_lib" && XE_PREPEND($native_sound_lib, LIBS) 4714 test -n "$native_sound_lib" && XE_PREPEND($native_sound_lib, LIBS)