Linux: allow compile flags to be passed to AC_CHECK_LINUX_BUILD
authorMarc Dionne <marc.c.dionne@gmail.com>
Sat, 29 Jan 2011 00:03:39 +0000 (19:03 -0500)
committerDerrick Brashear <shadow@dementia.org>
Wed, 9 Feb 2011 02:58:20 +0000 (18:58 -0800)
commitca38c9546e323b59189670b80740510fb9ec5269
tree11eb12930774b1ff6751b16c78ede0709ac44f4a
parentf47487db051ba6b51ae12daf7edc09ecfd3c38cd
Linux: allow compile flags to be passed to AC_CHECK_LINUX_BUILD

Some linux autoconf tests require particular compile flags such as
-Werror.  Add a parameter to the AC_CHECK_LINUX_BUILD macro that
lets the caller pass in any needed special flags.

Adapt a few existing tests that were still using AC_TRY_KBUILD
directly.

Change-Id: I4a5e3db74f6fb9c35bfa7b2964a294f646e78626
Reviewed-on: http://gerrit.openafs.org/3769
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
src/cf/linux-test1.m4
src/cf/linux-test4.m4