arla-0.34.5
Dave Morrison
dave at bnl.gov
Wed Oct 18 19:01:42 CEST 2000
Love,
I've noticed one small problem with this minor release - the test for
HAVE_INIT_WAITQUEUE_HEAD on linux (2.2.18preX) won't work properly
unless the AC_TRY_COMPILE_KERNEL in
cf/linux-func-init-wait-queue-head.m4 includes linux/stddef.h. NULL is
undefined otherwise and the test always fails. There may be better ways
to fix this, but here's one patch that seems to work.
--- arla-0.34.5/cf/linux-func-init-wait-queue-head.m4 Sun May 16
19:21:54 1999+++
arla-0.34.5.modified/cf/linux-func-init-wait-queue-head.m4 Wed Oct 18
12:56:06 2000
@@ -5,7 +5,9 @@
AC_DEFUN(AC_LINUX_FUNC_INIT_WAITQUEUE_HEAD, [
AC_CACHE_CHECK([for init_waitqueue_head],
ac_cv_func_init_waitqueue_head,[
-AC_TRY_COMPILE_KERNEL([#include <linux/wait.h>],
+AC_TRY_COMPILE_KERNEL([
+#include <linux/stddef.h>
+#include <linux/wait.h>],
[wait_queue_head_t foo;
init_waitqueue_head(&foo)],
ac_cv_func_init_waitqueue_head=yes,
Cheers,
Dave
--
David Morrison Brookhaven National Laboratory phone: 631-344-5840
Physics Department, Bldg 510 C fax: 631-344-3253
Upton, NY 11973-5000 email: dave at bnl.gov
More information about the Arla-drinkers
mailing list