From 52571e80f883d90d5c1c2c6a7b8694e7552cb4cd Mon Sep 17 00:00:00 2001 From: Frank Mori Hess Date: Wed, 19 Apr 2006 02:07:16 +0000 Subject: [PATCH] Added option to force disabling of RTAI support, based on patch from blg@mast.queensu.ca (Ben Gardiner). --- configure.ac | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 04335996..0da9c48a 100644 --- a/configure.ac +++ b/configure.ac @@ -41,7 +41,14 @@ fi AS_LINUX() AS_LINUX_MODTOOL() -DS_RTAI([USE_RTAI=yes],[USE_RTAI=no]) +AC_ARG_ENABLE([rtai], [ --disable-rtai disable use of rtai], + [ENABLE_RTAI=$enableval], [ENABLE_RTAI="yes"]) +DS_RTAI([HAVE_RTAI=yes],[HAVE_RTAI=no]) +if test "$HAVE_RTAI" == "yes" -a "$ENABLE_RTAI" == "yes"; then + USE_RTAI="yes" +else + USE_RTAI="no" +fi DS_RTLINUX([USE_RTLINUX=yes],[USE_RTLINUX=no]) AM_CONDITIONAL([CONFIG_COMEDI_RT], [test ${USE_RTAI} = "yes" -o ${USE_RTLINUX} = "yes"]) -- 2.26.2