From: David Schleef Date: Wed, 2 Jul 2003 22:58:01 +0000 (+0000) Subject: Simple patch to get Comedi to compile with the experimential version of RTAI. X-Git-Tag: r0_7_69~306 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b05bdc12ac296f23e505874ea425f84ab95a813e;p=comedi.git Simple patch to get Comedi to compile with the experimential version of RTAI. --- diff --git a/scripts/dep.rtai b/scripts/dep.rtai index 7e13864e..46ff84d7 100755 --- a/scripts/dep.rtai +++ b/scripts/dep.rtai @@ -13,6 +13,12 @@ if [ "$CONFIG_RTHAL" != "" ];then if [ -d ${RTAIDIR}/include ];then echo RTAIDIR=$RTAIDIR >>.buildvars echo CFLAGS += -I $RTAIDIR/include >>.buildvars + else + if [ -d ${RTAIDIR}/rtai-core/include ];then + echo RTAIDIR=$RTAIDIR >>.buildvars + echo CFLAGS += -I $RTAIDIR >>.buildvars + echo CFLAGS += -I $RTAIDIR/rtai-core/include >>.buildvars + fi fi export RTAIDIR fi