Update of /cvsroot/alsa/alsa-driver
In directory sc8-pr-cvs1:/tmp/cvs-serv29166
Modified Files:
configure.in
Log Message:
fixed the detection of strlcpy() and the new request_module().
Index: configure.in
===================================================================
RCS file: /cvsroot/alsa/alsa-driver/configure.in,v
retrieving revision 1.189
retrieving revision 1.190
diff -u -r1.189 -r1.190
--- configure.in 9 Sep 2003 18:08:42 -0000 1.189
+++ configure.in 24 Sep 2003 16:39:12 -0000 1.190
@@ -930,6 +930,7 @@
#define __KERNEL__
#include "$CONFIG_SND_KERNELDIR/include/linux/config.h"
#include "$CONFIG_SND_KERNELDIR/include/linux/kernel.h"
+#include "$CONFIG_SND_KERNELDIR/include/linux/string.h"
],[
char buf[128];
strlcpy(buf, "abcd", sizeof(buf));
@@ -978,7 +979,7 @@
#define __KERNEL__
#include "$CONFIG_SND_KERNELDIR/include/linux/config.h"
#include "$CONFIG_SND_KERNELDIR/include/linux/time.h"
-#include "$CONFIG_SND_KERNELDIR/include/linux/slab.h"
+#include "$CONFIG_SND_KERNELDIR/include/linux/mm.h"
],[
struct page * (*func)(void*);
func = vmalloc_to_page;
@@ -1002,13 +1003,13 @@
AC_TRY_COMPILE([
#define __KERNEL__
#include "$CONFIG_SND_KERNELDIR/include/linux/config.h"
-#include "$CONFIG_SND_KERNELDIR/include/linux/module.h"
+#include "$CONFIG_SND_KERNELDIR/include/linux/kmod.h"
],[
- kmod("abcd", "def", "ixj");
+ request_module("abcd", "def", "ixj");
],
- AC_MSG_RESULT("yes");old_kmod="1",
AC_MSG_RESULT("no");old_kmod="0",
- AC_MSG_RESULT("unknown");old_kmod="0"
+ AC_MSG_RESULT("yes");old_kmod="1",
+ AC_MSG_RESULT("unknown");old_kmod="1"
)
CFLAGS=$ac_save_CFLAGS
CONFIG_HAVE_OLD_REQUEST_MODULE=$old_kmod
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog