On Mon, 30 Apr 2012, Robert Millan wrote:
2012/4/30 Benjamin Kaduk <firstname.lastname@example.org>:
Getting the right bits in the config/param.*.h files is not too hard, but it
seems there are many places in the OpenAFS source tree which use __linux__
as a proxy for GNU userland or some other particular userland feature, and
these would need to be replaced with proper configure feature checks.
There's also __GLIBC__, FWIW.
Thanks, I'll keep that in mind.
Of course, now that I actually go back and look, the condition I was
stumbling on was not actually __linux__ but rather AFS_LINUX20_ENV, which
is an OpenAFS-internal definition, but is only supposed to be used in
So that's where the "configure feature checks" part I was remembering was
Milan, if you want to press on with things, I can send you the patches I
came up with ... I am defending my Ph.D. thesis in a couple weeks, and I
may have more time to return to things like this after that is done.