add mising $ and recognize adeos patched kernels
authorFrank Mori Hess <fmhess@speakeasy.net>
Sun, 29 Feb 2004 22:51:23 +0000 (22:51 +0000)
committerFrank Mori Hess <fmhess@speakeasy.net>
Sun, 29 Feb 2004 22:51:23 +0000 (22:51 +0000)
m4/rtai.m4

index 17e19fab393f8e05786cc795cf81b14f5df44188..53f9c509664a2621c3ce2f00bf6fe4af12b650c8 100644 (file)
@@ -9,13 +9,13 @@ AC_DEFUN([DS_RTAI],
 
        AS_LINUX_CONFIG_OPTION_MODULE([CONFIG_RTHAL])
 
-       if test "${CONFIG_RTHAL}" != "no" ; then
+       if test "${CONFIG_RTHAL}" != "no" -o "${CONFIG_ADEOS} != "no" ; then
                AC_MSG_CHECKING([RTAI directory ${RTAI_DIR}])
                if [[ -d ${RTAI_DIR}/include ]] ; then
                        RTAI_CFLAGS="-I${RTAI_DIR}/include"
                else
                        if [[ -d ${RTAI_DIR}/rtai-core/include ]] ; then
-                               RTAI_CFLAGS=" -I{RTAI_DIR} -I${RTAI_DIR}/rtai-core/include"
+                               RTAI_CFLAGS=" -I${RTAI_DIR} -I${RTAI_DIR}/rtai-core/include"
                        else
                                AC_MSG_ERROR([incorrect RTAI directory?])
                        fi