I had a problem running configure against the Linux Mandrake 8.2 UP 
kernel.  It would fail when trying to determine the kernel version.  This 
patch for rc1 adds the needed includes so that linux/rhconfig.h can be 
found when configure checks for the kernel version.

Tom

--- alsa-driver-0.9.0rc1/configure.in   Wed Apr 24 11:29:55 2002
+++ alsa-driver-0.9.0rc1.tom/configure.in       Wed Apr 24 14:16:31 2002
@@ -82,6 +82,7 @@ EOF
   exit 1
 fi
 AC_CACHE_VAL(kaversion,
+CFLAGS="$CFLAGS -I$CONFIG_SND_KERNELDIR/include"
 [AC_TRY_RUN([
 #include <stdio.h>
 #include <ctype.h>

Reply via email to