Update of /cvsroot/alsa/alsa-driver
In directory sc8-pr-cvs1:/tmp/cvs-serv27558
Modified Files:
configure.in
Log Message:
Fixed gcc-Version problem and added <linux/compiler.h> check
Index: configure.in
===================================================================
RCS file: /cvsroot/alsa/alsa-driver/configure.in,v
retrieving revision 1.181
retrieving revision 1.182
diff -u -r1.181 -r1.182
--- configure.in 14 Jun 2003 09:34:44 -0000 1.181
+++ configure.in 22 Jun 2003 12:30:41 -0000 1.182
@@ -195,6 +195,8 @@
dnl
dnl Test section, uncomment any of these double lines to verify the bellow code:
dnl
+dnl kernel_compiler="gcc-Version 3.3"
+dnl my_compiler="gcc (GCC) 3.3"
dnl
dnl kernel_compiler="gcc 3.2"
dnl my_compiler="gcc (GCC) 3.2"
@@ -210,11 +212,16 @@
dnl
kernel_compiler_type=`echo $kernel_compiler | cut -d ' ' -f 1`
kernel_compiler_version=`echo $kernel_compiler | cut -d ' ' -f 2`
+case "$kernel_compiler_type" in
+gcc-*)
+ kernel_compiler_type="gcc"
+ ;;
+esac
case "$kernel_compiler_version" in
egcs-*)
kernel_compiler_type="egcs"
kernel_compiler_version=`echo "$kernel_compiler_version" | cut -b 6-`
- ;;
+ ;;
esac
case "$my_compiler" in
gcc-*)
@@ -325,6 +332,7 @@
])
dnl Check kernel headers for 2.2
+CHECK_KERNEL_HEADER(linux/compiler.h)
CHECK_KERNEL_HEADER(linux/pm.h)
CHECK_KERNEL_HEADER(linux/spinlock.h)
CHECK_KERNEL_HEADER(linux/irq.h)
-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog