From: Wolfgang Grandegger <[email protected]>

Signed-off-by: Wolfgang Grandegger <[email protected]>
---
 configure.ac |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/configure.ac b/configure.ac
index b95a805..c50811e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -413,7 +413,7 @@ case "${RTEXT_LINUX_VERSION}" in
             AC_MSG_ERROR([*** Unsupported kernel version $RTEXT_LINUX_VERSION 
- please upgrade at least to 2.4.19])
         fi
         ;;
-    2.6.*)
+    2.6.*|3.*)
         ;;
     *)
         AC_MSG_ERROR([*** Unsupported kernel version $RTEXT_LINUX_VERSION])
@@ -426,7 +426,7 @@ dnl 
======================================================================
 dnl             import settings from RT-extensions
 dnl ======================================================================
 
-# kbuild (linux 2.6) or not
+# kbuild (linux 2.6/3) or not
 case "${RTEXT_LINUX_VERSION}" in
     2.4.*)
         unset CONFIG_KBUILD
@@ -440,7 +440,7 @@ case "${RTEXT_LINUX_VERSION}" in
         unset CONFIG_KBUILD_LEGACY
         MODULE_SYMVERS=Modules.symvers
         ;;
-    2.6.*)
+    2.6.*|3.*)
         CONFIG_KBUILD=y
         unset CONFIG_KBUILD_LEGACY
         MODULE_SYMVERS=Module.symvers
@@ -581,7 +581,7 @@ AC_SUBST(CROSS_COMPILE)
 
 
 dnl ======================================================================
-dnl             decide to build for 2.4 or 2.6 kernel
+dnl             decide to build for 2.4 or 2.6/3 kernel
 dnl ======================================================================
 
 if test x$CONFIG_KBUILD = x; then
@@ -684,7 +684,7 @@ CPPFLAGS="${ac_save_CPPFLAGS} -D__KERNEL__ 
-I${RTEXT_LINUX_DIR}/include ${RTEXT_
 # headers, depending on the RTAI version which has been
 # identified. (rpm)
 
-if test "${CONFIG_KBUILD}" = "y"; then  # building against linux-2.6
+if test "${CONFIG_KBUILD}" = "y"; then  # building against linux-2.6/3
     BS_CHECK_KHEADERS([rtdm/rtdm_driver.h],
         [],
         [AC_MSG_ERROR([*** header not found or working, please check 
RT-extension installation])],
@@ -1437,7 +1437,7 @@ AC_DEFINE_UNQUOTED(RTNET_RTDM_VER,
 
 
 dnl ======================================================================
-dnl             create links to Makefiles used by linux-2.6.x
+dnl             create links to Makefiles used by linux 2.6.x or 3.x.x
 dnl ======================================================================
 
 if test x$CONFIG_KBUILD = xy; then
-- 
1.7.4.1


------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
RTnet-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rtnet-developers

Reply via email to