Add class / device portability code. Two autoconf tests

were added to cover the 3 possible APIs from 2.6.9 to
2.6.26.  We attempt to use the newest interfaces and if
not available fallback to the oldest.  This a rework of
some changes proposed by Ricardo for RHEL4.



git-svn-id: https://outreach.scidac.gov/svn/spl/trunk@150 7e1ea52c-4ff2-0310-8f11-9dd32ca42a1c
This commit is contained in:
behlendo
2008-08-10 03:50:36 +00:00
parent 877a32e91e
commit 46c685d0c4
8 changed files with 103 additions and 44 deletions
+2
View File
@@ -52,6 +52,8 @@ SPL_AC_PATH_IN_NAMEIDATA
SPL_AC_TASK_CURR
SPL_AC_CTL_UNNUMBERED
SPL_AC_FLS64
SPL_AC_DEVICE_CREATE
SPL_AC_CLASS_DEVICE_CREATE
TOPDIR=`/bin/pwd`