Dear RTNet users,
I'm posting here a patch to configure.ac (rev 1187 from svn of 10
minutes ago) that allows to detect realtime select support in RTAI.
I hope this can be considered for inclusion in the main trunk.
Sincerely, p.
Index: configure.ac
===================================================================
--- configure.ac (revision 1187)
+++ configure.ac (working copy)
@@ -1264,10 +1264,17 @@
fi
AC_MSG_CHECKING([whether to enable select-like support])
-if test "$CONFIG_XENO_OPT_RTDM_SELECT" = "y"; then
+CONFIG_RTDM_SELECT=n
+CONFIG_RTDM_SELECT_WHO=
+if test "$RTAI_DIR" \!= "" -a "$CONFIG_RTAI_RTDM_SELECT" = "y"; then
+ CONFIG_RTDM_SELECT=y
+elif test "$XENO_DIR" \!= "" -a "$CONFIG_XENO_OPT_RTDM_SELECT" = "y"; then
+ CONFIG_RTDM_SELECT=y
+fi
+if test "$CONFIG_RTDM_SELECT" = "y"; then
AC_DEFINE(CONFIG_RTNET_SELECT_SUPPORT, 1, [Select support])
fi
-AC_MSG_RESULT([${CONFIG_XENO_OPT_RTDM_SELECT:-n}])
+AC_MSG_RESULT([${CONFIG_RTDM_SELECT:-n}])
dnl ======================================================================
dnl hac^H^H^Hfix problem with multible defined symbols problem
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
RTnet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rtnet-users