diff -Naur tse3-0.2.7-org/configure tse3-0.2.7/configure
--- tse3-0.2.7-org/configure	2003-03-07 17:12:26.000000000 +0100
+++ tse3-0.2.7/configure	2005-03-12 13:10:40.243397264 +0100
@@ -9280,7 +9280,12 @@
 #include "confdefs.h"
 
 #include <$alsa_header_prefix/asoundlib.h>
-int main() { return SND_LIB_MINOR != 5 && SND_LIB_MINOR != 9; }
+int main()
+{
+    return ! (   (SND_LIB_MAJOR == 0 && SND_LIB_MINOR == 5)
+              || (SND_LIB_MAJOR == 0 && SND_LIB_MINOR == 9)
+              || (SND_LIB_MAJOR == 1 && SND_LIB_MINOR == 0));
+}
 
 _ACEOF
 rm -f conftest$ac_exeext
diff -Naur tse3-0.2.7-org/configure.in tse3-0.2.7/configure.in
--- tse3-0.2.7-org/configure.in	2003-03-06 17:15:53.000000000 +0100
+++ tse3-0.2.7/configure.in	2005-03-12 13:10:17.758815440 +0100
@@ -188,7 +188,12 @@
     AC_CHECK_LIB(asound,snd_seq_create_simple_port,[
       AC_TRY_RUN([
 #include <$alsa_header_prefix/asoundlib.h>
-int main() { return SND_LIB_MINOR != 5 && SND_LIB_MINOR != 9; }
+        int main()
+        {
+            return ! (   (SND_LIB_MAJOR == 0 && SND_LIB_MINOR == 5)
+                      || (SND_LIB_MAJOR == 0 && SND_LIB_MINOR == 9)
+                      || (SND_LIB_MAJOR == 1 && SND_LIB_MINOR == 0));
+        }
         ] ,[
         have_alsa="yes"
         LIBASOUND="-lasound"
