--- configure.in.orig	Fri Nov  5 17:32:54 1999
+++ configure.in	Fri Nov  5 17:35:01 1999
@@ -39,9 +39,14 @@
 
 dnl Checks for libraries.
 
-AC_CHECK_LIB(ncurses, beep)
-if [[ "$ac_cv_lib_ncurses_beep" != "yes" ]]
-    then AC_MSG_ERROR("Need ncurses library for terminal gomii!")
+AC_CHECK_LIB(curses, beep)
+if [[ "$ac_cv_lib_curses_beep" != "yes" ]]
+    then AC_MSG_ERROR("Need curses library for terminal gomii!")
+fi
+
+AC_CHECK_LIB(ossaudio, _oss_ioctl)
+if [[ "$ac_cv_lib_ossaudio__oss_ioctl" != "yes" ]]
+    then AC_MSG_ERROR("Need ossaudio library!")   
 fi
 
 
@@ -71,8 +76,8 @@
     AC_MSG_WARN([Not a POSIX.1 system; this may cause problems.])
 fi
 
-AC_CHECK_HEADERS(sys/soundcard.h)
-if [[ "$ac_cv_header_sys_soundcard_h" != "yes" ]]; then
+AC_CHECK_HEADERS(soundcard.h)
+if [[ "$ac_cv_header_soundcard_h" != "yes" ]]; then   
     AC_MSG_ERROR([No sound card header file.])
 fi
 
