From alsa-devel-owner@alsa.jcu.cz  Thu Dec 31 01:19:19 1998
Received: from aix1.inet.tele.dk (aix1.inet.tele.dk [193.162.146.9])
	by marvin.jcu.cz (8.9.1a/8.9.1) with ESMTP id BAA11567
	for <alsa-devel@alsa.jcu.cz>; Thu, 31 Dec 1998 01:18:42 +0100
Received: from renehl.ournet.dk (root@ip181.ronnxr1.ras.tele.dk [195.249.54.181])
          by aix1.inet.tele.dk with ESMTP
          id AAA06898 for <alsa-devel@alsa.jcu.cz>; Thu, 31 Dec 1998 00:18:11 GMT
Received: from localhost (renehl@localhost [127.0.0.1])
	by renehl.ournet.dk (8.9.1a/8.9.1/Debian/GNU) with ESMTP id BAA04933
	for <alsa-devel@alsa.jcu.cz>; Thu, 31 Dec 1998 01:18:05 +0100
Date: Thu, 31 Dec 1998 01:18:01 +0100 (CET)
From: Rene Hojbjerg Larsen <renehl@post1.tele.dk>
To: alsa-devel@alsa.jcu.cz
Subject: Small fix for kernel extraversion support in 0.3.0-pre2
Message-ID: <Pine.LNX.4.05.9812310111070.4170-100000@renehl.ournet.dk>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Reply-To: alsa-devel@alsa.jcu.cz
Sender: alsa-devel-owner@alsa.jcu.cz
Precedence: list

The following (small) patch for version 0.3.0-pre2 of the alsa-driver
will modify the configure script to allow for kernel extraversions
containing dashes ("-") so that it will work correctly with e.g. Alan
Cox' "ac" patches to the 2.2.0-pre versions of the kernel (for instance,
the current ac version of the kernel is called 2.2.0-pre1-ac3).

--- configure.in.orig	Thu Dec 31 00:54:01 1998
+++ configure.in	Thu Dec 31 00:54:21 1998
@@ -50,7 +50,7 @@
 kversion=`echo $kaversion | cut -d . -f 1`
 kpatchlevel=`echo $kaversion | cut -d . -f 2`
 ksublevel=`echo $kaversion | cut -d . -f 3 | cut -d - -f 1`
-kextraversion=`echo $kaversion | cut -d . -f 3 | cut -d - -f 2`
+kextraversion=`echo $kaversion | cut -d . -f 3 | cut -d - -f 2-`
 if test "$kextraversion" = "$ksublevel"; then
   kextraversion=""
 else

HTH.
-- 
       /'"`\  zzzZ  | My PGP Public Key is available at:
      ( - - )       | <http://home1.inet.tele.dk/renehl/>
--oooO--(_)--Oooo------------------------------------------ 
 Don't ya just hate it when there's not enough room to fin 


