One of our hppa guys gave this patch to me and told me it was necessary to fix
hppa compiles. Let me know if there's a problem with it, and I'll bug him.
Created attachment 443 [details] [review]
Credit to Guy Martin <firstname.lastname@example.org>.
Please adjust the test from
#if defined(hpux) || defined __hppa__
Otherwise, this change may break builds on HP-UX.
If other patches have gone in that simply substitute
__hppa__ for hpux, we'll need to look at those as well.
This brings up another side issue. It appears that
"HPArchitecture" in the config files has been overloaded.
Historically, it was used for HP-UX builds, but it looks
like it is now being used to denote builds on HP-PA
architectures (see Imake.cf, linux.cf). Sometime in
the future, we should reexamine this and see if we need
to make any changes so that both builds can co-exist
in the same tree.
Guy, can you please add an updated patch reflecting the above comments? I don't
have any access to Linux at the moment.
I've made these changes and checked them in.