Linux: Don't waste autoconf checks on cpp defines
authorSimon Wilkinson <sxw@inf.ed.ac.uk>
Tue, 27 Apr 2010 16:49:19 +0000 (17:49 +0100)
committerDerrick Brashear <shadow@dementia.org>
Tue, 27 Apr 2010 19:27:12 +0000 (12:27 -0700)
commita8cc8dbbe53a4764dcd355cf1080f497cb8f5d2e
tree49a356a91ecbcc489450a3c145d7389388f72c1e
parenta89d6b029d059d01b8bbfc18b9ee6e3f5a964b85
Linux: Don't waste autoconf checks on cpp defines

If something is a #define, then there's no point in doing a test
compile to check for its presence. Instead, just do #if defined(X)

Remove the tests for for_each_process and prev_task.

Change-Id: Id8a9fddf2571cccd5d61982d4662bce2009c8f43
Reviewed-on: http://gerrit.openafs.org/1855
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
acinclude.m4
src/afs/LINUX/osi_gcpags.c
src/afs/LINUX24/osi_gcpags.c
src/afs/LINUX24/osi_module.c
src/cf/linux-test4.m4