Linux: Macroise kernel function autoconf tests
authorSimon Wilkinson <sxw@inf.ed.ac.uk>
Mon, 26 Apr 2010 22:54:05 +0000 (23:54 +0100)
committerDerrick Brashear <shadow@dementia.org>
Tue, 27 Apr 2010 19:22:59 +0000 (12:22 -0700)
commit6fc3ac36701cd64736b784e99184c504fa4226f4
treed0f9280753ffd947ebfc913728bf20a258ec7d4c
parenteef18466d920985c37ed8d22a6557b609c6225a6
Linux: Macroise kernel function autoconf tests

We spend a lot of time in autoconf checking to see if kernel
functions are available. Rather than copying and pasting the same
code everytime we do so, create a macro to do function tests, and
use that macro. This results in standardised naming, so change all
of the places that use autoconf results to use the same standardised
names.

Change-Id: I36212e6c28c4b8455f859da1bbf3e456a2aabc07
Reviewed-on: http://gerrit.openafs.org/1849
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
15 files changed:
acinclude.m4
src/afs/LINUX/osi_compat.h
src/afs/LINUX/osi_fetchstore.c
src/afs/LINUX/osi_gcpags.c
src/afs/LINUX/osi_groups.c
src/afs/LINUX/osi_machdep.h
src/afs/LINUX/osi_vfsops.c
src/afs/LINUX/osi_vnodeops.c
src/afs/LINUX24/osi_gcpags.c
src/afs/LINUX24/osi_machdep.h
src/afs/LINUX24/osi_vfsops.c
src/afs/LINUX24/osi_vnodeops.c
src/afs/afs_user.c
src/cf/linux-test1.m4
src/cf/linux-test4.m4