Running configure on Red Hat 9 yields the error:

./configure: line 3856: test: too many arguments

The configure continues, but the resulting build fails to load module
kernel/sound/snd.o due to an undefined symbol. The fix is trivial:

--- alsa-driver-1.0.1/configure.in.orig 2004-01-08 08:15:55.000000000 -0600
+++ alsa-driver-1.0.1/configure.in      2004-01-09 03:54:29.000000000 -0600
@@ -407,7 +407,7 @@
 CHECK_KERNEL_HEADER(linux/workqueue.h)
 if test ! -f include/linux/workqueue.h; then
   if test "x$kversion.$kpatchlevel" = "x2.4" -a \
-     test "x$RED_HAT_LINUX_KERNEL" = "xy"; then
+          "x$RED_HAT_LINUX_KERNEL" = "xy"; then
     echo "It looks like you're using a RedHat 9 kernel."
     echo "Disabling their incomplete workqueue.h modification."
     mkdir -p include/linux



-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to