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)
committerRuss Allbery <rra@stanford.edu>
Wed, 23 Feb 2011 02:23:19 +0000 (18:23 -0800)
commita9ca625ba761d28a54bf817438cb9d42eb421672
treebf2a1f81654131aa2245411f54594b618366ff4f
parent62c7e0b01e225708f525a9e6019fa11531b06aa4
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.

Reviewed-on: http://gerrit.openafs.org/3769
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
(cherry picked from commit ca38c9546e323b59189670b80740510fb9ec5269)

Change-Id: I8798e103b2aff77b87684b7fce56c730f0a74b8b
[andersk@mit.edu: Remove modifications of existing tests]
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Reviewed-on: http://gerrit.openafs.org/3996
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Russ Allbery <rra@stanford.edu>
src/cf/linux-test1.m4
src/cf/linux-test4.m4