From: Frank Mori Hess Date: Thu, 15 Dec 2005 00:01:18 +0000 (+0000) Subject: Patch from "Andreas Leuner" : X-Git-Tag: r0_7_71~103 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=62bb8c81731b3434b75870d7744ed71972629e72;p=comedi.git Patch from "Andreas Leuner" : I have modified the rtai.m4 script locally to recognize a kernel with ipipe support. With this the generated configure script detects ipipe support and activates RTAI support. The so modified comedi compiles fine and modules load without any crashes. However I haven't tested the result with real daq hardware yet. --- diff --git a/m4/rtai.m4 b/m4/rtai.m4 index 0b23e21a..a3d4e3f6 100644 --- a/m4/rtai.m4 +++ b/m4/rtai.m4 @@ -9,8 +9,9 @@ AC_DEFUN([DS_RTAI], AS_LINUX_CONFIG_OPTION_MODULE([CONFIG_RTHAL]) AS_LINUX_CONFIG_OPTION_MODULE([CONFIG_ADEOS]) - - if test "${CONFIG_RTHAL}" != "no" -o "${CONFIG_ADEOS}" != "no" ; then + AS_LINUX_CONFIG_OPTION_MODULE([CONFIG_IPIPE]) + + if test "${CONFIG_RTHAL}" != "no" -o "${CONFIG_ADEOS}" != "no" -o "${CONFIG_IPIPE}" != "no" ; then AC_MSG_CHECKING([RTAI directory ${RTAI_DIR}]) if [[ -d ${RTAI_DIR}/include ]] ; then RTAI_CFLAGS="-I${RTAI_DIR}/include"